msscript.oxc can not be loaded by service on startup

G

Guest

I have implemented windows service which uses vbscript.
If I set my service to manual start and start it manually service is working.
However, if I set my service to start automatically it can not load
msscript.ocx and vbscript.dll. Problem occurs when using Windows 2000 or
Windows 2000 Server. Service works with automatic startup when using Windows
XP. I would really appreciate any help.
 
D

Dave Patrick

Is there an Event Viewer error? If so post it. When you view the logged
events in Event Viewer (double-click them in the right-hand pane) in the
upper right corner, third button down is a copy to clipboard, then you can
paste in the body of a reply message.

Please do so for each of the different System Log events (that are a Type:
'Error' or 'Warning') since last boot so we can see all of the event detail.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I have implemented windows service which uses vbscript.
| If I set my service to manual start and start it manually service is
working.
| However, if I set my service to start automatically it can not load
| msscript.ocx and vbscript.dll. Problem occurs when using Windows 2000 or
| Windows 2000 Server. Service works with automatic startup when using
Windows
| XP. I would really appreciate any help.
|
 
G

Guest

Patrick thank you for taking look at my post.
There are no error/warnings in the Event Viewer. I'm going to add some code
to my service so we can get a HRESULT of the exception that is thrown when my
service is loading msscript.ocx and vbscript.dll. I will keep posting once i
have the HRESULT.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top