Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 7th, 2006, 11:03 PM
Authorized User
Join Date: Nov 2005
Location: , , .
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.



  #2 (permalink)  
Old August 8th, 2006, 05:19 AM
Registered User
Join Date: Jul 2003
Location: Bangalore, Karnataka, India.
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.

  #3 (permalink)  
Old August 8th, 2006, 07:05 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Oct 2005
Location: Ohio, USA
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."

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 03:20 AM.

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