PDA

View Full Version : uploading asp.net files


beadswizcom
09-07-2006, 01:11 AM
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:






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\Ho me\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.GetReferencedT ype(TemplateControlParser parser, String virtualPath)
at System.Web.UI.TemplateControlParser.GetUserControl Type(String virtualPath)
at System.Web.UI.TemplateControlParser.ProcessDirecti ve(String directiveName, IDictionary directive)
at System.Web.UI.TemplateParser.ParseStringInternal(S tring 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.GetParserCacheItemThr oughCompilation()
at System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean fCreateIfNotFound)
at System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath()
at System.Web.UI.TemplateParser.GetParserCacheItem()
at System.Web.UI.TemplateControlParser.CompileAndGetP arserCacheItem(String virtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControlParser.GetCompiledIns tance(String virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageParser.GetCompiledPageInstanceIn ternal(String virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context, String requestType, String url, String path)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String requestType, String path, String pathTranslated, Boolean useAppConfig)
at System.Web.MapHandlerExecutionStep.System.Web.Http Application+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep 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.-->

beadswizcom
09-07-2006, 02:59 AM
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:






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:jinseop@tpg.com.au">

Source File: E:\web\beadswizcom\htdocs\beadswiz\JKonlineShop\Us erControl\Footer.ascx Line: 1


arfte

joelnet
09-07-2006, 05:11 AM
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

bruce
09-07-2006, 06:35 AM
found this on the net


http://linuxct.blogspot.com/2005/10/error-virtual-path-maps-another.html


Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

beadswizcom
09-09-2006, 12:49 AM
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