Edit xml data in web applications - CSharp

This is a discussion on Edit xml data in web applications - CSharp ; In my current web project, I keep part of the data in xml files. Problem is that everytime I run the project, if I need to edit the xml file to correct some data, it won't let me save. I'm ...

+ Reply to Thread
Results 1 to 3 of 3

Edit xml data in web applications

  1. Default Edit xml data in web applications

    In my current web project, I keep part of the data in xml files.
    Problem is that everytime I run the project, if I need to edit the xml
    file to correct some data, it won't let me save.

    I'm currently thinking of two things that may be causing the trouble,
    but I'm certain of none of them:

    i.- The xml is in a configuration folder inside the Inetpub directory,
    and as IIS is running prevents me from editing the file (I think this
    is the most probable).

    ii.- The xml file remains open after the data is read by the web
    application.

    Can anybody give me an insight?


    Thanks in advance

    Vic


  2. Default Re: Edit xml data in web applications

    Sounds to me like what ever method you are using to get the data out of
    the file, you are leaving the file open. Make sure to Close().


  3. Default Re: Edit xml data in web applications

    In fact, the file was left open. I was receiving an exception I wasn't
    expected just before closing the file.

    Thank you very much


+ Reply to Thread

Similar Threads

  1. edit data stored in xml file with the help of a xsd
    By Application Development in forum XML SOAP
    Replies: 0
    Last Post: 07-25-2006, 12:56 PM
  2. IMPORT DATA FROM DIFFERENT APPLICATIONS
    By Application Development in forum Microsoft Money
    Replies: 1
    Last Post: 06-18-2004, 09:48 AM
  3. Getting data from external applications in VB.Net
    By Application Development in forum basic.visual
    Replies: 0
    Last Post: 01-13-2004, 05:41 PM
  4. Connect to SQL DB and edit the data
    By Application Development in forum basic.visual
    Replies: 10
    Last Post: 12-28-2003, 09:49 PM
  5. Connect to SQL DB and edit the data
    By Application Development in forum basic.visual
    Replies: 0
    Last Post: 12-23-2003, 06:46 AM