Solved

can't register C# dll

Posted on 2006-11-17
1
407 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 150 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

867 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now