In my .net app, I redirect to an error page if an error occurs.
It works fine on my local IIS.
When I deploy to a web server, IIS7, it redirects to the error page, all fine, but these is text added to the error page
“The page cannot be displayed because an internal server error has occurred. “
Could this be added via IIS7? It doesnt happen locally – also IIS7.
Try setting the CustomErrors to off in server’s web.config file to find out what is the actual error. The “500 Internal Server Error” could mean anything.