Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

*.aspx request getting 404.3 using "Hostable web core"

$
0
0

Hi

I am trying to use "Hostable web core" to host my site. I followed the sample in http://blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx

I have the static files *.html working, but for *.aspx, and *.asp I keep getting error404.3, the log is 

2014-06-04 22:58:25 ::1 GET /hello.aspx - 54322 - ::1 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36 -404 3 50 2

I have these two lines in applicationHost.config

<add name="PageHandlerFactory-Integrated-4.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" />


<add name="PageHandlerFactory-ISAPI-4.0_32bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />

<add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" />

My aspx file is hello.aspx

<html>
<body bgcolor="yellow">
<center>
<h2>in hello.aspx</h2>
</center>
</body>
</html>

The hello.aspx page is viewable by IIS (but not by HWC). My system is Windows Server 2012 R2. 

Thanks for any help.

Michael


Viewing all articles
Browse latest Browse all 7363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>