You may receive the error "Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection" - Part I


Hi,

Choosing integrated authentication for ASP.NET applications is a good choice because no credentials are ever stored within your connection string for your application.

However, you may receive the error "Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection" while trying to use Integrated Windows Authentication and your application needs to access the SQL Server Database using Trusted Connection.

I have explained the resolution in the following article

http://harishmvp.blogspot.com/2005/05/you-may-receive-error-login-failed-for.html

Thanks.
regards,
Harish

http://geekswithblogs.net/ranganh
0
ranganh
5/25/2005 11:44:41 AM
asp.net.announcements 2378 articles. 1 followers. Follow

0 Replies
646 Views

Similar Articles

[PageSpeed] 35

Reply: