5

I get this error:

An error occurred on the server when processing the URL. Please contact the system administrator.

If you are the system administrator please click here to find out more about this error.

But I already installed classic ASP support on my IIS; why would I be getting this error? I tried restarting IIS and that didn't help; just in case the error message came from the application itself, I searched for it but didn't find it in the code anywhere.

Community
  • 1
  • 1
ekolis
  • 6,270
  • 12
  • 50
  • 101
  • 1
    Possible duplicate of [Detailed 500 error message, ASP + IIS 7.5](https://stackoverflow.com/questions/2640526/detailed-500-error-message-asp-iis-7-5) – user692942 Aug 06 '19 at 22:36
  • Possible duplicate of [I have already enabled classic asp support on IIS for windows 7, and configured IIS web for classic asp,Yet .asp page is not being displayed?](https://stackoverflow.com/a/22477210/692942) – user692942 Aug 07 '19 at 05:53

2 Answers2

6

to see the classic asp error iis you need to do some settings in iis:

1)open the iis manager and select the classic asp site or the server.

2)Select the Asp feature from the iis.

enter image description here

3) Expand the Debugging Properties node and set Send Errors To Browser to True.

enter image description here

4)Go back to the IIS properties and select Error Pages.

enter image description here

5)Select the Edit Feature Settings from the Action pane and select the Detailed error message radio button.

enter image description here

Restart the IIS server.

Jalpa Panchal
  • 8,251
  • 1
  • 11
  • 26
  • 1
    But please don’t do this on a server that is reachable from the Internet. This is only suitable for test servers (preferably) that are only reachable via trusted networks (not on the Internet). – Euro Micelli Aug 07 '19 at 03:19
  • You see the duplicate questions? [Here](https://stackoverflow.com/questions/2640526/detailed-500-error-message-asp-iis-7-5) and [Here](https://stackoverflow.com/a/22477210/692942), your just regurgitating answers already stated there. – user692942 Aug 07 '19 at 05:55
  • I also noticed when I am browsing on server where site is hosted, it is not showing error in browser, but when browsing from different/ local machine it is showing error. – Himalaya Garg Jul 02 '20 at 14:31
  • 1
    For step 2 I didn't have the ASP "button". To get to that config I scrolled down to Management > clicked on Configuration Editor, opened the section "system.webServer/asp" and switched "scriptErrorSentToBrowser" to "true". – dunc Jan 18 '22 at 20:18
0

Even if "Send Errors To Browser" to True the displayed error message may not be informative enough. I suggest that inspect your "global.asa" file line by line. Probably you will notice the error.

Ozan BAYRAM
  • 2,780
  • 1
  • 28
  • 35