AI OnAI Off
Hi Rasmus,
Have you checked that your test.aspx file is actually deployed to your Azure web app (do you have 'build action: content' for your test.aspx)?
The exception says the file doesn't exist which would indicate that the aspx is not deployed.
Thanks for your suggestions.
Yes, the test.aspx file is deployed
Yes, there is custom errors configured.
I solved the problem by added a handler to
<system.webServer>
<handlers>
<add name="AspxHandler" preCondition="integratedMode" verb="GET" path="*.aspx" type... />
I have a website running Episerver CMS hosted in an Azure webapp.
My goal is to display a 404 page when a user goes to www.mysite.com/test.aspx, This works locally on my IIS site, but when deployed to Azure instead of a 404 I get a 500 exception:
Any recommendations?