DataSet XmlWrite error (c#) - URI formats not supported
From: Greg R (anonymous_at_discussions.microsoft.com)
Date: 04/23/04
- Previous message: Carolina: "Re: ADO reads null values from Sybase stored procedure result"
- Next in thread: Val Mazur: "Re: DataSet XmlWrite error (c#) - URI formats not supported"
- Reply: Val Mazur: "Re: DataSet XmlWrite error (c#) - URI formats not supported"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 23 Apr 2004 10:56:07 -0700
When attempting to write to an xml file on a shared server I get this message:
[ArgumentException: URI formats are not supported.]
System.IO.Path.GetFullPathInternal(String path) +270
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +233
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +45
System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding) +34
System.Data.DataSet.WriteXml(String fileName, XmlWriteMode mode) +48
System.Data.DataSet.WriteXml(String fileName) +7
This error occurs when my ASP.NET app.dll tries to call: mydataset.XmlWrite(strPath + "/myxml.xml");
I am not sure where the problem is. Any suggestions?
Thank you,
- Previous message: Carolina: "Re: ADO reads null values from Sybase stored procedure result"
- Next in thread: Val Mazur: "Re: DataSet XmlWrite error (c#) - URI formats not supported"
- Reply: Val Mazur: "Re: DataSet XmlWrite error (c#) - URI formats not supported"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|