Guest razor Posted August 20, 2007 Posted August 20, 2007 Hello-- We are migrating our webserver (IIS) from a box running Windows Server 2003 to a box running Windows 2003 -64 bit and when we try to register COM objects we are getting an error. Here is an error after trying to register a .dll: In a command window from the Windows/system32 folder... when we enter, "regsvr32 cdonts.dll" we get the following error: RegSvr32 "LoadLibrary("cdonts.dll) failed - The specified module could not be found." Please advise...
Guest Charlie Russel - MVP Posted August 20, 2007 Posted August 20, 2007 Re: Need Help Registering DLLs If your DLLs are 32-bit, you need to explicitly call the 32-bit DLL regsrv32. It is located in %windir%\syswow64. The problem is that 32-bit and 64-bit programs have a different view of the file system and "system32" is not the same to them. 32-bit programs see %windir%\syswow64 as "%windir%\system32". 64-bit programs see the real system32, which is for 64-bit programs and dlls. And if the mis-use of 64 and 32 in the directories doesn't confuse you, you're a better person than the rest of us. ;) -- Charlie. http://msmvps.com/xperts64 http://mvp.support.microsoft.com/profile/charlie.russel "razor" <razor@discussions.microsoft.com> wrote in message news:BF284B90-3450-4065-9734-833CABFB1E8A@microsoft.com... > Hello-- > > We are migrating our webserver (IIS) from a box running Windows Server > 2003 > to a box running Windows 2003 -64 bit and when we try to register COM > objects > we are getting an error. > > Here is an error after trying to register a .dll: > > In a command window from the Windows/system32 folder... when we enter, > "regsvr32 cdonts.dll" we get the following error: > > RegSvr32 "LoadLibrary("cdonts.dll) failed - The specified module could > not > be found." > > Please advise...
Guest razor Posted August 20, 2007 Posted August 20, 2007 Re: Need Help Registering DLLs Perfect--thank you. sd "Charlie Russel - MVP" wrote: > If your DLLs are 32-bit, you need to explicitly call the 32-bit DLL > regsrv32. It is located in %windir%\syswow64. > > The problem is that 32-bit and 64-bit programs have a different view of the > file system and "system32" is not the same to them. 32-bit programs see > %windir%\syswow64 as "%windir%\system32". 64-bit programs see the real > system32, which is for 64-bit programs and dlls. > > And if the mis-use of 64 and 32 in the directories doesn't confuse you, > you're a better person than the rest of us. ;) > > -- > Charlie. > http://msmvps.com/xperts64 > http://mvp.support.microsoft.com/profile/charlie.russel > > > "razor" <razor@discussions.microsoft.com> wrote in message > news:BF284B90-3450-4065-9734-833CABFB1E8A@microsoft.com... > > Hello-- > > > > We are migrating our webserver (IIS) from a box running Windows Server > > 2003 > > to a box running Windows 2003 -64 bit and when we try to register COM > > objects > > we are getting an error. > > > > Here is an error after trying to register a .dll: > > > > In a command window from the Windows/system32 folder... when we enter, > > "regsvr32 cdonts.dll" we get the following error: > > > > RegSvr32 "LoadLibrary("cdonts.dll) failed - The specified module could > > not > > be found." > > > > Please advise... >
Guest Dshai Posted August 21, 2007 Posted August 21, 2007 Re: Need Help Registering DLLs If it wasn't confusing it wouldn't be M$...;o) -- Dshai Life is limited only by those living it... "Charlie Russel - MVP" <charlie@mvKILLALLSPAMMERSps.org> wrote in message news:43252334-4DB0-44C0-A878-D9C0A3314DD0@microsoft.com... > If your DLLs are 32-bit, you need to explicitly call the 32-bit DLL > regsrv32. It is located in %windir%\syswow64. > > The problem is that 32-bit and 64-bit programs have a different view of > the file system and "system32" is not the same to them. 32-bit programs > see %windir%\syswow64 as "%windir%\system32". 64-bit programs see the real > system32, which is for 64-bit programs and dlls. > > And if the mis-use of 64 and 32 in the directories doesn't confuse you, > you're a better person than the rest of us. ;) > > -- > Charlie. > http://msmvps.com/xperts64 > http://mvp.support.microsoft.com/profile/charlie.russel > > > "razor" <razor@discussions.microsoft.com> wrote in message > news:BF284B90-3450-4065-9734-833CABFB1E8A@microsoft.com... >> Hello-- >> >> We are migrating our webserver (IIS) from a box running Windows Server >> 2003 >> to a box running Windows 2003 -64 bit and when we try to register COM >> objects >> we are getting an error. >> >> Here is an error after trying to register a .dll: >> >> In a command window from the Windows/system32 folder... when we enter, >> "regsvr32 cdonts.dll" we get the following error: >> >> RegSvr32 "LoadLibrary("cdonts.dll) failed - The specified module could >> not >> be found." >> >> Please advise... >
Guest razor Posted August 21, 2007 Posted August 21, 2007 Re: Need Help Registering DLLs It's actually pretty straight forward. The concern is whether there will be any performance issues with serving websites? sd "Charlie Russel - MVP" wrote: > If your DLLs are 32-bit, you need to explicitly call the 32-bit DLL > regsrv32. It is located in %windir%\syswow64. > > The problem is that 32-bit and 64-bit programs have a different view of the > file system and "system32" is not the same to them. 32-bit programs see > %windir%\syswow64 as "%windir%\system32". 64-bit programs see the real > system32, which is for 64-bit programs and dlls. > > And if the mis-use of 64 and 32 in the directories doesn't confuse you, > you're a better person than the rest of us. ;) > > -- > Charlie. > http://msmvps.com/xperts64 > http://mvp.support.microsoft.com/profile/charlie.russel > > > "razor" <razor@discussions.microsoft.com> wrote in message > news:BF284B90-3450-4065-9734-833CABFB1E8A@microsoft.com... > > Hello-- > > > > We are migrating our webserver (IIS) from a box running Windows Server > > 2003 > > to a box running Windows 2003 -64 bit and when we try to register COM > > objects > > we are getting an error. > > > > Here is an error after trying to register a .dll: > > > > In a command window from the Windows/system32 folder... when we enter, > > "regsvr32 cdonts.dll" we get the following error: > > > > RegSvr32 "LoadLibrary("cdonts.dll) failed - The specified module could > > not > > be found." > > > > Please advise... >
Guest Charlie Russel - MVP Posted August 21, 2007 Posted August 21, 2007 Re: Need Help Registering DLLs Shouldn't be. If you're configured to be large memory address aware, you'll actually get a real benefit, even with 32-bit programs, since they will now see a full 4GB of memory address space, without having to save some for the OS. This can often make a dramatic difference. (See the deployment scenarios whitepaper on the Microsoft Server 2k3 x64 site for an example.) -- Charlie. http://msmvps.com/xperts64 http://mvp.support.microsoft.com/profile/charlie.russel "razor" <razor@discussions.microsoft.com> wrote in message news:D70D84C7-FFB2-4400-900F-8CD6B37893A9@microsoft.com... > It's actually pretty straight forward. The concern is whether there will > be > any performance issues with serving websites? > > sd > > "Charlie Russel - MVP" wrote: > >> If your DLLs are 32-bit, you need to explicitly call the 32-bit DLL >> regsrv32. It is located in %windir%\syswow64. >> >> The problem is that 32-bit and 64-bit programs have a different view of >> the >> file system and "system32" is not the same to them. 32-bit programs see >> %windir%\syswow64 as "%windir%\system32". 64-bit programs see the real >> system32, which is for 64-bit programs and dlls. >> >> And if the mis-use of 64 and 32 in the directories doesn't confuse you, >> you're a better person than the rest of us. ;) >> >> -- >> Charlie. >> http://msmvps.com/xperts64 >> http://mvp.support.microsoft.com/profile/charlie.russel >> >> >> "razor" <razor@discussions.microsoft.com> wrote in message >> news:BF284B90-3450-4065-9734-833CABFB1E8A@microsoft.com... >> > Hello-- >> > >> > We are migrating our webserver (IIS) from a box running Windows Server >> > 2003 >> > to a box running Windows 2003 -64 bit and when we try to register COM >> > objects >> > we are getting an error. >> > >> > Here is an error after trying to register a .dll: >> > >> > In a command window from the Windows/system32 folder... when we enter, >> > "regsvr32 cdonts.dll" we get the following error: >> > >> > RegSvr32 "LoadLibrary("cdonts.dll) failed - The specified module could >> > not >> > be found." >> > >> > Please advise... >>
Guest razor Posted August 21, 2007 Posted August 21, 2007 Re: Need Help Registering DLLs Very good. Thanks again. sd "Charlie Russel - MVP" wrote: > Shouldn't be. If you're configured to be large memory address aware, you'll > actually get a real benefit, even with 32-bit programs, since they will now > see a full 4GB of memory address space, without having to save some for the > OS. This can often make a dramatic difference. (See the deployment scenarios > whitepaper on the Microsoft Server 2k3 x64 site for an example.) > > -- > Charlie. > http://msmvps.com/xperts64 > http://mvp.support.microsoft.com/profile/charlie.russel > > > "razor" <razor@discussions.microsoft.com> wrote in message > news:D70D84C7-FFB2-4400-900F-8CD6B37893A9@microsoft.com... > > It's actually pretty straight forward. The concern is whether there will > > be > > any performance issues with serving websites? > > > > sd > > > > "Charlie Russel - MVP" wrote: > > > >> If your DLLs are 32-bit, you need to explicitly call the 32-bit DLL > >> regsrv32. It is located in %windir%\syswow64. > >> > >> The problem is that 32-bit and 64-bit programs have a different view of > >> the > >> file system and "system32" is not the same to them. 32-bit programs see > >> %windir%\syswow64 as "%windir%\system32". 64-bit programs see the real > >> system32, which is for 64-bit programs and dlls. > >> > >> And if the mis-use of 64 and 32 in the directories doesn't confuse you, > >> you're a better person than the rest of us. ;) > >> > >> -- > >> Charlie. > >> http://msmvps.com/xperts64 > >> http://mvp.support.microsoft.com/profile/charlie.russel > >> > >> > >> "razor" <razor@discussions.microsoft.com> wrote in message > >> news:BF284B90-3450-4065-9734-833CABFB1E8A@microsoft.com... > >> > Hello-- > >> > > >> > We are migrating our webserver (IIS) from a box running Windows Server > >> > 2003 > >> > to a box running Windows 2003 -64 bit and when we try to register COM > >> > objects > >> > we are getting an error. > >> > > >> > Here is an error after trying to register a .dll: > >> > > >> > In a command window from the Windows/system32 folder... when we enter, > >> > "regsvr32 cdonts.dll" we get the following error: > >> > > >> > RegSvr32 "LoadLibrary("cdonts.dll) failed - The specified module could > >> > not > >> > be found." > >> > > >> > Please advise... > >> >
Recommended Posts