Re: DataSet XmlWrite error (c#) - URI formats not supported
From: Val Mazur (group51a_at_hotmail.com)
Date: 04/24/04
- Next message: Val Mazur: "Re: Client Database Solution, or best practice"
- Previous message: Val Mazur: "Re: Row cannot be located for updating"
- In reply to: Greg R: "DataSet XmlWrite error (c#) - URI formats not supported"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 23 Apr 2004 22:43:53 -0400
Hi,
Based on error message, your string, which specifies location of the file to
save is not correct or this format is not supported by DataSet. Try to debug
code and see what this string looks like
-- Val Mazur Microsoft MVP "Greg R" <anonymous@discussions.microsoft.com> wrote in message news:2EE33A36-713F-44E5-A55C-6277C4C974A7@microsoft.com... > 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, >
- Next message: Val Mazur: "Re: Client Database Solution, or best practice"
- Previous message: Val Mazur: "Re: Row cannot be located for updating"
- In reply to: Greg R: "DataSet XmlWrite error (c#) - URI formats not supported"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|