Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / November 2006

Tip: Looking for answers? Try searching our database.

Error 4786 with Windows Service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eve - 17 Nov 2006 18:32 GMT
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.
Ciaran O''Donnell - 20 Nov 2006 09:28 GMT
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

> After my Windows service runs for a few days (sometimes 5, sometimes 3), I'm
> getting the following exception in the Event Viewer:
[quoted text clipped - 25 lines]
> would fail only after a certain number of days?
> Thank you for any help.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.