IIS 7 and Above
IIS 7 not serving aspx pages
Last post Oct 19, 2010 10:02 AM by usamaalam
Oct 14, 2010 01:09 PM|usamaalam|LINK
Oct 14, 2010 02:50 PM|Hades666|LINK
1. Did you install ASP.NET Services. from the Server Manager, Select Web Server (IIS), then browse to IIS services and add the module ASP.NET is selected.
2. If you make an empty site and craete a test.aspx page containing on the text TEXT. Does this load?
3. Disable IE "Friendly HTTP Error Messages"
Go to “Tools > Internet Options”, choose the Advanced tab, and clear the “Show friendly HTTP error messages” checkbox. Then, close the browser, open it again, and re-request the page.
4. Detailed error logging
Try the following. From IIS Management, selecting your website/application/virtual directory in the left-hand tree view, clicking on the “Error Pages” icon, clicking “Edit Feature Settings” action, and then selecting “Detailed Errors”.
5. Did you convert your web.config to IIS7 format using
%systemroot%\system32\inetsrv\APPCMD.EXE migrate config
Oct 15, 2010 07:53 AM|usamaalam|LINK
1. I couldn't find ASP.NET in the services, however I found ASP.NET State Service that was stopped so I started it. Here's the screenshot.
2. There are two other asp.net websites running on the same box under IIS 7.
3. IE Friendly messages are already disabled.
4. When I went on .NET Error Pages screen, the list is empty. I clicked on Edit Feature Settings and a small window pops up. Under Mode, there are three options, "on", "off" and "remote only". "Remote only" is selected among the three. Default page
field is empty.
5. I didn't run this command, but before converting the configuration file, I ran the following command:
appcmd list config "site_name"
It says "Unrecognized element 'compilers'" on Line 22.
Should I remove this element?
Oct 18, 2010 10:16 PM|Leo Tang - MSFT|LINK
Could you please post the relevant IIS log entries here? IIS log files located in C:\inetpub\logs\LogFiles by default.
Have you tried re-build you application, you can also post the problem web.config here.
Oct 19, 2010 10:02 AM|usamaalam|LINK
The problem has been resolved. My aspx pages had redirection to 'https' however the website was not configured to use SSL. When I removed the redirection, it worked.