Share via

Server Error in '/' Application, Login failed for user 'Doamin\user$'

2956 1 Reputation point
2022-01-17T19:24:52.427+00:00

I am migrating a web application from one server to another new server. Everything is fine until I publish the project on the new server. After I logon I get a server error in '/' Application. The error message is:
Server Error in '/' Application. Login failed for user 'Domain\user$'. An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

I could logon if I run my ASP project "start without debugging". Any clue to fix it? Thanks.

Windows development | Internet Information Services
Developer technologies | ASP.NET | Other

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 83,666 Reputation points
    2026-03-24T15:27:46.74+00:00

    On the old server check which account is used for the app pool and match on the new server. Also check the account used for anonymous access.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.