cannot register msxml3.dll, strange problem

G

Guest

hi,

i got the following problem:

i want to use bonfire studio (freeware), which contains a xml-editor and
parser, installation was fine, but if i now open an xml - file and click on
"validate xml file" (in other words, starting the parser), i get the
following error:

msxml3.dll not registered

so i did the following
- downloaded msxml3.dll
- copied the dll into WINNT\system32
- typed regsvr32 msxml3.dll in the console

and got the error-message:

"LoadLibrary("msxml3.dll") failed - A DLL-Initialization-routine failed"

regsvr32 msxml.dll and regsvr32 msxml4.dll works, but regsvr32 msxml2.dll
and regsvr32 msxml3.dll not, has somebody an idea how i can fix this?
i am out of ideas.......

thx in advance
 
D

Dave Patrick

LoadLibrary can fail if the DLL is not in the specified path, or if the
specified path is incorrect. LoadLibrary can also fail if one of the
dependencies of the DLL that you are trying to load is not met; in other
words, if a dependent DLL is not present or is not in the specified path.

1.) If the dll has dependencies or is dependent on others, then it's
important to replace with the same version.
2.) If the dll exports the DLLRegisterServer, DllUnregisterServer functions
then it's best to unregister

regsvr32.exe /u "PathToDLL"
then after replacement
regsvr32.exe "PathToDLL"

INFO: How Regsvr32.exe Registers and Unregisters COM DLLs
http://support.microsoft.com/default.aspx?kbid=207132

Explanation of Regsvr32 Usage and Error Messages
http://support.microsoft.com/default.aspx?kbid=249873

You can run depends.exe against the DLL to check dependencies

You'll find depends.exe within
\SUPPORT\TOOLS\SUPPORT.CAB


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| hi,
|
| i got the following problem:
|
| i want to use bonfire studio (freeware), which contains a xml-editor and
| parser, installation was fine, but if i now open an xml - file and click
on
| "validate xml file" (in other words, starting the parser), i get the
| following error:
|
| msxml3.dll not registered
|
| so i did the following
| - downloaded msxml3.dll
| - copied the dll into WINNT\system32
| - typed regsvr32 msxml3.dll in the console
|
| and got the error-message:
|
| "LoadLibrary("msxml3.dll") failed - A DLL-Initialization-routine failed"
|
| regsvr32 msxml.dll and regsvr32 msxml4.dll works, but regsvr32 msxml2.dll
| and regsvr32 msxml3.dll not, has somebody an idea how i can fix this?
| i am out of ideas.......
|
| thx in advance
|
 

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

Top