Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to display a nice/friendly page using COMRETURNERROR
Message
From
20/06/2006 12:17:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
How to display a nice/friendly page using COMRETURNERROR
Miscellaneous
Thread ID:
01130285
Message ID:
01130285
Views:
69
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
Reply
Map
View

Click here to load this message in the networking platform