简体   繁体   中英

problems with correct update to .net 4.0 on win2003

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 reboot 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM