Passing error from Com component to ASP 
Author Message
 Passing error from Com component to ASP

Hallo,

I am devoping COM components which are run under MTS environment and are

called by Active Server Pages.
My question is if an error occurs in these components, then how should I

deal with it and pass this to ASP pages,since  using message boxes is
useless on Server side.

Ahmed



Fri, 03 Jan 2003 03:00:00 GMT  
 Passing error from Com component to ASP
Make sure your object uses "Err.Raise".  In your application, use "On Error
Resume Next" and then, immediately after calling the suspicious routine,
check the error status of your object.


Quote:

> Hallo,

> I am devoping COM components which are run under MTS environment and are

> called by Active Server Pages.
> My question is if an error occurs in these components, then how should I

> deal with it and pass this to ASP pages,since  using message boxes is
> useless on Server side.

> Ahmed



Thu, 09 Jan 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Problem passing VB COM+ ASP Request object to .NET component System.Web.HTTPRequest through COM interop

2. Passing UDTs from ASP to COM Components

3. Pass ASP Intrinsics to Com component by ref?

4. Passing Variant Array from ASP to COM Component

5. Passing Variant Array from ASP to COM Component

6. Type mismatch error using ADO / ASP / VB COM Component

7. passing errors from MTS components to ASP

8. Problem with passing an ADODB.Recordset between com+ components

9. Problem with passing an ADODB.Recordset between com+ components

10. Passing by reference to an ATL COM component

11. REPOST: COM Component Locking ASP

12. Using COM components on ASP pages

 

 
Powered by phpBB® Forum Software