Parser Error

Discussion in 'ASP.NET 2.0' started by jeksya, Feb 25, 2006.

  1. Hi,
    i have problem with this kind of error...it says that this file CartSummary.ascx does not exist,however, it is in the UserControl Folder in my FTP folder. What can i do with that?



    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: The file 'UserControls/CartSummary.ascx' does not exist.

    Source Error:

    Line 1: <%@ Master Language='C#' AutoEventWireup='true' CodeFile='ClimbingProject.master.cs' Inherits='ClimbingProject' %>
    Line 2: <%@ Register Src='UserControls/CartSummary.ascx' TagName='CartSummary' TagPrefix='uc5' %></font>
    Line 3: <%@ Register Src='UserControls/RightSide.ascx' TagName='RightSide' TagPrefix='uc4' %>
    Line 4: <%@ Register Src='UserControls/CategoriesList.ascx' TagName='CategoriesList' TagPrefix='uc3' %>


    Source File: /ClimbingProject.master Line: 2

    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
     
  2. I found mine didn't work too unless I did a home directory tilde.

    <%@ Register Src='~/inventory/controls/item_preview.ascx' TagName='item_preview' TagPrefix='uc1' %>

    Source File: /Admin.master
     

Share This Page