?
Solved

can't register C# dll

Posted on 2006-11-17
1
Medium Priority
?
456 Views
Last Modified: 2008-02-01
I created a MyFunctions.dll in C#, and want to use it in my ASP pages; however, when I attempt to register it via "regsvr32 c:\MyFunctions.dll", I get the error: "c:\MyFunctions.dll was loaded but dllregisterserver entry point not found".  What do I need to do to get it registered, so I can use it in my ASP pages?
0
Comment
Question by:arichexe
1 Comment
 
LVL 58

Accepted Solution

by:
amit_g earned 600 total points
ID: 17973340
For .Net dll to be used as legacy COM components, an interop is needed. There is a tool for this. Use as

regasm myTest.dll

You will find this in C:\WINNT\Microsoft.NET\Framework\The.NetVersion
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …

568 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question