Error when browse in IIS
-
Dear all, Please help me solve this. I got error when browse my asp.net web application from IIS. When publish the project no error show. The error is as below when browse from IIS.
XML Parsing Error: not well-formed Location: http://localhost/BLentry/blentry.aspx Line Number 1, Column 2:<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="BLEntry.aspx.vb" Inherits="WebApplication1.BLEntry1" %> -^
My source code is as below<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication1._Default" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %><asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<h2>
BL List
</h2>
<table style="width: 100%; height:100%">
<tr>
<td style="width:100%; height:90%">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"
AllowSorting="True" AutoGenerateDeleteColumn="True"
AutoGenerateEditColumn="True" GridLines="None" Skin="Office2007"
AllowCustomPaging="True" PageSize="20">
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
</ClientSettings>
<MasterTableView>
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn><ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
</MasterTableView>
</telerik:RadGrid>
</td>
</tr>
<tr>
<td>
<asp:Button ID="Button1" runat="server" Text="New BL" />
</td>
</tr>
</table></asp:Content>
Thanks and Best Regards
-
Dear all, Please help me solve this. I got error when browse my asp.net web application from IIS. When publish the project no error show. The error is as below when browse from IIS.
XML Parsing Error: not well-formed Location: http://localhost/BLentry/blentry.aspx Line Number 1, Column 2:<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="BLEntry.aspx.vb" Inherits="WebApplication1.BLEntry1" %> -^
My source code is as below<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication1._Default" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %><asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<h2>
BL List
</h2>
<table style="width: 100%; height:100%">
<tr>
<td style="width:100%; height:90%">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"
AllowSorting="True" AutoGenerateDeleteColumn="True"
AutoGenerateEditColumn="True" GridLines="None" Skin="Office2007"
AllowCustomPaging="True" PageSize="20">
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
</ClientSettings>
<MasterTableView>
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn><ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
</MasterTableView>
</telerik:RadGrid>
</td>
</tr>
<tr>
<td>
<asp:Button ID="Button1" runat="server" Text="New BL" />
</td>
</tr>
</table></asp:Content>
Thanks and Best Regards
I think this is because asp.net is not registered with your IIS. Can you try register using aspnet_regiis tool, ASP.NET IIS Registration Tool (Aspnet_regiis.exe) [^]
Arun Jacob My Technical Blog : Code.NET
-
I think this is because asp.net is not registered with your IIS. Can you try register using aspnet_regiis tool, ASP.NET IIS Registration Tool (Aspnet_regiis.exe) [^]
Arun Jacob My Technical Blog : Code.NET
-
Dear all, Please help me solve this. I got error when browse my asp.net web application from IIS. When publish the project no error show. The error is as below when browse from IIS.
XML Parsing Error: not well-formed Location: http://localhost/BLentry/blentry.aspx Line Number 1, Column 2:<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="BLEntry.aspx.vb" Inherits="WebApplication1.BLEntry1" %> -^
My source code is as below<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication1._Default" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %><asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<h2>
BL List
</h2>
<table style="width: 100%; height:100%">
<tr>
<td style="width:100%; height:90%">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"
AllowSorting="True" AutoGenerateDeleteColumn="True"
AutoGenerateEditColumn="True" GridLines="None" Skin="Office2007"
AllowCustomPaging="True" PageSize="20">
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
</ClientSettings>
<MasterTableView>
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn><ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
</MasterTableView>
</telerik:RadGrid>
</td>
</tr>
<tr>
<td>
<asp:Button ID="Button1" runat="server" Text="New BL" />
</td>
</tr>
</table></asp:Content>
Thanks and Best Regards
-
Open Visual Studio Command Prompt and run that tool with the required arguments. Can you check that link that I've provided in the previous post
Arun Jacob My Technical Blog : Code.NET
-
Open Visual Studio Command Prompt and run that tool with the required arguments. Can you check that link that I've provided in the previous post
Arun Jacob My Technical Blog : Code.NET
@Arun Jacob : Thank you for your suggestion ... Can fixed that problem now. By runing "aspnet_regiis - i" form right version. First time I did a wrong choice for version, I choose "aspnet_regiis.exe" from v2.0.50727 and run. Actually I am using version 4.0. After re-running "aspnet_regiis -i" from v4.0.30319 everythings going smoothly. Pls, don't mind me for long explain unnecessary, I just mean to people who face this problem in future. Just inform them to do right choice. Thanks and Best Regards