Re: writeXML(fullFilePath) DOESN'T Write

From: Ilya Tumanov [MS] (ilyatum_at_online.microsoft.com)
Date: 07/07/04


Date: Wed, 07 Jul 2004 03:31:09 GMT

Could you please describe how exactly you're looking for a file?
I also wonder if you get an exception on attempt to load saved file...

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
> Thread-Topic: writeXML(fullFilePath) DOESN'T Write
> thread-index: AcRju6KwGDQVK4dfRI6GvmgalEjZcg==
> X-WBNR-Posting-Host: 68.220.90.130
> From: =?Utf-8?B?QXJ0IENhYm90?= <trash@stricklandtechnical.com>
> References: <BCA6D9DC-F5B4-4E33-9F02-02FA480EFC4A@microsoft.com>
<u5RU8KyYEHA.3512@TK2MSFTNGP12.phx.gbl>
<AEF3C342-A1B4-4A83-B4D9-437AC56968D1@microsoft.com>
> Subject: Re: writeXML(fullFilePath) DOESN'T Write
> Date: Tue, 6 Jul 2004 17:45:01 -0700
> Lines: 64
> Message-ID: <D47D22B7-C890-462A-BE94-13C7C229D4D2@microsoft.com>
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="Utf-8"
> Content-Transfer-Encoding: 7bit
> X-Newsreader: Microsoft CDO for Windows 2000
> Content-Class: urn:content-classes:message
> Importance: normal
> Priority: normal
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> Newsgroups: microsoft.public.dotnet.framework.compactframework
> NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 127.0.0.1
> Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
> Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:56729
> X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
>
> I thought I might have the answer when I saw this in the emulator's Help
file:
>
> The following hardware and drivers are not supported in the Emulator:
>
> Universal serial bus (USB) devices
>
> PC Card devices
>
> Storage devices, which include compact flash (CF) cards and hard disks
>
> File system drivers, which include file allocation table (FAT), compact
disc (CD), and digital video disc (DVD) drivers
>
> IEEE 1394 devices
>
> But when I had a couple of programmers at our corporate headquarters try
on both a Windows CE and Pocket PC emulator, it worked for them.
>
> What am I missing?
> --
> Art Cabot
> Strickland Technical Services, Inc.
> Augusta, Georgia
>
>
> "Art Cabot" wrote:
>
> > Right now it's running on a Windows CE emulator and reading its input
XML into the dataset from the path noted in the code I've provided (using
variable sPath). I'm simply trying to write the XML back out to the same
path using the ds.writeXML(fullPath) command.
> >
> > The only reason rights are being mentioned at all is because we're
trying to figure out why the XML is not getting written back out. If I use
one of the sample code pieces from the VB .NET Resource Kit ("How To Write
An Offline Application") that runs under the full .NET Framework, it works
great, but when I move down into the Compact Framework, it won't write.
> >
> > To reiterate, it throws no exceptions, but the file just isn't there
--- anywhere --- when I look.
> > --
> > Art Cabot
> > Strickland Technical Services, Inc.
> > Augusta, Georgia
> >
> >
> > "Alex Feinman [MVP]" wrote:
> >
> > > Wait a minute... Are you doing this on a Windows CE device or on the
> > > desktop? If on the device, what Write Rights are you talking about?
Windows
> > > CE does not have filesystem permissions. Or perhaps you expect to
find the
> > > dataset xml written by the code on the device in your PC filesystem?
> > >
> > > --
> > > Alex Feinman
> > > ---
> > > Visit http://www.opennetcf.org
> > > "Art Cabot" <trash@stricklandtechnical.com> wrote in message
> > > news:BCA6D9DC-F5B4-4E33-9F02-02FA480EFC4A@microsoft.com...
> > > > I'm trying to write a DataSet back out to the same location it
reads in
> > > from with readXML(fullFilePath), just to a different filename. The
program
> > > breezes right on through with no exceptions, but the file just isn't
there!
> > > >
> > > > There's data in the DataSet and I have write rights to the
fullFilePath
> > > specified.
> > > >
> > > > What could be happening and how do I get around it?
> > > > --
> > > > Art Cabot
> > > > Strickland Technical Services, Inc.
> > > > Augusta, Georgia
> > >
> > >
> > >
>



Relevant Pages

  • Re: problem with XML DOM load command
    ... with invalid XML and I'm getting suspicious that something in a QFE ... has busted MSXML and its exception processing. ... © 2003 Microsoft Corporation. ... >> So this exception is on your main thread where you're doing the load. ...
    (microsoft.public.windowsce.embedded.vc)
  • XML Verarbeitung
    ... Ich möchte eine XML Datei in ein DataSet einlesen und in einem DataGrid ... An unhandled exception occurred during the execution of the ... Please review the stack trace for more information about ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Client Error When Consuming Web Method
    ... write directly to the XMLDocument. ... (Originally the XML was passed as a string. ... Server was unable to read ... First, is this actually a server side exception, or will the proxy code ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: managed out of memory exception in pocket pc 2002 emulator
    ... Which statement causes the exception? ... > 128kb project just won't load the form when i debug the project. ... >>> My pocket pc application was up and running in both the pocket pc 2002 ... both the emulator and the actual device could not load the ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Can I change to field type in an XML schema automatically?
    ... You should catch this exception and print out error messages from error ... >>>I have built an XML file using the DataSet.writeXML method and it creates ... >>> Now the issue I have is getting the Double into a sqlce database. ...
    (microsoft.public.dotnet.framework.compactframework)