Please give your valuable suggestions and feedback to improve this article in the comments section.

Login failed for user 'IIS APPPOOL\User'



Login failed for user 'IIS APPPOOL\ASP.NET v4.0'. 
Description: 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. 

Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'IIS APPPOOL\ASP.NET v4.0'.


When we are calling to database through our programs, some times we will get Login failed for user 'IIS APPPOOL\User'. we can resolve this one using below small settings.

Open IIS 7 --> Application Pools (left side) --> select application pool --> open advance settings --->change  identity to localSystem.

Please refer below image for reference
IIS User login failed


Share this post :

Post a Comment

Please give your valiable feedback on this post. You can submit any ASP.NET articals here. We will post that articals in this website by your name.

Note: only a member of this blog may post a comment.

 
Support : Ranga Rajesh Kumar
Copyright © 2012. ASP.NET Examples - All Rights Reserved
Site Designed by Ranga Rajesh Kumar