Solved

OLE Automation Server.........

Posted on 2001-08-03
4
624 Views
Last Modified: 2007-12-19
Hi:

We are using a module on 3 NT4 machines. It works fine. However, when a brand new machine is used and the module installed on it, it gives this error when launched:

Execution error
Error code = 80040015
Run Time error on line: 17 - OLE Automation server cannot create object

When this module is erased and re-installed on an existing machine that already had the module, it works fine. But when it is installed on a brand new machine, it gives the above error and quits when you click 'OK'.

Please help.

Thanks.
0
Comment
Question by:muhammasif
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 22

Accepted Solution

by:
CJ_S earned 80 total points
ID: 6348692
Did you register the component on the new machine using regsvr32 "pathtodll.dll"

?

regards,
CJ
0
 
LVL 2

Expert Comment

by:smkkaleem
ID: 6350367
I think that CJ_S is right. You have to register the component on the new machine using regsvr32 "pathtodll.dll"

0
 

Author Comment

by:muhammasif
ID: 6351259
There is one .dll that is typically registered on the other machines. This .dll is in the C:\WINNT folder. We have been successfully registering it as
regsvr32 filename.dll
The same has also been done on the new machine with no positive results.

Should it be regsvr32 filename.dll or
regsvr32 C:\WINNT\filename.dll

Thanks.
0
 

Author Comment

by:muhammasif
ID: 6361384
It turned out that an additional Setup program with some more dlls had to be installed.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question