all groups > dotnet interop > september 2005 >
You're in the

dotnet interop

group:

Help: Office XP Service pack 3 has (I think) killed my application :@( Class not registered



Help: Office XP Service pack 3 has (I think) killed my application :@( Class not registered Mark
9/20/2005 10:34:04 PM
dotnet interop: Hi Folks

I installed service pack 3 for Office XP a couple of days ago.

On my dev box when I opened up my application (which contains web controls
etc.) I got errors straight away. I got round the errors by changing a
couple of references relating to AxInterop.OWC10 and 11 (sorry for being
vague but I wasn't paying too much attention and it fixed the devbox
straight away).

Problem is that when I try to run the app on my laptop (which also got the
office SP3 applied), it fires up and loads the main menu and treeview ok,
but when I try and open a form containing a web control spreadsheet I get a
"Class not registered" error.

The exception text starts:

System.Runtime.InteropServices.COMException(0x80040154): Class not
registered
at System.Windows.forms.AxHost.CreateInstance()
etc. etc.

Strange this is that where the exception text relates to classes within the
application itself it shows the path as being the devbox path, not the apps
path on my laptop...

I'm new to dotNet from VB / VBA and I'm not sure where to start looking so
if anyone could point me in the right direction I'd be real greatful.

Cheers

Mark

Re: Office XP Service pack 3 has (I think) killed my application :@( Class not registered Mark
9/20/2005 10:47:04 PM
PS... If I remove the spreadsheet control all is well.

Thanks again

Mark

Re: Office XP Service pack 3 has (I think) killed my application :@( Class not registered Mark
9/20/2005 10:55:56 PM
PPS :@)

I got round the problem by deleting the spreadsheet control and recreating
using the AX 10 instead of 11.

I'd still be interested to know what I should have done to register the v11
control. I tried dropping it on regsvr32.exe but that failed.

Cheers

Mark (time for sleep at last :o)

AddThis Social Bookmark Button