ASP + SQL 2000 + Win2k SP4
From: Sharon McCaughan (sharon_mccaughan_at_dell.com)
Date: 06/30/04
- Next message: Andy Ball: "Re: Repost + Alternative"
- Previous message: Mary Chipman: "Re: Access Pass through Query Executes Multiple Times"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 30 Jun 2004 08:51:52 -0700
Getting the following error when I try to connect to my website
Error starting session:
- cannot open connection to datastore.
- Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection.
OS is Windows 2000 and SP4 on both the IIS server and SQL server, SQL is
SQL 2000 sp3a
IIS Security for the vitual directory: Properties of TheMatrix virtual
directory
Edit 'Anonymouns access and Authentication Control'
disable annonymous access
enable Integrated windows authentication.
Connection string in_appStart.asp =
application("sADOConn") ="Provider=SQLOLEDB;" &_
"Initial Catalog=TheMatrix;" &_
"Data Source=sqlServerName;" &_
"Integrated Security=SSPI;"
There is a role for domain users to use giving them execute permissions
on all stProcs, then domain\users is added to the role.
SQL server is windows authentication
>From Query Analyser on my desktop, when I connect to the SQL server and
run 'select syste_user', my own user account in the domain is correctly
returned.
My application works fine (hopefully) but authentication to SQLServer
via delegation/impersonation is not set up correctly. It may
be a SP4 issue, can anybody please help me with this. It's really
important I get this working.
Many thanks.
Sharon
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: Andy Ball: "Re: Repost + Alternative"
- Previous message: Mary Chipman: "Re: Access Pass through Query Executes Multiple Times"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|