Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi All, very good afternoon.

I have a project developed in vb.net 2003(Dotnet 1.0) it consist of AxInterop.MSFlexGridLib. The grid used is MSFLEXgrid. I have migrated the whole project to VS 2005 then while opening the form that consist of the grid throws me a error as below:
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. 
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) 
Hide     
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.set_Site(ISite value)
at System.ComponentModel.Container.Add(IComponent component, String name)
at System.ComponentModel.Design.DesignerHost.Add(IComponent component, String name)
at

Please help.
Posted
Updated 23-Apr-11 3:59am
v2

It looks like whichever program or process you're trying to initialize either isn't installed on your machine, has a damaged installation or needs to be registered.
Either install it, repair it (via Add/Remove Programs) or register it (via regsrv32.exe).

You should resister your MSFlexGridLib comm control
because it may damage or corrupted
 
Share this answer
 
Comments
[no name] 23-Apr-11 6:17am    
First Add comment instead of adding AnswerSecondYou and get SetUp of AxInterop.MSFlexGridLib.dll in

http://www.dllerrorsfixed.com/solutions/AxInterop.MSFlexGridLib.dll.html

Install it and then reply
Sandeep Mewara 23-Apr-11 9:59am    
Comment from OP:
santhosh thx for the reply

i try to regsiter the dll using regsvrr32.exe then i get the following error
iam using a VistaHome premium 4 bit os

AxInterop.MSFlexGridLib.dll
[Window Title]
RegSvr32
[Content]
The module "AxInterop.MSFlexGridLib.dll" was loaded but the entry-point DllRegisterServer was not found.
Make sure that "AxInterop.MSFlexGridLib.dll" is a valid DLL or OCX file and then try again.

can you please provide the me the dll
AxInterop.MSFlexGridLib.dll

regards
Shanavas
I think you are trying to reference the old .NET 1.1 interop DLLs. Try removing those references and re-add the COM reference, which will automatically create the .NET 2.0 interop shim DLLs for you.
 
Share this answer
 
Comments
[no name] 23-Apr-11 10:52am    
may be but how we resolved such problem
Nish Nishant 23-Apr-11 10:54am    
I'v suggested what you can do. Have you given that a try?
shanavas_sm 23-Apr-11 11:24am    
yes iam trying to refer 1.1 interop dlls.but these MSFlexgrid dll are not available with me
Nish Nishant 23-Apr-11 11:25am    
You need the original COM DLL to be able to resolve this. The 1.1 interop DLLs will not work any more.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900