XML Sitemaps Generator

Author Topic: XML document must have a top level element. Error processing resource  (Read 10928 times)

sales893

  • Registered Customer
  • Approved member
  • *
  • Posts: 8
Been workng on installing this software for a few days on a windows IIS Server. Everything works for the html  and the text sitemaps. We cannot get the XML files to write. We have tried the root directory and a seperate folder. The permissions have been set.

This is the error message whentrying to view the sitemap.xml or the ror.xml files in a web browser. The XML files are not generating as I have looked at them on the server and the files are empty.

This issue has been posted several times without any clear fix??? Any ideas??

XML document must have a top level element. Error processing resource

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: XML document must have a top level element. Error processing resource
« Reply #1 on: November 03, 2010, 08:56:22 AM »
Hello,

did you create empty sitemap.xml file in domain root? Is it still empty if you check it via ftp after sitemap is created?
You should allow write access to sitemap.xml file in hosting control panel or via RDC for all usergroups, and specifically for IUSR_* group.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

sales893

  • Registered Customer
  • Approved member
  • *
  • Posts: 8
Re: XML document must have a top level element. Error processing resource
« Reply #2 on: November 03, 2010, 10:35:49 PM »
Yes we tried it in the root directory and it failed. What we had to do is put the sitemap.xml and the ror.xml file in the generator/data folder to make it work. The permissions were set on both files. If you put the .xml file in your root director how are these files suppose to work when the web display files that display these files in a web browser are inside the generator\pages\mods

It seems to me that when the xml files are placed in the domain root directory the software which is located inside the generator folder cannot find the necessary files to process the commands and you get errors.

As stated before the only way we were able to get the .html, ror.xml , sitemap.xml files to work were to put the two xml files in the data folder and build the link as follows:

[external links are visible to admins only]

Hopefully this post will save others hours of wasted time messing with the setup listed with the software.

sales893

  • Registered Customer
  • Approved member
  • *
  • Posts: 8
Re: XML document must have a top level element. Error processing resource
« Reply #3 on: November 03, 2010, 10:38:04 PM »
yourdomain /generator /data/

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: XML document must have a top level element. Error processing resource
« Reply #4 on: November 03, 2010, 10:55:45 PM »
You should use other folder than generator/data/ (that's a folder with backup copies of sitemap and that results in a conflict) - you can create domain.com/sitemaps/ folder for that, for instance.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

sales893

  • Registered Customer
  • Approved member
  • *
  • Posts: 8
Re: XML document must have a top level element. Error processing resource
« Reply #5 on: November 03, 2010, 11:57:34 PM »
Tried another folder off of the root direcory, set the same permissions as the data folder, set permissions on the xml files and still did not work. Error message as stated above.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: XML document must have a top level element. Error processing resource
« Reply #6 on: November 04, 2010, 01:21:36 PM »
Hello,

can you provide a temporary server access via private message for troubleshooting?
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2