Solved

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

Posted on 2001-08-03
4
619 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

932 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now