Click here to Skip to main content
14,391,224 members
Rate this:
Please Sign up or sign in to vote.
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 2: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.
Rate this:
Please Sign up or sign in to vote.

Solution 1

Make sure this COM dll is installed and registered as part of the installation.
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

Might be an UAC issue too. Try and run regasm as Administrator.
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100