After publishing my application (for a test run), using the publishing method in visual studio, I am can't access it, each time try, I get an error - it redirects me to a custom error page I created in the application (500.aspx).
This is the custom error page I referenced in the web config file
<system.webServer>
<httpErrors errorMode="Custom" existingResponse="Replace">
<remove statusCode="404"/>
<remove statusCode="500"/>
<remove statusCode="503"/>
<error statusCode="404" path="404.aspx" responseMode="Redirect"/>
<error statusCode="500" path="500.aspx" responseMode="Redirect"/>
<error statusCode="503" path="503.aspx" responseMode="Redirect"/>
</httpErrors>
</system.webServer>
It surprises me because I set the Default page as my Start page.
Please is there anything I can do to be able to view my application.