IIS error Login failed for user 'IIS APPPOOL\DefaultAppPool' |
![]() |
![]() |
![]() |
Written by Tom | |||
If you are experiencing the IIS error Cannot open database "My_DB"requested by the login. Login failed for user 'IIS APPPOOL\DefaultAppPool' on the we application with a SQL databse, follow the below instructions to fix the issue.
2. In the IIS manager click on Sites>Default Web Site>My Website. You need these 3 steps to find out what application pool your web application is using
3. On your web application (or website) right click goto Manage Application>Advanced Settings...
4. In the next window you will can see the Application Pool
5. In the IIS manager window, click Application Pools
|