If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > ASP Error-Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-26-06, 02:25
graceson graceson is offline
Registered User
 
Join Date: Mar 2004
Location: India
Posts: 56
ASP Error-Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

Dear friends,

I am trying to connect SQL server 2000 with ASP through the DSN.My connection string is defined in global.asa file.While browsing the site I am getting folowing error.Please help me. I am sure that you can help me.

Error Type:
Microsoft OLE DB Provider for SQL Server (0x80040E4D)
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
//global.asa, line 12


Please check the following connection string which i am using in global.aso
Set cn = Server.CreateObject("ADODB.Connection")
--------------- provstr2= "PROVIDER=MSDASQL;dsn=CEC_Cal;uid=Administrator;pw d=servoking;database=calender;"
cn.Mode=adModeReadWrite
cn.Open provstr2
-----------------------------------


Hopes for the Best..Thank you


Graceson Mathew
Reply With Quote
  #2 (permalink)  
Old 08-18-06, 21:14
buzzter66 buzzter66 is offline
Registered User
 
Join Date: Nov 2002
Location: Houston, Texas
Posts: 85
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On