uploading asp.net files

Discussion in 'ASP.NET Starter Kits' started by beadswizcom, Sep 7, 2006.

  1. Thanks Joel !
    I uploaded .dll files, but it still says my user control file maps to another application ???
    It's working perfectly in my local machine.
    Any helps please !

    james
    Server Error in '/beadswiz/JKonlineShop/Home' 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 virtual path '/beadswiz/JKonlineShop/UserControl/Footer.ascx' maps to another application, which is not allowed.

    Source Error:






    Code:
    Line 1:  <%@ Register TagPrefix="Beads" Src="../UserControl/Footer.ascx" TagName="Footer" %>
    Line 2:  <%@ Register TagPrefix="Beads" Src="../UserControl/Header.ascx" TagName="Header" %>
    Line 3:  <%@ Page language="c#" Codebehind="Home.aspx.cs" AutoEventWireup="false" Inherits="JKonlineShop.Home.Home" %>
    Source File: E:\web\beadswizcom\htdocs\beadswiz\JKonlineShop\Home\Home.aspx Line: 1





    Version Information:Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300 <!--
    [HttpException]: The virtual path '/beadswiz/JKonlineShop/UserControl/Footer.ascx' maps to another application, which is not allowed.
    at System.Web.HttpRequest.MapPath(String virtualPath, String baseVirtualDir, Boolean allowCrossAppMapping)
    at System.Web.UI.TemplateControlParser.GetReferencedType(TemplateControlParser parser, String virtualPath)
    at System.Web.UI.TemplateControlParser.GetUserControlType(String virtualPath)
    at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive)
    at System.Web.UI.TemplateParser.ParseStringInternal(String text)
    at System.Web.UI.TemplateParser.ParseString(String text, String virtualPath, String basePhysicalDir)
    [HttpParseException]: Parser Error: The virtual path '/beadswiz/JKonlineShop/UserControl/Footer.ascx' maps to another application, which is not allowed.
    at System.Web.UI.TemplateParser.ParseString(String text, String virtualPath, String basePhysicalDir)
    at System.Web.UI.TemplateParser.ParseFile(String filename, String virtualPath)
    at System.Web.UI.TemplateParser.Parse()
    at System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()
    at System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound)
    at System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath()
    at System.Web.UI.TemplateParser.GetParserCacheItem()
    at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context)
    at System.Web.UI.TemplateControlParser.GetCompiledInstance(String virtualPath, String inputFile, HttpContext context)
    at System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String virtualPath, String inputFile, HttpContext context)
    at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String path)
    at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, String path, String pathTranslated, Boolean useAppConfig)
    at System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    --><!--
    This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.-->
     
  2. appreciate any helps for the following error messages

    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: Could not load type 'JKonlineShop.UserControl.Footer'.

    Source Error:






    Code:
    Line 1:  <%@ Control language="c#" Codebehind="Footer.ascx.cs" AutoEventWireup="false" Inherits="JKonlineShop.UserControl.Footer" %>
    Line 2:  <HR width="100%" SIZE="1">
    Line 3:  Copyright ¨Ï2006 Jin Seop Kim (James)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Contact: <A href="mailto:[email protected]">
    Source File: E:\web\beadswizcom\htdocs\beadswiz\JKonlineShop\UserControl\Footer.ascx Line: 1


    arfte
     
  3. check your codebehind file to make sure both names match.

    if you are on .net 1.x, be sure compile and upload the dll's in your bin directory.


    Joel Thoms
    DiscountASP.NET
    http://www.DiscountASP.NET
     
  4. Bruce

    Bruce DiscountASP.NET Staff

  5. o......oh...


    how stupid i am !


    just wrong url, wrong root directory !


    everything's working perfectly just like local machine without any modifications.


    anyway thanks guys.


    james
     

Share This Page