Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 18, 2012 10:02 PM by uick383937
Nov 18, 2012 10:02 PM|LINK
I am setting up new Win 8 laptop. Have added IIS8 and .Net Framework 3.5 and4.5 using "add Windows features", and downloaded and installed VWS2008 Express, since I have used this tool extensively a on prior Vista laptop and have several websites targeted
to .NET2.0. VWS2008 actually targets to .NET 3.5 which is supposedly compatible with .NET 2.0.
When I create a new test website using VWS 2008. It tells me that "ASP.Net 2.0 has not been registered on the web server. You need to manually configure your web server for ASP.NET 2.0 in order for your site to run correctly"
I did change the .NET Framework version to v.2.0.50727 in the IIS root directory, which is my account name on this computer.
Question: if this doesn't "register" ASP.Net 2.0 on my IIS8 web server, what does?
So I ignore the warning, and it creates a site, but the web.config file seems grossly incompatible with the installed IIS8.
My attempt to run the default webpage created by VWS 2008 failed, first because it detected duplicate .config sections (the parent sites not allowing overrides of things like ScriptResourceHandler).
After resolving these problems, it reports that it cannot find my Default.aspx file. It can find and display a .htm file from the site. So the issue is with ASP.Net 2.0 running under IIS8. The error message (below) suggests that it attempted to handle
the .aspx file using static file handler. I looked at Handler Mappings in IIS Manager, and .aspx is not shown (shown are *.rules *.asmx *.svc *.xoml). Should *.aspx be on this list? Seems like that should be automatic, along with *.ascx , etc. Seems kind
of crazy to be manually adding a .aspx handler.
Any advice would be GREATLY appreciated.
Here is the error message