Login  
Search All Forums
Dart Home | PowerTCP WebServer for ActiveX | Custom Development Reply | PowerTCP WebServer for ActiveX Topics | Forums   
AuthorForum: PowerTCP WebServer for ActiveX
Topic: Error message in event viewer using Service Control
chris@digitalinsights.com

From: San Clemente, CA USA
Posts: 73
Member Since: 11/03/03
posted December 12, 2003 12:09 PM

I am using the service control, and when I start or stop the service, I look into the event viewer under Application, I get this:

The description for Event ID ( 101 ) in Source ( CampaignEnterprise8 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Server Started.

This is the code producing this event in the log is:

Service1.Log serviceInformation, serviceStartedEvent, "Server Started"

This code is in my Service1_State event.

My Question is, why don't I just see the "Server Started" text (which is at the end of the above message)? What is all this other info saying something is not registered?

Thanks
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 15, 2003 9:35 AM

I've seen this erro before but never was able to determine how to duplicate it. I think it has to do with the SCM not being able to get access to the DLL that contains the generic description of the event. The "Server started" is our message that is added to the SCM message (which in your case was not found)
chris@digitalinsights.com

From: San Clemente, CA USA
Posts: 73
Member Since: 11/03/03
posted December 15, 2003 1:32 PM

So it definitely is trying to get a message from a DLL that does not exist or does not have access to? Do you know what DLL contains the generic description of the event?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 16, 2003 9:19 AM

I think that the error messages are inside whatever app is running as the service. Maybe the SCM is having trouble accessing the exe. To find out more, go to groups.goggle.com and search for "The description for Event ID ( 101 ) " + "cannot be found". You will get many hits, some of which may be helpful.

I now remember when I saw that error. It was when I had some previous error messages in my event log and I went back to view them after the service was removed. The entries were still there but they all said the description could not be found.
BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted December 18, 2003 6:22 PM

I had this problem when I installed the service with my Wise install program. When I used Darts method call to do it the problem disappeared. The reason for this is that Dart's service install puts a registry entry under the Eventlog service.

Eg: My service is called Node Manager and this is the additional entry that must be present to overcome the problem that you are getting:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\Node Manager]
"EventMessageFile"=C:\WINNT\system32\DartService.dll
"TypesSupported"=dword:00000007
chris@digitalinsights.com

From: San Clemente, CA USA
Posts: 73
Member Since: 11/03/03
posted December 19, 2003 1:07 AM

BrendanM,

The registry key you provided works great and the event log is clean again. 

Thank you very much!

BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted December 19, 2003 2:04 AM

No problem Chris!

Don't know if are aware of the other problem with service logs under Dart. Check out

http://support.dart.com/postings?topicid=3762#15012
BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted December 19, 2003 2:08 AM

Sorry wrong link! It is there on the the top of the issue list under Server.

Briefly ...

Under W2k and XP there are 2 columns (Category & Evnet) under Event Viewer, Applications. How do we use the Log method to set these values when posting a message to the Event log?

In my app error handler I write to the event log and would like the unique error numbers to appear in at least the Event column
Reply | PowerTCP WebServer for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX