General information
Title:
How to display a nice/friendly page using COMRETURNERROR
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only