Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: COM+ VB dll error (4194)

Re: COM+ VB dll error (4194)

From: Thomas T <T_at_T>
Date: Fri, 11 Apr 2003 10:33:00 -0400
Message-ID: <3e96d487$1@rutgers.edu>


"Gaspare Licari" <gaspare.licari_at_tin.it> wrote in message news:sllla.87789$Jg1.2039401_at_news1.tin.it...
> I have a dll COM+ that some time failed.
> This is the error message in event viewer:
> Oracle client version is 8.1.6
>
> Il sistema ha richiamato un componente personalizzato e
> tale componente ha generato un errore e prodotto
> un'eccezione. Esiste un problema a livello del componente
> personalizzato. Segnalare il problema allo sviluppatore
> del componente e fornire le informazioni riportate di
> seguito.
> Component Prog ID:
> Server Application ID: {985090CE-7266-4FAC-86B9-
> 3D9A02C3F204}
> Server Application Name: CSElaTimBL
> The serious nature of this error has caused the process to
> terminate.
> Exception: C0000005

I had this problem once, with a Visual C++ COM .DLL component. The problem was that I had a field in which the user could type "extra information". When they typed more characters than the field allowed, my DLL tried to put the information into Oracle anyway. Ex- The user typed 200 characters, but Oracle expected a max of 180. The DLL would fail, throwing exception C0000005 into the event log, the internet server (IIS) would fail, then IIS would recover- but everyone that was currently on the web server would get disconnected. That exception basically means that you went out of bounds of the DLL's available memory.

Make sure that you have checks in your DLL on all field lengths, and all data types (nobody tries to put a string into a numeric type). You can search for the exception number through google.com, I think there were a few VB-related pages (which didn't apply to me) as well.

I use Visual Studio 6.0, the component was written using Visual C++ 6.0 and the ATL COM library. The component uses the Oracle Provider for OLE DB, and runs under IIS 5. ASP/JScript is used to access the component. Oracle version is 8i (8.1.7).

If you use the Oracle Provider for OLE DB, make sure you have the latest version (available from otn.oracle.com); the early versions had bugs in them.

Hope that helps,

-Thomas Received on Fri Apr 11 2003 - 09:33:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US