Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Error when browse in IIS

Error when browse in IIS

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netdesignsysadmin
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Naunt
    wrote on last edited by
    #1

    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

    A N 2 Replies Last reply
    0
    • N Naunt

      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

      A Offline
      A Offline
      Arun Jacob
      wrote on last edited by
      #2

      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

      N 1 Reply Last reply
      0
      • A Arun Jacob

        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

        N Offline
        N Offline
        Naunt
        wrote on last edited by
        #3

        Thank for your reply. Do you mean to run that exe?

        A 1 Reply Last reply
        0
        • N Naunt

          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

          N Offline
          N Offline
          Naunt
          wrote on last edited by
          #4

          I am do my project in "ASP.Net Web Application" in VS2010. When I publish it have option for publish method (Web Deploy, FTP, File System,FPSE). Which publish method I have to choice to browse from IIS virtual directory?

          1 Reply Last reply
          0
          • N Naunt

            Thank for your reply. Do you mean to run that exe?

            A Offline
            A Offline
            Arun Jacob
            wrote on last edited by
            #5

            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

            N 1 Reply Last reply
            0
            • A Arun Jacob

              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

              N Offline
              N Offline
              Naunt
              wrote on last edited by
              #6

              @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

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups