简体   繁体   English

IIS8.5中的PHP站点内的Application中的ASPX页面不起作用

[英]ASPX pages not working in Application within PHP site in IIS8.5

I have WordPress setup in IIS8.5 and I'm trying to add a ASP.NET 4.0 site as a subfolder/application. 我在IIS8.5中安装了WordPress,并且试图将ASP.NET 4.0网站添加为子文件夹/应用程序。 The URL will look like this... 该网址将如下所示...

http://mydomain.com/myaspnetapp http://mydomain.com/myaspnetapp

I created the Application inside the WordPress site but I can't get the ASPX pages to work. 我在WordPress网站内创建了应用程序,但无法使ASPX页面正常工作。 I have run into many errors, but the latest one is this... 我遇到了很多错误,但最新的错误是...

HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler.

I have setup the Handler Mappings to inherit from the parent and it looks like the handlers are there, but I'm still getting this. 我已经设置了处理程序映射以从父级继承,并且看起来处理程序在那里,但是我仍然得到了它。 What am I missing? 我想念什么?

The error message is implying that the .Net isn't configured correctly in IIS. 该错误消息表示未在IIS中正确配置.Net。 Resulting in the static file handler trying to handle your .aspx requests. 导致静态文件处理程序尝试处理您的.aspx请求。 For me rerunning the asp.net IIS registration tool has solved the issue. 对我来说,重新运行asp.net IIS注册工具已解决了该问题。

aspnet_regiis.exe -i 

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

相关问题 身份验证在 IIS8.5 中安装的 Wordpress 博客的子目录中不起作用 - Authentication not working in subdirectories of Wordpress blog installed in IIS8.5 在IIS中添加应用程序后,aspx页面无法正常工作 - aspx pages not working after adding application in IIS 一个MapHttpRoute上带有IIS8.5的Web API 2错误401.0 - Web API 2 Error 401.0 with IIS8.5 on one MapHttpRoute 使用URL重写IIS 8.5的wwwless网站 - wwwless site using url rewrite iis 8.5 ASP.NET Process.Start在任务管理器中的工作背景,但在IIS8.5(Windows 8.1)上却不在前面 - ASP.NET Process.Start work background in task Manger but not come on front on IIS8.5 (Windows 8.1) 应用程序在Server 2012和IIS 8.5上意外重新启动 - Application restarted unexpectedly on Server 2012 and IIS 8.5 使用计算机名称/ IP URL访问IIS 7.5上的asp.net应用程序aspx页面时出现问题? - Issue in accessing asp.net application aspx pages on IIS 7.5 with machine name/IP url? OWIN Cookie身份验证无法在IIS 8.5上运行 - OWIN Cookie authentication not working on IIS 8.5 如何在 Web 应用程序 ASPX 代码前页面中使用 C# 7? - How to use C# 7 within Web Application ASPX code-before pages? 捕获.aspx和.ascx页面中的异常 - Catching exceptions within .aspx and .ascx pages
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM