IIS服务器下ASP程序的配置问题-URL Rewriting && Multiple Site ID
两个IIS服务器下ASP程序的配置问题1,错误:This collection already contains an address with scheme http. There can be at most one address per scheme in this collection.
分析:这时你的IIS服务器可能为一个ASP.NET程序分配了两个不同的URL,会导致这个错误。
检查你的网站 Properties->Advanced->Multiple ID for the web site.
如果你发现了两个或多个URL,将不必要的删掉。Recycle程序pool。问题应当得到解决。
2,错误: URL rewriting中,IIS服务器不能理解重写的URL。
分析:这时需要配置你的服务器,Properties->Base directory(répertoire de base)->Configuration->Application mappings(Mappage d'application génériques)->Mapping->Insert(C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll)并且去掉验证文件的存在的对勾。
页:
[1]