Clean install of IIS 6 on Windows Server 2003 ignoring 'web.config'?
Any help with this would be really appreciated!
As the title suggests, I'm running a brand new install of Windows Server 2003 and IIS 6 and I'm basically attempting to mirror a live web server onto a new internal development server, which runs the same setup.
It's an ASP.NET site that relies heavily on URL rewriting (using Intelligencia). ASP.NET is set to run on v2.0.50727 on both servers. I've tried intentionally introduce syntax errors into the web.config and it just appears to be ignoring them completely, so given IIS 6 doesn't read the web.config, the rest of the site doesn't work at all (I get a 404 error, as a 'Default.aspx' doesn't exist since the web.config handles the default page rewriting).
Having looked at the Application Mapping, '.config' files are set to use the default 'c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll' which exists.
Is there anything else I may be missing?
Thanks in advance.
Have you run aspnet_regiis.exe? It is in the windows\Microsoft.NET\Framework\v2.0.50727 folder.
If this is a clean install of IIS 6 that happened after the framework was installed, you will need to register it with IIS.
As in my reply to Axarydax, I'd misconfigured the directory structure.
That partly resolved this but Intelligencia wasn't working either, so to fix this I had to uncheck "Verify that file exists" in Extension Mapping for the Wildcard application map (under Configuration on the Home Directory tab).