Tech Support > Microsoft Windows > Drivers > regsvr32 error says "file not found" on Win2003 Server
regsvr32 error says "file not found" on Win2003 Server
Posted by Jerry on September 26th, 2003


Hello all,
Last week I asked this forum how to register a DLL and got the answer:
________________
Assuming the dll was not part of a COM+ package, put your dll in the
directory you want (doesn't have to be part of the folder structure for the
website) and then open a DOS prompt and type:

regsvr32.exe c:\PathToTheDLL
________________

We are running Win2003 Server Web edition and when I do this I get the error
message:

LoadLibrary("c:\Windows\system32\filefunctions.dll ") failed - The specified
module could not be found.

This is definitely where the file is. The DLL is necessary to support a
function in the ColdFusion based administrator tools for our web site. Any
ideas anyone??

There is one strange thing about this DLL and that is that it was written in
1997 and when I view the permissions on the file I cannot change them at
all. I copied it over from the server that is currently in use and I am
trying to get the new server ready to replace the old server.

Last important thing is that when I looked at the Properties panel just now
I saw the following comment:

COM object for providing filefunctions to ASP. So it appears that this
could be part of a COM+ package as indicated in the answer I received in the
forum.

I'm the ColdFusion guy - not a windows developer but I have not been able to
resolve this.

Thanks in advance, Jerry


Posted by lallous on September 27th, 2003


Hi Jerry,

You might get this error if some of the dlls needed by your DLL are missing.
Try using "Depends" tool to check what other DLLs are needed by this dll.

--
Elias
http://lgwm.org/

"Jerry" <gweir@simplicity.com> wrote in message
news:OXxvYgGhDHA.620@TK2MSFTNGP11.phx.gbl...


Posted by Tim Roberts on September 28th, 2003


"Jerry" <gweir@simplicity.com> wrote:
Yes, this is correct.

LoadLibrary can also fail if the DLL needs another DLL that isn't present.
Do you have the "depends" tool to check its dependencies?

That suggests you might not be the "owner". Are you running as an
administrator? You can use the "security" tab to change the ownership.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.