Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


MSXML issues in 64 bit

From: mrjaxon@-----.---
To: NULL
Date: 5/4/2007 10:29:00 AM

I have a C# web application which leverages MSXML that I am trying to
migrate to a 64 bit environment.  Currently the application is built
on the .NET 2.0 Framework and using MSXML 6 (though I had the same
issues using version 4).  The OS I am running the app on is Windows
Server 2003 x64.  I am using the x64 version of MSXML 6 on the
server.  My dev environment is Windows XP 32 bit SP2.  I have tried to
compile the projects for "anycpu" and "x64" with the same results.
The Interop.MSXML2.dll was generated by my dev environment
automatically when I added the MSXML 6 reference to my project.

Essentially whenever the program tries to instantiate a
FreeThreadedDOMDocument40, it throws an exception with the message,
"Object reference not set to instance of an object".  I have tried to
use MSXML 4 and 6 (both are installed on the server) with the same
results.  The line of code is:

cXMLDOM = new FreeThreadedDOMDocument40Class();

The program seems to be able to find the Interop.MSXML2.dll (I used
FuselogVW.exe to confirm it), but it is still unable to find the
necessary DLLs in the system directories.  The msxml6.dll and
msxml6r.dll are present in both the system32 and SysWOW64 directories,
and the application works fine in a 32bit environment.



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent