简体   繁体   中英

.NetFramework 4 on Windows 2003 Server with IIS6

I have a website for .net-framework 3.5 with WebForms I am running it on two servers Windows 2008 R2 server with IIS7.5 And Windows 2003 Server with IIS6

On IIS7.5, when I run my website under .NetFramework 3.5 or 4, it runs fine. On IIS6, when I run my website under .NetFramework 3.5 it works fine, but when I run it under 4.0, I get 404 errors and site doesn't work.

What could be wrong? How to fix this?

try

cscript c:\windows\system32\iisext.vbs /EnFile C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll

After executing this your .NET 4 apps shouldn't show any 404 errors anymore... Windows 2003 should at least have SP1 installed for this...

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