DLL.NET wont register, Any Work rounds

  • Thread starter Thread starter MC
  • Start date Start date
M

MC

Hi

I have decided cause I am fed up of re-creating code that does the same
thing over and over again for various websites, I thought i'd try to write a
DLL and have done so in Visual Studio 2005 and tested it very well in VB.NET
exe debug test program and everything worked.

However, I want to register the DLL to use in my ASP and have done so using
trying, regsvr32.

I get the following error: "DllRegisterServer entry point was not found".

I cant find any reference to this on microsoft and i cannnot figure out a
resolution.

Any ideas
Regards
 
..NET uses new principles and in partiuclar doesn't need registration. The
simplest option is to drop the DLL in your /bin directory...

See the doc for details (as you have other options available for example
depending wether you want all istes using the exact same DLL or be able to
update a site while keeping the others with the older DLLs)...
 
I have figured out that there is new principles because no more registry
with .NET etc.

The DLL I have created will be used by all sites I have made, so how from an
ASP page and not ASPX page can i call the dll. The Server.CreateObject then
is no longer applicable I take it.

I am new to programming in such depth so any pointers or articles anyone
knows of would be useful

Thanks in advance
 
Sorry I assumed a shortcut when saying "ASP". You'll have to use the
"regasm" tool that allows to register an assembly for use from the COM world
(it creates a "wrapper")...
You'll then be able to use CreateObject from your ASP (non .NET)
application.
 

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

Back
Top