p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

vs_dotnet thread: problem reading XML document


Message #1 by "Ben Derdour" <derdour1@y...> on Fri, 29 Jun 2001 10:29:16
Hello!
I'm using the beta 2, and I have error message when executing this code:

1 FileStream fs;
2 StreamReader XmlStream;
3 fs = new FileStream("all.xml", FileMode.Open, FileAccess.Read);
4 XmlStream = new StreamReader(fs);
5 dataSet1.ReadXml(XmlStream); 

the error at the last line is:

Server Error in '/WebForm2906_2' Application.
-------------------------------------------------------------------------

The same table (Attributes) cannot be the child table in two nested 
relations. 

  Return to Index