How do I include an ASP.NET page in an Umbraco web site?
I would like to include an ASP.NET page (e.g., http://localhost/MyPages/MyPage.aspx) in my Umbraco web site. If I add the MyPages folder and copy MyPage.aspx into it, I get the error shown below. Is there a way to do this?
No umbraco document matches the url 'http://umb.mg.local/MyPages/MyPage.aspx'
umbraco tried this to match it using this xpath query'/root/node/node [@urlName = "mypages"]/node [@urlName = "mypage"] | /root/node [@urlName = "mypage"]')
This page can be replaced with a custom 404 page by adding the id of the umbraco document to show as 404 page in the /config/umbracoSettings.config file. Just add the id to the '/settings/content/errors/error404' element.
How do I include an ASP.NET page in an Umbraco web site?
I would like to include an ASP.NET page (e.g., http://localhost/MyPages/MyPage.aspx) in my Umbraco web site. If I add the MyPages folder and copy MyPage.aspx into it, I get the error shown below. Is there a way to do this?
****************************** ERROR MESSAGE **********************************
Page not found
No umbraco document matches the url 'http://umb.mg.local/MyPages/MyPage.aspx'
umbraco tried this to match it using this xpath query'/root/node/node [@urlName = "mypages"]/node [@urlName = "mypage"] | /root/node [@urlName = "mypage"]')
This page can be replaced with a custom 404 page by adding the id of the umbraco document to show as 404 page in the /config/umbracoSettings.config file. Just add the id to the '/settings/content/errors/error404' element.
For more information, visit information about custom 404 on the umbraco website.
This page is intentionally left ugly ;-)
You need to tell umbraco not to handle your own pages in the url's. In the web.config, add your path like this:
That way, umbraco will not pick up any requests to you folder.
Perfect! Thank you Morten.
is working on a reply...