By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,500 Members | 1,769 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,500 IT Pros & Developers. It's quick & easy.

Wierd Windows Service Errors

P: n/a
Hi,
I have four windows services written in C#, which use late binding to create
visual basic objects which listen to message queues. These services run as
a named local administrator account who has access to the queues.
Most of the time this works fine, on about 10% of servers however, I get
the following error (shown below) in the application event log when trying
to start the service where MoveFailedMessagesBackToMainQueue is the name of
the visual basic method I first call.
If I then change the service to run as the local system account it works
fine and restart it, it then works fine.
More information such as source code etc can be supplied.

Any ideas?

Thankyou

David Betteridge
Event Type: Information
Event Source: AuthorisationService
Event Category: None
Event ID: 0
Date: 08/07/2003
Time: 10:16:45
User: N/A
Computer: QA1
Description:
An error occured trying activate Sub MoveFailedMessagesBackToMainQueue. A
copy of the exception is included below. This service will now be suspended.
System.Reflection.TargetInvocationException: COM target does not implement
IDispatch.
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags
invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32
culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr,
Binder binder, Object target, Object[] args, ParameterModifier[] modifiers,
CultureInfo culture, String[] namedParameters)
at PROACTISNS.Proactis.Services.Worker.CallVBMethod(O bject obj, Type t,
String vbMethodName)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.