By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,948 Members | 1,078 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,948 IT Pros & Developers. It's quick & easy.

Login failed for user '(null)'. vs

P: n/a
ASP.NET vs SQL Serverž

I have an ASP.NET Application
In IIS I checked the Integrated Windows Authentication

In Web.Config the connection string include Integrated
Security = SSPI
and Impersonate=true in Web.Config

When I start then Web Application I have this messge
Login failed for user '(null)'. Reason: Not associated
with a trusted SQL Server connection.
Could you help me

PS My account have the permission to connect to SQl Server

the security model is base on role security
I have many users

Jul 19 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a
Try unchecking the anonymous access check box in IIS .

Jul 19 '05 #2

P: n/a

This should fix it (ASP.NET won't impersonate if you have IIS allowing
anonymous access first) but if you still have the issue, turn on SQL
Profiler and trace the failed login.



"Preeti" <pr*****> wrote in message
Try unchecking the anonymous access check box in IIS .

Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.