Share via

ASP application got error occurred on the server when processing the URL.

Qingpei Dai 5 Reputation points
2024-12-07T08:35:14.7833333+00:00

The ASP configuration has the Script Error Message and Send Error to Browser options set to true, but it still appears when the ASP application is executed: "An error occurred on the server when processing the URL. Please contact the system administrator." please tell me how to solve this problem? windows version is Win11 Home Edition

Windows development | Internet Information Services

2 answers

Sort by: Most helpful
  1. Tom Tran (WICLOUD CORPORATION) 4,860 Reputation points Microsoft External Staff Moderator
    2025-07-09T08:17:50.5966667+00:00

    Hi Qingpei Dai,

    Let's walk through a few things to help you get more detailed error messages and troubleshoot the issue.


    1. Double-check ASP Error Settings in IIS

    Make sure these settings are correctly applied:

    1. Open IIS Manager.
    2. Navigate to your site or application.
    3. Double-click ASP under the IIS section.
    4. Expand Debugging Properties:
      • Set Send Errors To Browser to True.
      • Set Script Error Message to something like "Detailed ASP error message" (optional).
    5. Click Apply on the right-hand side.

    2. Enable Detailed Errors in IIS

    Sometimes IIS is configured to hide detailed errors from remote clients. To fix this:

    1. Go to IIS Manager.
    2. Select your site.
    3. Open Error Pages > click Edit Feature Settings on the right.
    4. Choose Detailed Errors.

    Reference: IIS Error Pages configuration


    3. Windows 11 Home Limitation

    Since you're using Windows 11 Home Edition, please note that IIS features are limited on Home editions. Some advanced features (like Classic ASP or detailed error handling) may not behave as expected or may require manual enabling via Windows Features.

    To check:

    • Go to Control Panel > Programs > Turn Windows features on or off
    • Ensure Internet Information Services > World Wide Web Services > Application Development Features > ASP is checked.

    Let me know how it goes, and I’ll be here to help further if needed

    Was this answer helpful?

    1 person found this answer helpful.

  2. MotoX80 37,686 Reputation points
    2024-12-07T21:33:02.85+00:00

    Setting "Send errors to browser" to true causes IIS to display the error on the page for me. I don't know what you might be doing differently.

    You could set "Log errors to NT log" to true, the error will then show up in the Application event log.

    User's image

    Are you browsing "localhost"?

    User's image

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.