Connecting Tech Pros Worldwide Forums | Help | Site Map

Hang while invoking IXMLDOMDocument::load

Newbie
 
Join Date: Jan 2008
Posts: 7
#1: May 29 '09
Hi All,

I am new to MSXML. Now i have am facing a strange problem while loading xml file using c++.
I have a C++ library which is used to parse an xml having server configurations..
We have managed C++ bridge to this assembly, for our .NET modules.
I have a .Net client which tries to get server details from configuration files..but while IXMLDOMDocument::load is invoked.application hangs.....

The strangest thing is, this issue occur only in one of our machines. Please note that XP SP3 is used and .NET runtime is installed

Thanks in advance



Newbie
 
Join Date: Jan 2008
Posts: 7
#2: May 29 '09

re: Hang while invoking IXMLDOMDocument::load


The issue seems to be fixed after I set
Expand|Select|Wrap|Line Numbers
  1. pDoc->put_async(VARIANT_FALSE)
..

Earlier it was like
Expand|Select|Wrap|Line Numbers
  1. pDoc->put_async(VARIANT_TRUE);        
  2. pDoc->put_validateOnParse(FALSE);
  3. pDoc->load(vURL, &vb);
  4. WaitForCompletion(pDoc);

but then how it works with all other client machines without any problem.??..Really Confused :(
Reply

Tags
ixmldomdocument::load