Solved

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

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

758 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

23 Experts available now in Live!

Get 1:1 Help Now