Click here to Skip to main content
15,878,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I am doing task of loading xml file ( which Exist in Physical Path on my Pc For Example D:/MyXmlDemo/17.xml) to XmlDataDocument, but every time I am getting error:

The operation has timed out

The code is as follows, The url containing the xml feeds , I want to load it into xmlDoc.

C#
XmlDataDocument xmlDoc = new XmlDataDocument();
xmlDoc.Load("D:/MyXmlDemo/17.xml");


Note : the File Size = 80 MB
Please suggest any solution.
Posted
Updated 26-May-13 8:21am
v2
Comments
Sergey Alexandrovich Kryukov 26-May-13 14:02pm    
Review your architecture. This volume is a bit too large for XML storage. Think about switching to a relational database, or something else...
—SA
Maciej Los 26-May-13 14:19pm    
My virtual 5!
Sergey Alexandrovich Kryukov 26-May-13 15:36pm    
My real thank you. :-)
—SA
Varun Sareen 27-May-13 1:16am    
Good answer 5+

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900