Click here to Skip to main content
15,895,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi

I have created Activex(COM control) control in .NetFramework 4.0, in this Activex I have used some 3rd party references.

To use this Control in Web application I have created .CAB file
I want register this Activex control in Client machine using RegAsm.exe (V.4.0)

My cab file setup is working fine in Windows Xp machine, and it is also working in Windows 7 machine (VS 2010 installed)

But my Client machine is Windows 7 and Framework 4.0 only installed. There it is failed

While registering using RegAsm I am getting following Error

RegAsm : error RA0000 : Could not load file or assembly 3RdParty.dll or one of its dependencies. The specified module could not be found.

Please Help me to fix this issue
Posted
Updated 24-Oct-10 1:00am
v3
Comments
Venkatesh Mookkan 24-Oct-10 7:08am    
I still doubt that you could write a ActiveX using .NET. You are try, which always works in the developer's machine but will not work in the user's machine.

But you can write a COM.

Make sure this COM dll is installed and registered as part of the installation.
 
Share this answer
 
Might be an UAC issue too. Try and run regasm as Administrator.
 
Share this answer
 

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