Groups | Blog | Home
all groups > dotnet interop > october 2004 >

dotnet interop : System.Runtime.InteropServices.COMException: Class not registered


Donnie
10/7/2004 4:13:05 PM
Hello,
I'm trying to develop an ASP.NET application that uses a third-party COM
dll. I've added a reference to the dll in the web app project along with
adding a "using" directive in the code-behind (referencing the COM
namespace). Every time I try and run the application and call methods on the
COM object, I get the following error:

System.Runtime.InteropServices.COMException: Class not registered

I've successfully registered the dll using regsvr32 and added
the AspCompat="true" directive on the Page, but doesn't seem to help.

I'd really appreciate any suggestions on how to remedy this problem.

Thanks for your time.

Note: I've also posted this message in dotnet.framework.aspnet.

Donnie


Donnie
10/8/2004 10:07:01 AM
Hello,
I was able to resolve this problem. When I was using the COM object to
connect
to a server, I didn't specify the server path correctly.

Donnie

[quoted text, click to view]
AddThis Social Bookmark Button