开发者

problems with correct update to .net 4.0 on win2003

开发者 https://www.devze.com 2022-12-27 00:56 出处:网络
Tried to test .net4rc1 site on test host with win2003. As expected by default server returned error about \" targetFramework=\"4.0\" in web.config. But since I switched ASP.NET version to 4.0 and rebo

Tried to test .net4rc1 site on test host with win2003. As expected by default server returned error about " targetFramework="4.0" in web.config. But since I switched ASP.NET version to 4.0 and rebo开发者_开发知识库ot that site just returning 404.

Whats wrong?)


Just found answer here.

Well, it turns out that just because you install .NET 4 on Windows 2003 Server, you’re not automatically allowed to use it i IIS! ... Just run the following command: cscript iisext.vbs /EnFile C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll

0

精彩评论

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