I have moved this question to Server Fault where it is probably more appropriator.
I have a classic ASP website that is crashing in IIS7. It is crashing because IIS doesn't allow file uploads greater than a certain size. I know this because files below about 200k work fine. I removed the Status Code 500 error in IIS but I still don't get a file name and the line where my code failed as I do when running locally.
Instead I get:
"The page cannot be displayed because an internal server error has occurred. If you are the system administrator please click here to find out more about this error."
How do I get a file name and the line where my code failed?
Here are my IIS settings:
AND THE ANSWER FROM SERVERFAULT IS...
Login as an admin on the IIS server, open IIS 7 Manager, the open the Asp icon under the Web site you want to change the error messages for (it'll be on the right with all the other icons; it's the first one).
Scroll down and change Send Errors To Browser to True. Might have to iisreset, not sure.