Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I access a c# asp.net dll in ASP code?

Status
Not open for further replies.

shaunacg

Programmer
Aug 1, 2003
71
GB
Hi,

I have a dll developed in c# (a class in a web project). It works fine when referenced from another .Net project, buy I'm trying to access it now from ASP. How do I do this? I keep getting this message: "DLLRegisterServer could not find an entry point", when I try to register it on the server it will be used on. Maybe I don't need to register it? But I still can't get it to work in ASP. Any ideas?

Thanks
 
A .net dll doesn't get registered like the old COM dlls used to. Read up on "Xcopy deployment" in the docs.

To call it from your code, you would right-click in your project tree on the references branch, and select "Add reference". You would then browse out to where it's located and select it. A local copy will then be made in your bin\Debug directory.

Chip H.


____________________________________________________________________
Click here to learn Ways to help with Tsunami Relief
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top