xml data lost

Last post 11-06-2007, 3:23 PM by Zapotec. 3 replies.
Sort Posts: Previous Next
  •  07-16-2007, 3:52 AM 31566

    xml data lost

    Hi, while browsing the gallery, the xml file is suddently emptied. I have one "user" galley where all upload/batch functions are diabled and on "admin" gallery where upload functions are enabled. The xml file get corrupted while browsing images using the "user" version. To restore my images, I click on the "batch build" button.
    It is however annoying to discover that the galley is empty all the time.
     
    Here is the contents of the "empty" xml:
    <?xml version="1.0" standalone="yes"?>
    <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
      <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
        <xs:complexType>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="image">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="url" type="xs:string" minOccurs="0" />
                  <xs:element name="id" msdata:AutoIncrement="true" type="xs:int" />
                  <xs:element name="title" type="xs:string" minOccurs="0" />
                  <xs:element name="description" type="xs:string" minOccurs="0" />
                  <xs:element name="date" type="xs:string" minOccurs="0" />
                  <xs:element name="size" type="xs:string" minOccurs="0" />
                  <xs:element name="width" type="xs:int" minOccurs="0" />
                  <xs:element name="height" type="xs:int" minOccurs="0" />
                  <xs:element name="t_width" type="xs:int" minOccurs="0" />
                  <xs:element name="t_height" type="xs:int" minOccurs="0" />
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:choice>
        </xs:complexType>
        <xs:unique name="Constraint1" msdata:PrimaryKey="true">
          <xs:selector xpath=".//image" />
          <xs:field xpath="id" />
        </xs:unique>
      </xs:element>
    </xs:schema> 
  •  08-02-2007, 5:35 AM 32111 in reply to 31566

    Re: xml data lost

  •  10-15-2007, 3:56 PM 34308 in reply to 32111

    Re: xml data lost

    Hi Adam,
     
    I'm sorry to say that I still have problems with the XML datastore. Is it possible to use a SQL database instead of XML files?
  •  11-06-2007, 3:23 PM 34852 in reply to 34308

    Re: xml data lost

    Hi,
     
    I'm having big problems with the Gallery. For some reason the XML files are recreated at random, but with no images.
    Every time this happens I have to batch build the gallery to get the images into the XML file again.
    This is a pain in the a**, and I'm getting alot of angry customers each time this happens.
    Can you please investigate this problem, as I need a solution asap, either getting dotnetgallery fixed, or finding another gallery control.
     
    I've now set Read-only attribute on the gallery below, hoping this will prevent flushing of the xml data. But this solution is preventing new uploads to the galley, and therefore not a lasting solution.
     
    Regards,
    Thomas
View as RSS news feed in XML