Re: Exception not caught when calling .NET DLL via (regular) ASP
- From: "goldeneye77" <mick_20@xxxxxxxxx>
- Date: 22 Nov 2006 11:24:17 -0800
Adding the /codebase switch when using the "Regasm.exe" utility appears
to have done the trick for me.
goldeneye77 wrote:
Hi,
I'm calling an exposed method of a .NET DLL via (regular/old) ASP using
COM Interop. This method that I'm calling then calls a .NET web
service.
Note that this web service I need to call does not yet exist but I am
testing error catching routines to make sure potential errors are
handled gracefully.
I have code in this method to catch exceptions--particularly a
"System.Net.Sockets.SocketException" exception (to handle a scenario
whereby I cannot connect to the web service). I have made a test shell
with VB 6 and the error is caught as expected and handled accordingly.
However, when I access the method in question via ASP, the exception
does not seem to be caught as it should and the ASP app crashes.
Is there some kind of limitation involving COM Interop, ASP, and .NET
Web Services involved here that anyone might know about?
Cheers,
Mike.
.
- References:
- Exception not caught when calling .NET DLL via (regular) ASP
- From: goldeneye77
- Exception not caught when calling .NET DLL via (regular) ASP
- Prev by Date: Exception not caught when calling .NET DLL via (regular) ASP
- Next by Date: ADODB Recordset Error On Sort
- Previous by thread: Exception not caught when calling .NET DLL via (regular) ASP
- Next by thread: ADODB Recordset Error On Sort
- Index(es):
Relevant Pages
|