A name was started with an invalid character. Error processing resource

Posted by Gallen on Server Fault See other posts from Server Fault or by Gallen
Published on 2010-07-22T22:04:04Z Indexed on 2011/01/15 7:55 UTC
Read the original article Hit count: 197

Filed under:
|
|

Here is the exact error I'm getting when I try to launch my default.aspx file from the published folder. Can anybody point me in the right direction?

The XML page cannot be displayed 
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. 


--------------------------------------------------------------------------------

A name was started with an invalid character. Error processing resource 'file:///C:/inetpub/wwwroot/MHNProServices/Default....

<%@ Page Title="" Language="C#" MasterPageFile="~/ProServices.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs"...

Here are the contents of default.aspx

<%@ Page Title="" Language="C#" MasterPageFile="~/ProServices.Master" AutoEventWireup="False" CodeBehind="Default.aspx.cs" Inherits="MHNProServices.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" href="css/Default.css" rel="Stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div id="contentHead">
           <img src="css/img/heading_landing.jpg" />
    </div>
    <div id="contentTop"></div>
    <div id="content">
        <div id="contentLeft">
            <asp:Image ID="displayPicture" runat="server" />
            <img id="displayOverlay"src="css/img/profilepicture_overlay.gif" />

            <a id="contentButton_makeAppointment" href="Appointments.aspx?step=start"></a>
            <a id="contentButton_cancelAppointment" href="Appointments.aspx?step=cancel"></a>
        </div>
        <div id="contentRight">
                <h3><asp:Label ID="lbl_homepageHeader" runat="server" Text=""></asp:Label></h3>
                <hr />
                <asp:Label ID="lbl_homepageContent" runat="server" Text=""></asp:Label>
        </div>
    </div>
    <div id="contentBottom"></div>
</asp:Content>

© Server Fault or respective owner

Related posts about error

Related posts about Xml