ASP error

Results 1 to 3 of 3

Thread: ASP error

  1. #1
    Join Date
    Dec 1969

    Default ASP error

    I get this error message when I try to check a connection to SQL server:<BR><BR>Error Type:<BR>Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)<BR>[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user &#039;AMIRIUSR_AMIR&#039;.<BR>/Project7/1.asp, line 11<BR><BR><BR>the script is :<BR><BR>&#060;% <BR><BR> set con = server.CreateObject("adodb.connection")<BR> con.Open "dsn=forum"<BR> set rs = server.CreateObject("adodb.recordset")<BR> rs.Open "customers",con,3,3<BR><BR>if con.State = 1 then <BR>Response.Write "hellow"<BR>else<BR>Response.Write "hi"<BR>end if <BR>%&#062;<BR><BR>thank&#039;s for any help!

  2. #2
    Ed Guest

    Default RE: ASP error

    I&#039;m assuming line 11 is your connection... Something is wrong with your User login id... Check that, this is not a problem in your ASP code...

  3. #3
    Join Date
    Dec 1969

    Default RE: ASP error

    how do I check that ? I don&#039;t konw much about users ID&#039;s and security.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts