locked
Cannot open database "MurasalatDB" requested by the login. The login failed.Login failed for user 'NT AUTHORITY\SYSTEM'. RRS feed

  • Question

  • User-786564416 posted

    Using IIS Local Host as Custom Server. When I start debugging the website, I got the following error as a result of trying to connect to database MurasalatDB available on SQL Server on the local machine ALOMRAN\MURASALAT Server (The same computer ALOMRAN). The Error is:

    Cannot open database "MurasalatDB" requested by the login. The login failed. Login failed for user 'NT AUTHORITY\SYSTEM'

    The Website Murasalat on the IIS has the application pool Murasalat. Its application pool identity is LocalSystem

    The following are the related images:

    Image1:

    Image2:

    HOW CAN I FIX THE PROLEM?

    Sunday, November 19, 2017 9:18 PM

Answers

  • User-786564416 posted

    I solved it by changing the IIS Murasalat website application pool identity to [MachineName]/[Logonusername]

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, November 19, 2017 9:41 PM