Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 7th, 2006, 11:03 PM
Authorized User
Join Date: Nov 2005
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default The virtual path maps to another application

i m facing one problem when i host my asp.net aplication on another system which has XP Professional.There is a framework1.1


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 '/UserControl/Header.ascx' maps to another application, which is not allowed.

Source Error:

Line 1: <%@ Register TagPrefix="uc1" TagName="Header" Src="../UserControl/Header.ascx" %>
Line 2: <%@ Page language="c#" Codebehind="Login.aspx.cs" AutoEventWireup="false" Inherits="RecruitmentManagementSystem.Forms.Login" %>
Line 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

It is working fine on the sytem where I develop this appliaction there I have win-2000 server.

There is no other appliaction exists on my other PC where I hosted this application.I m not getting to which other application it is mapped.



Old August 8th, 2006, 05:19 AM
Registered User
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Please check whether Header.ascx path is correct and also check Parent Path is Enabled in IIS.

Old August 8th, 2006, 07:05 AM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

change ../UserControl/Header.ascx to ./UserControl/Header.ascx that should fix the problem.

"The one language all programmers understand is profanity."

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Path property ksmanand ASP.NET 3.5 Basics 2 October 5th, 2008 10:49 AM
Virtual Maps And Templates problems dude81 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 March 10th, 2007 01:44 AM
maps to a directory outside this application Tayyab326 ASP.NET 2.0 Basics 0 November 18th, 2006 01:12 AM
coding for how to know the virtual path of drive satya_tripathy C# 0 November 15th, 2005 01:19 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.