locked
SQL DataBase connection problem RRS feed

  • Question

  • User433556381 posted

    I am new to DAAB use. Tried to run my code but ran into the exception below

     The login failed.\r\nLogin failed for user 'NT AUTHORITY\\NETWORK SERVICE'." }

     My DB does not require any password or username for login. Anyone know what I can do to away from this??

    Saturday, January 5, 2008 1:13 AM

Answers

  • User-503940700 posted

    Hi,

    Check out these posts:

    http://www.netomatix.com/Development/aspnetuserpermissions.aspx 

    http://www.robisen.com/index.cfm/2006/12/15/Login-failed-for-user-NT-AUTHORITYNETWORK-SERVICE

    Hope this helps,

    Vivek 

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, January 5, 2008 5:09 AM

All replies

  • User-503940700 posted

    Hi,

    Check out these posts:

    http://www.netomatix.com/Development/aspnetuserpermissions.aspx 

    http://www.robisen.com/index.cfm/2006/12/15/Login-failed-for-user-NT-AUTHORITYNETWORK-SERVICE

    Hope this helps,

    Vivek 

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, January 5, 2008 5:09 AM
  • User-200424517 posted

    This message is not for your login user.

    I guess you work on webApplication and asp.net.

    this error occurs whent your asp user didn't access to DB.

    you should add this user to your database.

    regards

    ali

    Saturday, January 26, 2008 5:22 AM
  • User-1613101392 posted

    very useful links - they solved the same problem of mine

    Thursday, July 8, 2010 9:36 AM