DLL registration problem on NT server

They have: 47 posts

Joined: Jan 2000

I am getting an error when I try registering DLLs on my server using regsvr32 utility. This is what I am getting:

LoadLibrary("filename_of_DLL") failed.
GetLastError returns 0x0000007e.

Any ideas on how to fix this?

Thanks

Eugene Grinberg http://www.interprosolution.com
FREE Tools & Services for Webmasters

They have: 76 posts

Joined: Apr 1999

Eugene,

Or you logged on with Admin authority on that machine?

Is this a dll you compiled? If so maybe there is some bogus code, what language was it before you compiled it as a .dll?

Later,
PJ

They have: 47 posts

Joined: Jan 2000

Hi PJ,

Thanks for your reply.

Yes, this DLL was compiled by me. It was written with VB6 and it was registered on two other NT servers. Therefore it should not be a problem of the DLL object.

Right now I bought a new NT server and I am in the process of migrating my site to that server. I already installed NT and IIS, and I had no problems during the installation, everything was very smooth.

The 'LoadLibrary("filename_of_DLL") failed' problem occured when I tryed registering the DLL.

I am afraid that there is something wrong with NT, and I need to reinstall the entire thing.

What do you think?

Eugene Grinberg http://www.interprosolution.com
FREE Tools & Services for Webmasters

They have: 76 posts

Joined: Apr 1999

Eugene,

If you've installed the dll on another NT machine with no problems then you're right, there must be an issue with that installation of NT.

If you're sure you're logged on as admin then I guess you're going to have to try and reinstall NT.

Sorry I don't have any other ideas, and trust me you don't want to try and register it manually

PJ

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.