I have a question and I hope you can help me solve it... I have a castle monorails application. In web.config file in httphandlers I have *.aspx maped to monorails (my hosting does not suport other extensions...)
<add verb="*" path="*.aspx" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory,Castle.MonoRail.Framework"/>
The problem is that I have some Webforms pages that I want to work with aspx... So I am adding something like this to the web.config file...
<add verb="*" path="connector.aspx*" type="System.Web.UI.PageHandlerFactory"/>
<add verb="*" path="ChatPage.aspx*" type="System.Web.UI.PageHandlerFactory"/>
<add verb="*" path="Logon.aspx*" type="System.Web.UI.PageHandlerFactory"/>
Still it does not work.. What am I doing wrong?
I have finally fixed my problem creating a virtual directory where I have cleared the httphandlers
<httpHandlers><clear/>
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory"/>
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler"/>
</httpHandlers>
<httpModules>
<clear/>
</httpModules>
and now it works ok...