Solved

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

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

856 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