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

Albay Commandante 21 Reputation points
2022-03-10T18:44:42.477+00:00

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

This is the error I receive in the localhost inetpub trying to launch a asp portal.Why?

Developer technologies ASP.NET Other
0 comments No comments
{count} votes

Accepted answer
  1. Michael Taylor 60,161 Reputation points
    2022-03-10T19:32:57.547+00:00

    That means there was a server error. By itself there is insufficient information to remotely help you with this problem. Server errors can happen for any # of reasons including: bad configuration, bad app code, runtime errors, etc.

    At the bare minimum you should ensure you have set up the web site/app properly to use ASP.NET. It could be you didn't set up the app pool or site/app configuration properly. If you're using a version of ASP.NET that isn't installed for IIS that can cause problems as well. Missing files in your app could cause problems. The list goes on and on. Providing more of this information to us along with screenshots would go a long way to solving this issue.

    You should also confirm that your web app works properly by running it locally in Visual Studio first. If it works in VS then that eliminates a whole class of possible problems. If it doesn't work in VS then it won't work in IIS so you need to fix that first.

    After that you'll need to log at the Event Viewer to see what is failing or, even better, your app's own error logs. Providing the actual exception information would help diagnose the issue.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Albay Commandante 21 Reputation points
    2022-03-10T21:34:38.163+00:00

    "inetmgr" command had an answer about it but did not solve my problem.


  2. Anonymous
    2024-05-27T16:33:57.3433333+00:00

    Hi we are having same error, the app works on all systems except of one customer, checked asp.net is installed and apppool configurred properly

    please assist

    0 comments No comments

Your answer

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