Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to register DLL
Message
 
 
To
11/05/2008 16:38:14
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01316320
Message ID:
01316415
Views:
10
>I have built this DLL in .NET for COM interop. From the development PC, it works well. I can call it from Visual FoxPro and execute the required method. But, in order to have it ok on the server, I need to register the DLL. If I try to register it with regsvr32, it says:
>
>"DllRegisterServer entry point was not found"
>
>So, I tried with regasm.exe and obtain:
>
>"Failed to load '...' because it is not a valid .NET assembly"
>
>What am I missing?

Hi Michel,

I guess you already figured this out, but I also just found this info in the AssemblyInfo.cs file for the class I downloaded from the NET.
// Setting ComVisible to false makes the types in this assembly not visible 
// to COM components.  If you need to access a type in this assembly from 
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform