We are developing ASP based web server to run on a WIN CE device. The ASP pages use a COM component for performing the server side operations.
We have a couple of doubts about the error handling. Our doubts are
What is the best method for giving error information from a COM component to the ASP page? We are using VBScript for writing ASP
If we are going to display specific error messages like ‘Connection Timeout’ received from the COM server, what is the best mechanism to pass the error message from COM?
Where can we find more information about error handling?
We are new to VBScript and we could not find much information about the topic in the net
COM object methods generally return an HRESULT, which contains an error code in case of failure. You can try to get this value in VB.Script by reading the property Err.Number.