Monday, September 23, 2013

Not able to debug ASP.Net MVC application after windows password change

Some days back, I got a request from one of the team members to solve one issue in his machine. It was simple. He changed his windows login password. After that he is not able to debug ASP.Net MVC application. If he really understands about how his development environment is set up or he know how to google, this would not happen. As of him he gets the below error message when he try to debug MVC 4 application from Visual Studio. Immediately he shared his screen to me.
"Unable to start debugging on the web server. Could not start ASP.NET debugging. More information may be available by starting the project without debugging."
I had to start from the beginning such as how its running ? Is it from Visual Studio development server or IIS ? Its in IIS. So which app pool is been used? What is the identity of the application pool? We could see that its his windows login. Not the Network Service, ApplicationPool Identity or any other system accounts.

This gives the hint. He changed the windows password but he didn't updated the app pool identity. Updated the application pool identity with new password and things started working.

Happy debugging.

No comments: