Debugging ASP.NET MVC in IIS
Some notes:
- Add IUSR and IIS_IUSRS for read access to project folder.
- Setup a virtual directory in IIS pointed to project folder.
- Change project settings to use Local IIS web server at same URL as mapped virtual directory.
- Clean & Rebuild solution.
- If connecting to database using integrated security, switch app pool identity to current user (Advanced Settings -> Identity).
- Optional: open up firewall for accessing site from other systems.
- If publishing from Visual Studio, make sure all images/css/scripts are included in the project so that they will be deployed.
No comments:
Post a Comment