Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RegAsm Error RA0000
Message
Information générale
Forum:
ASP.NET
Catégorie:
Controls activeX
Divers
Thread ID:
01642457
Message ID:
01642549
Vues:
124
>Hello all
>I created a DLL using c#.
>I tried to register it using RegAsm. But I get RA0000 error (: Failed to load '...\filename.dll' because it is not a valid .net assembly).
>
>I've never done before. So, I'm little lost on this.
>
>Can anyone tell me what I may be missing in my dll?
>
>Thank you in advance.

Are you sure you are registering the right file that is a compiled .NET assembly? The error message seems to suggest otherwise.

Also as Viv points out - you need to make sure that any COM components you want to access are marked as [ComVisible] otherwise no COM interfaces are created.

Keep in mind that you need to register components on all client machines as well. You might want to look at wwDotnetBridge and avoid all of this COM registration and instead access your COM components directly.

https://github.com/RickStrahl/wwDotnetBridge

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform