Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

AxSpreadSheet control ClassFactory Error

Posted on 2012-03-16
12
Medium Priority
?
923 Views
Last Modified: 2012-08-13
Hello EE,

I have a form in vb.net with a OWC11 control

I have the references :

AxInterop.OWC11
Microsoft.Office.Interop.Owc11

It works very well on my machine.
works also at some clients.

there is one developer here that cannot open the form and he's having the error:

ClassFactory cannot supply requested class (Exception from HRESULT: 0x80040111 (CLASS_E_CLASSNOTAVAILABLE))

when loading the solution on his visual studio, trying to open the Design Form, Im having same error.

Both machine working and not working have same frameworks...has Office web 2003 components..


I dont know where to search anymore

can you help ?
0
Comment
Question by:PhilippeRenaud
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
12 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37730169
Try reregistering the component using regsvr32.
0
 
LVL 1

Author Comment

by:PhilippeRenaud
ID: 37730174
Do you mean the Dll's ?
0
 
LVL 1

Author Comment

by:PhilippeRenaud
ID: 37730210
it is saying:  C:\Elk\9_....\bin\AxInterop.OWC11.dll was loaded, but the DllRegisterServer entry point was not found.

this file can not be registered.


when I try to do instead:

regsvr32 "DLL C:\Elk\9_...\bin\AxInterop.OWC11.dll"
im having:

LoadLibrary("C:\Elk\9_....\bin\AxInterop.OWC11.dll") failed - The specified module could not be found
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 1

Author Comment

by:PhilippeRenaud
ID: 37768222
CodeCruiser, can you help me some more ?
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37769093
Sorry mate I am out of ideas. I had this question open in my window since your last comment and I actually did some more research TODAY thinking I will post more info but could not find anything.
0
 
LVL 1

Author Comment

by:PhilippeRenaud
ID: 37769106
Can you maybe tell me why i cannot register and or unregister the dll?
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37769139
That's probably because its not a COM component. The AX*** is a .NET assembly. Did you try regsvr32 on the OWC assembly itself?
0
 
LVL 1

Author Comment

by:PhilippeRenaud
ID: 37772549
what do I need to type to get OWC assembly itself?  not sure to understand
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 1500 total points
ID: 37774073
This would be in program files somewhere such as


C:\Program Files\Common Files\Microsoft Shared\Web Components\11\OWC11.DLL
0
 
LVL 1

Author Closing Comment

by:PhilippeRenaud
ID: 37800891
It was a little related to that. I found the solution. I went to microsoft update then tried again. not working.  I have deleted from add/remove programs the Office 2003 components. then re-install it. It was still not working I went back to microsoft update and now i was seeing updates for Office compenents. I installed them then tried again and now I could successfully open my form.
0

Featured Post

RHCE - Red Hat OpenStack Prep Course

This course will provide in-depth training so that students who currently hold the EX200 & EX210 certifications can sit for the EX310 exam. Students will learn how to deploy & manage a full Red Hat environment with Ceph block storage, & integrate Ceph into other OpenStack service

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
New style of hardware planning for Microsoft Exchange server.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question