[英]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.