COM not valid or not registered. AGAIN !!!

C

Claude Vernier

Hi !

I did had this problem before... I'm using OWC10 in Web applications.
I instance it on the server to output the HTML table for client without
Office or Windows...

It used to work on all machines: DEV (Win2k), TEST(Windows Server 2003 Std)
and PROD(Windows Server 2003 Std).
I don't think SP2 is installed already on the servers but should be soon...

Whenever I try to instanciate the OWC10 in code on the server, it used to:
-Succeed on DEV
-Fail on TEST
-Fail on PROD

M. Bruney (which I thanks very much because he did helped me a lot on this
project...) suggested me
to re-register the components using regsvr32. I tried on TEST but with no
success.
I reinstalled the components from the Internet
(<http://download.microsoft.com/download/OfficeXPStandard/owc10/1033/WIN98MeXP/EN-US/owc10.exe>)
on TEST and PROD, only PROD required a reboot.

Now, when trying to instanciate the OWC10 in code on the server, it:
-Succeed on DEV
-Succeed on TEST
-Fail on PROD

The error message is : "COM object with CLSID
{0002E542-0000-0000-C000-000000000046} is either not valid or not registered."

Hoping you can help, have a nice day !
Claude Vernier

ps: Sorry for my poor english...
 
A

Alvin Bruney [MVP]

this is a copy and paste from an earlier post from Thao, it may help you as
you may be using an incorrect GUID

Here's a matrix of the GUID and IE version and which GUID to use.

(latest OWC SP3) (old OWC pre-SP3)
(IE6x) use old/new GUID must use old GUID
(IE5x) use new GUID only must use old GUID

Old GUID for OWC10:
Spreadsheet 0002E551-0000-0000-C000-000000000046
PivotTable 0002E552-0000-0000-C000-000000000046
DataSourceControl 0002E553-0000-0000-C000-000000000046
Chart 0002E556-0000-0000-C000-000000000046

New GUID for OWC10
Spreadsheet 0002E541-0000-0000-C000-000000000046
Chart 0002E546-0000-0000-C000-000000000046
PivotTable 0002E542-0000-0000-C000-000000000046
DSC 0002E543-0000-0000-C000-000000000046
 
C

Claude Vernier

Hello,

I would need more informations on that SP3, was it especialy for OWC ?
Should the clients install it or only the server ?
I think that the error occurs when instanciating on the server, is there a
way to specify a
GUID in that particular case ?

Thank you very much,
Claude


Alvin Bruney said:
this is a copy and paste from an earlier post from Thao, it may help you as
you may be using an incorrect GUID

Here's a matrix of the GUID and IE version and which GUID to use.

(latest OWC SP3) (old OWC pre-SP3)
(IE6x) use old/new GUID must use old GUID
(IE5x) use new GUID only must use old GUID

Old GUID for OWC10:
Spreadsheet 0002E551-0000-0000-C000-000000000046
PivotTable 0002E552-0000-0000-C000-000000000046
DataSourceControl 0002E553-0000-0000-C000-000000000046
Chart 0002E556-0000-0000-C000-000000000046

New GUID for OWC10
Spreadsheet 0002E541-0000-0000-C000-000000000046
Chart 0002E546-0000-0000-C000-000000000046
PivotTable 0002E542-0000-0000-C000-000000000046
DSC 0002E543-0000-0000-C000-000000000046


--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
Claude Vernier said:
Hi !

I did had this problem before... I'm using OWC10 in Web applications.
I instance it on the server to output the HTML table for client without
Office or Windows...

It used to work on all machines: DEV (Win2k), TEST(Windows Server 2003
Std)
and PROD(Windows Server 2003 Std).
I don't think SP2 is installed already on the servers but should be
soon...

Whenever I try to instanciate the OWC10 in code on the server, it used to:
-Succeed on DEV
-Fail on TEST
-Fail on PROD

M. Bruney (which I thanks very much because he did helped me a lot on this
project...) suggested me
to re-register the components using regsvr32. I tried on TEST but with no
success.
I reinstalled the components from the Internet
(<http://download.microsoft.com/download/OfficeXPStandard/owc10/1033/WIN98MeXP/EN-US/owc10.exe>)
on TEST and PROD, only PROD required a reboot.

Now, when trying to instanciate the OWC10 in code on the server, it:
-Succeed on DEV
-Succeed on TEST
-Fail on PROD

The error message is : "COM object with CLSID
{0002E542-0000-0000-C000-000000000046} is either not valid or not
registered."

Hoping you can help, have a nice day !
Claude Vernier

ps: Sorry for my poor english...
 
A

Alvin Bruney [MVP]

Thao can help you with that. I simple don't know.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
Claude Vernier said:
Hello,

I would need more informations on that SP3, was it especialy for OWC ?
Should the clients install it or only the server ?
I think that the error occurs when instanciating on the server, is there a
way to specify a
GUID in that particular case ?

Thank you very much,
Claude


Alvin Bruney said:
this is a copy and paste from an earlier post from Thao, it may help you
as
you may be using an incorrect GUID

Here's a matrix of the GUID and IE version and which GUID to use.

(latest OWC SP3) (old OWC pre-SP3)
(IE6x) use old/new GUID must use old GUID
(IE5x) use new GUID only must use old GUID

Old GUID for OWC10:
Spreadsheet 0002E551-0000-0000-C000-000000000046
PivotTable 0002E552-0000-0000-C000-000000000046
DataSourceControl 0002E553-0000-0000-C000-000000000046
Chart 0002E556-0000-0000-C000-000000000046

New GUID for OWC10
Spreadsheet 0002E541-0000-0000-C000-000000000046
Chart 0002E546-0000-0000-C000-000000000046
PivotTable 0002E542-0000-0000-C000-000000000046
DSC 0002E543-0000-0000-C000-000000000046


--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
message
Hi !

I did had this problem before... I'm using OWC10 in Web applications.
I instance it on the server to output the HTML table for client without
Office or Windows...

It used to work on all machines: DEV (Win2k), TEST(Windows Server 2003
Std)
and PROD(Windows Server 2003 Std).
I don't think SP2 is installed already on the servers but should be
soon...

Whenever I try to instanciate the OWC10 in code on the server, it used
to:
-Succeed on DEV
-Fail on TEST
-Fail on PROD

M. Bruney (which I thanks very much because he did helped me a lot on
this
project...) suggested me
to re-register the components using regsvr32. I tried on TEST but with
no
success.
I reinstalled the components from the Internet
(<http://download.microsoft.com/download/OfficeXPStandard/owc10/1033/WIN98MeXP/EN-US/owc10.exe>)
on TEST and PROD, only PROD required a reboot.

Now, when trying to instanciate the OWC10 in code on the server, it:
-Succeed on DEV
-Succeed on TEST
-Fail on PROD

The error message is : "COM object with CLSID
{0002E542-0000-0000-C000-000000000046} is either not valid or not
registered."

Hoping you can help, have a nice day !
Claude Vernier

ps: Sorry for my poor english...
 
A

Alvin Bruney [MVP]

here is a transcription of a web chart i found about this topic. it explains
the service pack in detail
http://support.microsoft.com/default.aspx?scid=/servicedesks/webcasts/en/transcripts/wct040104.asp

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
Alvin Bruney said:
Thao can help you with that. I simple don't know.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
Claude Vernier said:
Hello,

I would need more informations on that SP3, was it especialy for OWC ?
Should the clients install it or only the server ?
I think that the error occurs when instanciating on the server, is there
a
way to specify a
GUID in that particular case ?

Thank you very much,
Claude


Alvin Bruney said:
this is a copy and paste from an earlier post from Thao, it may help you
as
you may be using an incorrect GUID

Here's a matrix of the GUID and IE version and which GUID to use.

(latest OWC SP3) (old OWC pre-SP3)
(IE6x) use old/new GUID must use old GUID
(IE5x) use new GUID only must use old GUID

Old GUID for OWC10:
Spreadsheet 0002E551-0000-0000-C000-000000000046
PivotTable 0002E552-0000-0000-C000-000000000046
DataSourceControl 0002E553-0000-0000-C000-000000000046
Chart 0002E556-0000-0000-C000-000000000046

New GUID for OWC10
Spreadsheet 0002E541-0000-0000-C000-000000000046
Chart 0002E546-0000-0000-C000-000000000046
PivotTable 0002E542-0000-0000-C000-000000000046
DSC 0002E543-0000-0000-C000-000000000046


--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
message
Hi !

I did had this problem before... I'm using OWC10 in Web applications.
I instance it on the server to output the HTML table for client
without
Office or Windows...

It used to work on all machines: DEV (Win2k), TEST(Windows Server 2003
Std)
and PROD(Windows Server 2003 Std).
I don't think SP2 is installed already on the servers but should be
soon...

Whenever I try to instanciate the OWC10 in code on the server, it used
to:
-Succeed on DEV
-Fail on TEST
-Fail on PROD

M. Bruney (which I thanks very much because he did helped me a lot on
this
project...) suggested me
to re-register the components using regsvr32. I tried on TEST but with
no
success.
I reinstalled the components from the Internet
(<http://download.microsoft.com/download/OfficeXPStandard/owc10/1033/WIN98MeXP/EN-US/owc10.exe>)
on TEST and PROD, only PROD required a reboot.

Now, when trying to instanciate the OWC10 in code on the server, it:
-Succeed on DEV
-Succeed on TEST
-Fail on PROD

The error message is : "COM object with CLSID
{0002E542-0000-0000-C000-000000000046} is either not valid or not
registered."

Hoping you can help, have a nice day !
Claude Vernier

ps: Sorry for my poor english...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top