all groups > visual studio .net general > april 2005 >
You're in the

visual studio .net general

group:

Need some urgent help with error message please...


Need some urgent help with error message please... Tom Rahav
4/30/2005 12:00:00 AM
visual studio .net general:
Hi.

I use visual basic .net and develop windows application. Everything went
well with deploying my app. until I added two office web components: office
chart and office spreadsheet into one of the forms.
Now, I have no problems to run the app. on my development laptop, but when I
try to install it on a different PC that doesn't have development
environment installed, I get an error message: "Class not registered".
I've installed the office web components runtime files (owc10.exe from
microsoft web site) and included all the files I thougnt that might be
related, but still get the same error message.
What else should I include in the setup project or install on that PC?

Many thanks!
Tom Rahav.

RE: Need some urgent help with error message please... v-kevy NO[at]SPAM online.microsoft.com
5/3/2005 9:11:24 AM
Hi Tom,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that when you have installed OWC10.exe in
your client machine, your app which references office web components throws
exception which says "Class not registered". If there is any
misunderstanding, please feel free to let me know.

As far as I know, after installing the OWC10.exe, the OWC10.DLL should be
registered automatically. Could you let me know which version of web
components your app is using? Please make sure that it's Office XP(10) so
that we're installing the correct version for OWC.

You can try to reinstall the OWC10.exe. If it still doesn't work, here is
workaround. Find OWC10.DLL and register it manually with regsvr32. The
OWC10.DLL is under the following folder C:\Program Files\Common
Files\Microsoft Shared\Web Components\10

Use regsvr32 OWC10.DLL to register it.

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
Re: Need some urgent help with error message please... Tom Rahav
5/5/2005 12:00:00 AM
Hi Kevin.

Thanks for your reply.
I use Office 2003 on my dev. PC, and my client PC use Office XP.
The web components I use are Microsoft Office Spreadsheet 11.0 and Microsoft
Office Chart 11.0.
When I look in my application's folder in the setup project, I see the that
following files are included:
AxInterop.OWC10.dll
AxInterop.OWC11.dll
Interop.OWC11.dll
OWC11.dll
So I guess they are all included in the .msi file that I use to install my
app.
I've installed the dll file as you instructed me and got the sccesssully
message, but when I run it I got the same problem.
I added an ex.ToString line in the Try...Catch block where I get the error,
and I got the following error message (attached).
what should I try now?

Thanks!
Tom Rahav.

[quoted text, click to view]

Re: Need some urgent help with error message please... v-kevy NO[at]SPAM online.microsoft.com
5/5/2005 12:00:00 AM
Hi Tom,

It seem's that you've got some new error messages. Right? But I didn't see
the attached message. Did you forget it? :-)

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
AddThis Social Bookmark Button