I recently put a new asp.net website up into production and set the IIS asp.net service from 2.0 (default) to 4.0 and restarted the WWW service. Now however the website does not seem to read aspx files, when attempting to load Default.aspx, i get 404 file not found error - however loading some .html or .txt files will display the file correctly. The script maps is correctly generated i.e. i do see .aspx under the script maps pointing to the correct isapi.dll under 4.0 framework. What could possibly be the issue?
feedback
|
migrated from stackoverflow.com Jul 12 '11 at 17:24
This question came from our site for professional and enthusiast programmers.
|
If you are seeing this behavior for all .aspx pages, are you sure you have ASP.NET 4.0 installed? You could try running On Windows7 64 bit the default install location is: and for 32 bit it should be: | |||
|
feedback
|
|
Usually, I use Failed Request Tracing, together with Process Monitor to hunt these kind of issues. With these tools, you can monitor the request as it runs through IIS as well as seeing whether your physical file actually gets requested or not (I had similar issues before where 404 simply meens "Not allowed to get these type of files"). | |||
|
feedback
|
|
hi use separate pool for all deployed site if you are use IIS 6, because 4.0 must use with separate pool. | |||
|
feedback
|