+ Reply to Thread
Results 1 to 8 of 8

Thread: XML Parsing Error: no element found Location

  1. #1
    fearrenjith is offline x10Hosting Member fearrenjith is an unknown quantity at this point
    Join Date
    Jan 2010
    Posts
    3

    XML Parsing Error: no element found Location

    hey,
    i tried working with a test site in x10 hosting but i got an error while opening my page

    XML Parsing Error: no element found
    Location: http://iamrenjith.co.cc/Home.aspx
    Line Number 1, Column 1:

    what could be the problem?

  2. #2
    kbjradmin's Avatar
    kbjradmin is offline x10 Elder kbjradmin is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Washington State, USA
    Posts
    512

    Re: XML Parsing Error: no element found Location

    umm.... more information...?

  3. #3
    fearrenjith is offline x10Hosting Member fearrenjith is an unknown quantity at this point
    Join Date
    Jan 2010
    Posts
    3

    Re: XML Parsing Error: no element found Location

    Quote Originally Posted by kbjradmin View Post
    umm.... more information...?
    what else?
    shal i paste the web.config file? is that where the problem belongs to?

  4. #4
    kbjradmin's Avatar
    kbjradmin is offline x10 Elder kbjradmin is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Washington State, USA
    Posts
    512

    Re: XML Parsing Error: no element found Location

    i don't know a lot about aspx (therefore, please correct anything wrong that i say), from what i've gathered by searching around, your error seems to mean that your document is empty, usually resulting from some sort of exception being thrown before any output can be made. however, without being able to see the code, it would be difficult to tell where that error is coming from. therefore, please post the code causing the error, so those who know a little more about the topic than me can actually be somewhat helpful. (:

  5. #5
    rodgero is offline x10Hosting Member rodgero is an unknown quantity at this point
    Join Date
    Apr 2010
    Location
    Gloucestershire, UK
    Posts
    3

    Unhappy Re: XML Parsing Error: no element found Location

    I'm also getting this error on my asp pages, such as http://loyalty.r-oates.x10.mx/Default.aspx

    I'm including the markup below to show that there obviously should be an element found.

    Regards

    Rodger

    <%@ Page Language="C#" Inherits="LoyaltyCard.Web.Default" MasterPageFile="~/Templates/LoyaltyCard.Master" %>
    <asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <h2 class="bluebackground">Welcome</h2>
    <div class="info">
    <div class="picturebox" style="float: right; padding: 10px;">
    <img src="Content/Images/UOGLogo.gif" alt="UoG Logo" />
    </div>
    <p>
    Welcome to the University Of Gloucestershire Loyalty Card management system, UniLoyal. Here you can administer
    your loyalty card and manage your loyalty points.
    </p>

    This includes tasks such as:
    <ul class="arrows">
    <li>Viewing your purchase history</li>
    <li>Viewing your current points</li>
    <li>Requesting a replacement card</li>
    <li>Updating your details</li>
    </ul>

    <p>
    Registration is free and once you've registered, your Loyalty Card will be posted to
    you. <a href="/Users/Register.aspx">Register now</a> to start collecting!
    </p>
    </div>

    <div style="clear: both"></div>

    <h2 class="bluebackground">Your loyalty card</h2>
    <div class="info">
    <div class="picturebox" style="float: right; padding: 10px;">

    </div>

    <p>
    Your loyalty card entitles you to a range of discounts, at a range of locations around the University
    of Gloucestershire campuses.
    </p>

    This includes:
    <ul class="arrows">
    <li>Park bar</li>
    <li>Park shop</li>
    <li>FCH bar</li>
    <li>Pitville bar</li>
    <li>Pitville shop</li>
    </ul>

    <p>
    For every pound you spend, you earn 2 points, this entitles you to free stuff when you've collected enough.
    Some of the items you can buy are in the table to the right, but many more items also offer point rewards!
    </p>
    </div>
    </asp:Content>

  6. #6
    rodgero is offline x10Hosting Member rodgero is an unknown quantity at this point
    Join Date
    Apr 2010
    Location
    Gloucestershire, UK
    Posts
    3

    Unhappy Re: XML Parsing Error: no element found Location

    I'm also getting this error when I try to view my aspx pages. I'm including the markup for one of my pages to show that this document is certainly NOT empty

    <%@ Page Language="C#" Inherits="LoyaltyCard.Web.Default" MasterPageFile="~/Templates/LoyaltyCard.Master" %>
    <asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <h2 class="bluebackground">Welcome</h2>
    <div class="info">
    <div class="picturebox" style="float: right; padding: 10px;">
    <img src="Content/Images/UOGLogo.gif" alt="UoG Logo" />
    </div>
    <p>
    Welcome to the University Of Gloucestershire Loyalty Card management system, UniLoyal. Here you can administer
    your loyalty card and manage your loyalty points.
    </p>

    This includes tasks such as:
    <ul class="arrows">
    <li>Viewing your purchase history</li>
    <li>Viewing your current points</li>
    <li>Requesting a replacement card</li>
    <li>Updating your details</li>
    </ul>

    <p>
    Registration is free and once you've registered, your Loyalty Card will be posted to
    you. <a href="/Users/Register.aspx">Register now</a> to start collecting!
    </p>
    </div>

    <div style="clear: both"></div>

    <h2 class="bluebackground">Your loyalty card</h2>
    <div class="info">
    <div class="picturebox" style="float: right; padding: 10px;">

    </div>

    <p>
    Your loyalty card entitles you to a range of discounts, at a range of locations around the University
    of Gloucestershire campuses.
    </p>

    This includes:
    <ul class="arrows">
    <li>Park bar</li>
    <li>Park shop</li>
    <li>FCH bar</li>
    <li>Pitville bar</li>
    <li>Pitville shop</li>
    </ul>

    <p>
    For every pound you spend, you earn 2 points, this entitles you to free stuff when you've collected enough.
    Some of the items you can buy are in the table to the right, but many more items also offer point rewards!
    </p>
    </div>
    </asp:Content>

  7. #7
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: XML Parsing Error: no element found Location

    The error is created by the browser, because of the header sent by the server.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  8. #8
    rodgero is offline x10Hosting Member rodgero is an unknown quantity at this point
    Join Date
    Apr 2010
    Location
    Gloucestershire, UK
    Posts
    3

    Re: XML Parsing Error: no element found Location

    so what can I do to get things working?

    btw I'm getting this error when trying to view the simple web.config and ver.aspx files in my root (as suggested in this thread)

    <?xml version="1.0" ?>
    <configuration>
    <appSettings />
    <connectionStrings />
    <system.web>
    <customErrors mode="Off" />
    </system.web>
    </configuration>
    <configuration>
    <system.web>
    <compilation>
    <assemblies>
    <add assembly="MySql"/>
    <add assembly="MySql.Data"/>
    </assemblies>
    </compilation>
    </system.web>
    </configuration>

+ Reply to Thread

Similar Threads

  1. [MySQL] Getting 1st element of list
    By Markstar in forum Programming Help
    Replies: 6
    Last Post: 01-29-2010, 04:37 AM
  2. PHP parsing error
    By rubingv in forum Free Hosting
    Replies: 3
    Last Post: 11-02-2009, 11:02 PM
  3. XML parsing error
    By stalkio in forum Programming Help
    Replies: 10
    Last Post: 08-06-2008, 06:06 AM
  4. Help, 404 error - page not found error
    By infoinn in forum Free Hosting
    Replies: 4
    Last Post: 12-31-2007, 01:30 PM
  5. New Element In The Periodic Table
    By ironcross77 in forum Off Topic
    Replies: 1
    Last Post: 06-28-2005, 01:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers