Debugging in VS2008 using IIS 7.5

Leave a comment

This may sound quite simplistic, but took me some time to find out.  If for some reason the default server of VS is not working with your application, you can run your website on your local IIS and then attach a process (CTRL+Alt+P) within VS.  The process is called w3wp.exe and VS should start debugging normally

Login failed for user ‘IIS APPPOOL\’

4 Comments

After about 4 hours battling with this error, and wondering why my website could not load, I managed to figure out what the problem was!  Since I have installed a trial version of Windows 7, IIS 7.5 works differently from Vista’s IIS 7.

So I did the following procedure to get rid of the error and now my website is up and running again on my localhost

  • go into Internet Information Services (IIS) Manager
  • expand node with your computer name on left side and select “Application Pools”
  • now in the window on the right side, right click “Classic .NET AppPool” and select “Advanced Settings…”
  • find “Identity” property and change its value to “LocalSystem”

That solved the problem!

Follow

Get every new post delivered to your Inbox.