Login failed for user 'UserName'

Discussion in 'Databases' started by colorado, Jul 1, 2010.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hello,

    How can i add ASPNET account to my SQL login in discountasp.

    I'm receiving the error: Login failed for 'user' and from my research, i'm learning its because ASPNET or Network Service has no access to my database.

    Pls help !
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    What you are talking about is Integrated Security which we do not support. Your connection string is probably wrong.

    Post your connection string if you still have problem.
     
  3. Hi Bruce,

    My connection string was not wrong. I've resolved the issue anyway. I changed my method of accessing the database and it worked!

    Thanks
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page