Logon-problems with asp to SQL-Database
am 01.02.2006 15:57:49 von Robert FaulknerHi,
i want to connect my asp-application to a database running on a ms-sql-2000-server. These application is running only in our intranet. I've selected on the SQL-Server and on the IIS the Windows- Authentification. If I connect MS-Access with the DSN to the database, it works without problems. The NTFS-Authentification to the application is also no problem. But I can't connect the ASP-Application to the SQL-Database, caused by insufficient rights.
I got the following Error-Message:
Microsoft OLE DB Provider for ODBC Drivers error '80040e4d'
[Microsoft][ODBC SQL Server Driver][SQL Server]Fehler bei der Anmeldung für den Benutzer 'NT-AUTORITÄT\ANONYMOUS-ANMELDUNG'.
/lmk/test.asp, line 12
An extract of the code with the error:
strConn = "DSN=W2K08_LMK"
set conn = server.createobject("adodb.connection")
conn.open strConn
I'm logged in as Domain-admin! What`s wrong
Thanks!!
Kindly Regards Albert
From http://www.developmentnow.com/g/61_0_0_0_0_0/inetserver-asp- db.htm
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com