Solved

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

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MsgBox 2 54
VB6 Compile Compatibility Issue 4 102
Excel - Save a copy of work book 13 84
Crystal reports - Formula Field code need assistance with code 17 72
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

776 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