integrated security and using NT credentials vs. ASP.NET

B

beaverduck

My connection string is set to use integrated security. When I try to
log into my data source via my asp.net application, I get the
following error:

"Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection"

My NT login name is setup in the data source as a user and it has been
granted the necessary rights against the database objects.

I thinking that the default user name for asp.net application is the
asp.net machine account, and because the database does not have this
user established, I'm getting this permission error.

Does anyone know the best way to avoid this and have the credentials
of the logged in user be used via the integrated security connection
string?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top