在经典ASP应用程序中请求MVC页面时获取404

时间:2022-08-29 01:54:49

Current Application Server Configuration:

当前Application Server配置:

  1. IIS 6.0
  2. Windows 2003 Server Standard Edition SP2
  3. Windows 2003 Server Standard Edition SP2

  4. .NET Framework 3.5 SP1
  5. .NET Framework 3.5 SP1

Current Application Architecture

当前的应用架构

  1. Classic ASP 3.0, referenced within HTML Frames
  2. 经典ASP 3.0,在HTML框架中引用

  3. A few ASP.NET Web Forms
  4. 一些ASP.NET Web窗体

  5. System.Web.Mvc.dll copied to Web Application bin folder
  6. System.Web.Mvc.dll复制到Web Application bin文件夹

To test the feasibility of gradually incorporating ASP.NET MVC into our existing architecture, I published an MVC application to the aforementioned classic ASP application folder. I put in a hyperlink to the MVC page from one of the standard .html pages and I get a 404 response, telling me the requested page does not exist. I am using the same relative link that is being used on my local machine, which works fine.

为了测试将ASP.NET MVC逐步纳入我们现有架构的可行性,我将MVC应用程序发布到上述经典ASP应用程序文件夹中。我从一个标准的.html页面输入了一个指向MVC页面的超链接,我得到一个404响应,告诉我所请求的页面不存在。我正在使用在本地计算机上使用的相同的相对链接,这可以正常工作。

Any pointers would be much appreciated.

任何指针都将非常感激。

Thanks.

1 个解决方案

#1


Answered here ASP.NET MVC on IIS6

这里回答了IIS6上的ASP.NET MVC

#1


Answered here ASP.NET MVC on IIS6

这里回答了IIS6上的ASP.NET MVC