开发者

Clean install of IIS 6 on Windows Server 2003 ignoring 'web.config'?

开发者 https://www.devze.com 2022-12-25 17:40 出处:网络
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

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).

Ha开发者_开发问答ving 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?


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).

0

精彩评论

暂无评论...
验证码 换一张
取 消