简体   繁体   中英

Running ASP.NET Apps on IIS6

I have a .NET 2.0 ASP.NET app built using VS2013. It runs fine on IIS7.5/Windows7 in a .NET 2 Classic Pipeline App Pool. However when I try to run it on IIS6/Windows 2003 server I get 404 Page Not Found.

I have installed .NET 2 (+SP2) on the Windows2003 server of course, as well as registering with IIS using aspnet_regiis -i. I have set the framework version of the app accordingly. I have checked the file system permissions and confirmed that the IUSR_* account can access the web app files. The authentication type for the app is 'None'. The default page list includes Default.aspx which is correct.

It's seems ASP.NET isn't kicking in, what am I missing?

在此处输入图片说明 在此处输入图片说明 在此处输入图片说明 在此处输入图片说明 在此处输入图片说明

Turns out I had neglected to allow the ASP.NET Web Service Extension:

IIS 6.0 Serves .html and .asp, but not .aspx

在此处输入图片说明

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