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

URGENTT: Login failed for user '(null)'

JustRun
100+
P: 127
Hi ,

I use .NET 2.xx for developing an intranet site, The IIS (my application) on Server1 (Domain controller) the SQl server 2000 on Server2.
and both servers running through windows 2003.

I did the following steps,

1- Create Domain account on the Domain controller (Server1\ASPNET)
2- Made new login on the SQL, and created new user on the database I want to access, then I gave that user permissions to access my stored procedure and views.
User Name: Server1\ASPNET
Login Name: Server1\ASPNET
3- enabled the Network Service in the Temporary ASP.NET Files

Actually I did many other things that i can't remember just to make that application work
I still have that stubid error:
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection :(.

I'm wondering Should I replace ASPNET with NETWORKSERVICE cause it windows 2003 !!!

Please answer me I've spend 4 days trying to publish this site with no use !!
Mar 17 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.