Monday, January 26, 2009

Login failed for user 'Server\ASPNET'.



Do anybody know how to solve it.
Thanks

4 comments:

  1. Finally I found out the solution.
    it is very simple you need to add a new user
    '[ServerName]\ASPNET' to the database and need to give the access. simple.

    Follow this step.
    1.Open Management Studio.
    2. Right click [Database](your db)>> select 'Properties', >> Permissions >> Add user >> enter ur user and check all the checkboxes below. >> OK
    you are done

    ReplyDelete
  2. it is right , after creating user u have to select your database name which will give u permission

    ReplyDelete
  3. Hi I am zakir, from Bangladesh.
    Its nice solution and very simple.
    Thanks a lot.

    - zakir.

    ReplyDelete
  4. nice solution by giving all rightss

    ReplyDelete