Hi,
We have try but not resolved.
Every time error showing our web application deployed on IIS.
The page cannot be displayed becase an internal server error has occured.
How to solved.
Regards,
Pratik
Hi,
We have try but not resolved.
Every time error showing our web application deployed on IIS.
The page cannot be displayed becase an internal server error has occured.
How to solved.
Regards,
Pratik
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit MohantyRank #112 · 20K reputationPosted Nov 1, 2023, 8:10 AM EDT
Implement a global error handler using the
Application_Errorevent in the Global.asax file to catch unhandled exceptions and log them.void Application_Error(object sender, EventArgs e) { // Log the error // Redirect to a custom error page or display a user-friendly message }You can also create custom error pages that users will see when an error occurs. Specify these pages in your web.config file: