|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Error 4786 with Windows Servicegetting the following exception in the Event Viewer: Event Type: Error Event Source: COM+ Event Category: Unknown Event ID: 4786 Date: 10/31/2006 Time: 1:29:50 AM User: N/A Computer: KII-SERV-SQL Description: The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below. Component Prog ID: 1[ODBC][Env 45814e8] Method Name: IDispenserDriver::CreateResource Process Name: DTSService.exe Exception: C0000005 Address: 0x04972018 Call Stack: pvm90sec! + 0x2018 pvm90sec! + 0x2516 I tried looking for more information on the web, but I haven't really found anything that would explain what's possibly causing the exception. Why it would fail only after a certain number of days? Thank you for any help. The exception is an access violation which appears to be occuring from COM. I
dont know what the IDispenserDriver is so I assume it is something you have coded. I found some explanations of the problem here: http://www.eventid.net/display.asp?eventid=4786&eventno=3412&source=COM+&phase=1 It depends on what your actually doing as to what the cause could be. An access violation is the same as a NullReferenceException in .NET. It can be be caused by almost anything although in a .NET app it must be a COM interop as the framework turns them into NRE's when it encounters them. HTH Ciaran O'Donnell Show quote "Eve" wrote: > After my Windows service runs for a few days (sometimes 5, sometimes 3), I'm > getting the following exception in the Event Viewer: > > Event Type: Error > Event Source: COM+ > Event Category: Unknown > Event ID: 4786 > Date: 10/31/2006 > Time: 1:29:50 AM > User: N/A > Computer: KII-SERV-SQL > Description: > The system has called a custom component and that component has failed and > generated an exception. This indicates a problem with the custom component. > Notify the developer of this component that a failure has occurred and > provide them with the information below. > Component Prog ID: 1[ODBC][Env 45814e8] > Method Name: IDispenserDriver::CreateResource > Process Name: DTSService.exe > Exception: C0000005 > Address: 0x04972018 > Call Stack: > pvm90sec! + 0x2018 > pvm90sec! + 0x2516 > > I tried looking for more information on the web, but I haven't really found > anything that would explain what's possibly causing the exception. Why it > would fail only after a certain number of days? > Thank you for any help. > > > |
|||||||||||||||||||||||