简体   繁体   English

在IIS6上运行ASP.NET Apps

[英]Running ASP.NET Apps on IIS6

I have a .NET 2.0 ASP.NET app built using VS2013. 我有一个使用VS2013构建的.NET 2.0 ASP.NET应用程序。 It runs fine on IIS7.5/Windows7 in a .NET 2 Classic Pipeline App Pool. 它在.NET 2经典管道应用程序池中的IIS7.5 / Windows7上运行良好。 However when I try to run it on IIS6/Windows 2003 server I get 404 Page Not Found. 但是,当我尝试在IIS6 / Windows 2003服务器上运行它时,却显示404页面未找到。

I have installed .NET 2 (+SP2) on the Windows2003 server of course, as well as registering with IIS using aspnet_regiis -i. 我当然已经在Windows2003服务器上安装了.NET 2(+ SP2),以及使用aspnet_regiis -i向IIS注册。 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. 我已经检查了文件系统权限,并确认IUSR_ *帐户可以访问Web应用程序文件。 The authentication type for the app is 'None'. 该应用程序的身份验证类型为“无”。 The default page list includes Default.aspx which is correct. 默认页面列表包括Default.aspx,这是正确的。

It's seems ASP.NET isn't kicking in, what am I missing? 似乎ASP.NET没有启动,我还缺少什么?

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

Turns out I had neglected to allow the ASP.NET Web Service Extension: 原来我忽略了允许ASP.NET Web服务扩展:

IIS 6.0 Serves .html and .asp, but not .aspx IIS 6.0提供.html和.asp,但不提供.aspx

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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