473,387 Members | 1,592 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Hang while invoking IXMLDOMDocument::load

7
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
May 29 '09 #1
1 3915
sree83
7
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 :(
May 29 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Alexandra | last post by:
Hi, I am trying to parse an XML file using DOM in VC++. I need an element which is inside other elements. So I am loading the file.
3
by: Arti Potnis | last post by:
Hi, I am trying to execute the DB2 load utility from a C program. lPid = fork(); execl(csExePath, csExeName,csCmd, NULL); the contents of the parameter variables are as follows:-
4
by: Madhu Gopinathan | last post by:
Hi All, I am faced with a horrible hang problem. I have a COM exe server that executes some tasks. The task execution manager is a thread that manages the pool of threads, which is 4 per processor....
5
by: Ken Barrett | last post by:
I apologize in advance for cross-posting, but I have noted that others have experienced similar issues and was hoping that someone could help. Briefly, I am working on an ASP.NET content...
12
by: Ian Murphy | last post by:
Hopefully someone else has seen something similar. We are experiencing an odd problem with aspnet, iis6 and w2k3. I have written a small site which works fine during the day. Each morning however...
2
by: Jeff | last post by:
I am trying to dynamically load an assembly via reflection and then invoke a method of that assembly that will populate a custom type collection passed into the method byref. I am able to...
3
by: Polaris | last post by:
Hi Experts: Is there a way to load an existing buffer (an XML file) using IXMLDOMDocumentPtr->load()? I know it works for loading an XML file, but I need to load an existing buffer with known...
2
by: shanmani | last post by:
Hi, I am developing a .NET application which will invoke the methods from different COM / .NET DLLs. While invoking methods from .NET DLLs, I am encountering the following error. I have also...
1
by: theands | last post by:
Hello everyone I was wondering if someone can assist me. I just installed a fresh copy of debian etch on a server that was previously running windows. Startup time of the server is roughly an...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.