Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to display a nice/friendly page using COMRETURNERROR
Message
De
20/06/2006 12:17:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
How to display a nice/friendly page using COMRETURNERROR
Divers
Thread ID:
01130285
Message ID:
01130285
Vues:
70
My application is using COMRETURNERROR in the Error procedure of a MTDLL. The front end is ASP making calls to this DLL. The result returned from the DLL is most of the time the HTML code to be displayed on the site.

When I get an error I would like to display a friendly error page for the user (HTML), but also show the error line, method and the error message. So far all I can see is what I put in the second parameter of COMRETURNERROR. I thought this function is signaling IIS that an error has occured and an error structure is available to the caller (ASP) so we can create a nice error page. How to do this?

Also, someone mentioned using Session objects for all MTDLL. Can anyone explain why this is needed?

Thanks
Répondre
Fil
Voir

Click here to load this message in the networking platform