Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application level exception handling
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00833443
Message ID:
00833811
Vues:
22
What I have right now in my Application_Error is this:
string ErrorDescription = Server.GetLastError().ToString();
string RedirectString = "Error.axpx?ErrorDescription=" + ErrorDescription;
Response.Redirect(RedirectString);
Server.ClearError();
I throw a new ApplicationException, and I get the default "Error in the application...An unhandled exception occurred" message, not the Error.aspx that I'm expecting. Obviously I want to do something more sophisticated, like log the error to an XML file or the windows event log or something, but I'm just trying to get this much working right now.

If it makes any difference, the debug mode is RemoteOnly.

Thanks, Bill.
>>-Steve->>

Steve Sawyer
Geeks and Gurus, Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform