Deployment Error:"COM Object with CLSID {...} is either not valid or not registered"

ar_pad

Active member
Joined
Jun 5, 2006
Messages
26
Programming Experience
Beginner
Deployment Error:"COM Object with CLSID {...} is either not valid or not registered"

Hi,

I developed an VB.NET Application that make use of microsoft EXCEL PIAs. (VS2003)
It works fine in the development environment which has MS EXCEL.
But actually target machine don't have MS EXCEL.

When i try deploy the project it prompts me an error like

"COM Object with CLSID {...} is either not valid or not registered"
Can anyone clarify the following doubts.
Can we deploy this kind of application in the system which donot have MS office?

If so, How?
I tried my best. but couldn't reach the solution.

Kindly guide me in this aspect.
Note : I never Used "New " for workbook.
Thank You!
 
http://www.microsoft.com/downloads/...1E-3060-4F71-A6B4-01FEBA508E52&displaylang=en

I think this link may help because it says system requirements:

Microsoft office XP

..but I know nothing about this.

As far as deployment is concerned...Visual Studio allows you to

create a 'setup' solution along side/with your regular progect ( shows in

the solution explorer) and any dependencies can be added by

right mouse clicking this 'setup' in the solution explorer. Then select

'add' and add the PIA file you need.

However, I still don't know if you can use PIA's on a machine that does
not have office.
 
No, you cannot. the PIA is simply an interop wrapper... you still need to have Excel on the target machine in order for it to work.

-tg
 
Back
Top