Problem Registering COM Interop Assembly

O

Osvaldo Bisignano

First, Sorry for crossposting.

I've run the installer on a mahine with windows 2000 professional and it registered my COM interop dll without any problem. I could check this because in this machine i have VB6 installed and i could check that i could consume it and create instances of my objects.

But i've run the same installer on a Windows 2000 Server without VB6. I need to create a component from ASP classic pages.
The problem is that the installer does not registered my dll automatically, so i tried to register it manually, using regsrv32.exe, then i got the following message:

"migradoraria.dll was loaded, but the DllRegisterServer entry point was not found.
DllRegisterServer may not be exported, or a corrupt version of MigradorAria.dll may be in memory. Consider using PView to detect and remove it."

Any idea??
PS: .NET Framework 1.1 is installed on the server
 
J

John Wadie

You can't register a managed assembly using regsvr32, you should use regasm.
Take a look at
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconexposingnetframeworkcomponentstocom.asp

Regards,
John Wadie

First, Sorry for crossposting.

I've run the installer on a mahine with windows 2000 professional and it
registered my COM interop dll without any problem. I could check this
because in this machine i have VB6 installed and i could check that i could
consume it and create instances of my objects.

But i've run the same installer on a Windows 2000 Server without VB6. I need
to create a component from ASP classic pages.
The problem is that the installer does not registered my dll automatically,
so i tried to register it manually, using regsrv32.exe, then i got the
following message:

"migradoraria.dll was loaded, but the DllRegisterServer entry point was not
found.
DllRegisterServer may not be exported, or a corrupt version of
MigradorAria.dll may be in memory. Consider using PView to detect and remove
it."

Any idea??
PS: .NET Framework 1.1 is installed on the server
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top