help ISupportErrorInfo used on DLL runnig on server 
Author Message
 help ISupportErrorInfo used on DLL runnig on server

I need some advise:

I have written an application which is used over the Web. I created a DLL
with ISupportErrorInfo for error checking purposes. However, the DLL is
causing the server to crash every once in a while. I am assuming that the
DLL that I wrote is crashing the server, since I haven't had any problems
before. The DLL is used by an ASP page and it's called only once per ASP
page.
(1) What route should I take in order to find the problem.
Again I used ISupportErrorInfo on my dll as follows:
STDMETHODIMP CTest::Out(BSTR lname, BSTR asp_fname)
{
    try
    {
            ...
            ...
    }
    catch
    {
        return Error(" Error Message");
    }

Quote:
}

    * Should I return E_FAIL after I return the Error ?

(2) Is it true that if you an application throws an error which is not
catch, it could cause the server to die or crash.

(3) I have also written a VB interface which uses the VC++ DLL that I wrote
and when errors occur inside the dll ISupportErrorInfo propagates the to the
VB Error handler, hence, displaying my Error Messages. Can i do the same
with VBScript on a ASP page.

(4) If my application is not properly releasing memory what route should i
take to solve this problem, I apologize for this question since there are
myriad of answers.

Thanks alot for your time

Jorge



Fri, 26 Mar 2004 23:49:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Lifetime of EXE COM server that uses DLL COM server

2. Starting an inproc server as a local server using a DLL Surrogate

3. Help wanted on DLL used as SQL Server xp

4. Debugging DLL runnig as an outproc in IIS

5. help runnig this Code--very simple one--

6. The DLL Cann't using exe server?Blocked in CoCreateInstance()

7. Using AFX EXT DLL ATL objects in ATL EXE server

8. Using CString in ATL dll server.

9. using MFC Extension DLL from ATL server(exe)

10. Cannot connect from ISAPI dll to SQL Server using CDatabase.OpenEx

11. Problem of connecting from ISAPI dll to SQL Server using ODBC

12. Using CString in ATL dll server.

 

 
Powered by phpBB® Forum Software