Friday, 27 April 2012

ASP.net Error Insufficient Privilege


Some time when we invoke a web page in browser may end up in this Server Unavailable error. Same code code execute fine from the visual studio but it wont work after deploying in the server. In this situation please check to see the eventviewer for the error in the deployed server.

Web page Error: Server Unavailable
Event Viewer: aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid.

Resolution:
1)      Open the “Machine.Config” in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG
2)      Add the UserName=”SYSTEM’ in <ProcessModel> tag.

This worked fine for me and I have resolved this error.

No comments:

Post a Comment