Automation Error with Office

  • Thread starter Thread starter Martin Neumann
  • Start date Start date
M

Martin Neumann

I am trying to get a program to run that uses the Automation Server to
access Powerpoint. It has worked before, but now I get the error message:

Runtime error -2147221163(80040155)

Automation error
Interface not registered


I tried already to reinstall Office with no success. Any hint what it
could be?
 
What program?

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I am trying to get a program to run that uses the Automation Server to
| access Powerpoint. It has worked before, but now I get the error message:
|
| Runtime error -2147221163(80040155)
|
| Automation error
| Interface not registered
|
|
| I tried already to reinstall Office with no success. Any hint what it
| could be?
|
 
It is a VB6 program that tries to automate Powerpoint 2000
I am running Windows 2000 SP4, I reinstalled Office 2000 and tried with
SR1 and SP3, always with the same result. I tried to write new code and
tried a tool that worked before, both time the same error. I also
deinstalled Norton Antivirus since I read that the Script Blocking could
interfere with that. Still I have no sucess yet. Any clues?
 
Sounds like some required library isn't registered/ installed on the target
machine.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| It is a VB6 program that tries to automate Powerpoint 2000
| I am running Windows 2000 SP4, I reinstalled Office 2000 and tried with
| SR1 and SP3, always with the same result. I tried to write new code and
| tried a tool that worked before, both time the same error. I also
| deinstalled Norton Antivirus since I read that the Script Blocking could
| interfere with that. Still I have no sucess yet. Any clues?
 
Shouldn't office take care of that after a reinstall? Or is there
something missing in the operating system? What to do except of
reinstalling windows (Which would be several days of work with all the
programs I have).
 
Depends entirely on what objects the developer may have used. You'll
probably want to contact the application developer. If you are the developer
then from the VB6 IDE Tools|References and make sure all exist and are
correctly registered on the target machine.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Shouldn't office take care of that after a reinstall? Or is there
| something missing in the operating system? What to do except of
| reinstalling windows (Which would be several days of work with all the
| programs I have).
 
I have the problem with both, an application that was running before and
an own development where I have the code. But the thing hangs on the
first line when instantiating Powerpoint. The reference in VB6 is done
correctly, so it must be a problem with Office or the OS. But how do you
troubleshoot that and find out what is wrong with Office?
 
Better to ask them in one of the VB groups.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I have the problem with both, an application that was running before and
| an own development where I have the code. But the thing hangs on the
| first line when instantiating Powerpoint. The reference in VB6 is done
| correctly, so it must be a problem with Office or the OS. But how do you
| troubleshoot that and find out what is wrong with Office?
 
Back
Top