Solved

The virtual path 'xxx' maps to another application, which is not allowed.

Posted on 2004-08-24
2
3,079 Views
Last Modified: 2012-06-21
I created a project that contains 4 separate UserControls. Within this project I have a WebForm in which I drag all 4 UserControls onto and compile. This all works fine. However, when I add another UserControl from a co-worker onto this same WebForm and compile I receive the following error:

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 'xxx' maps to another application, which is not allowed

Can anyone help???

Thanks in advance.
0
Comment
Question by:Tazster
2 Comments
 
LVL 2

Expert Comment

by:claygarrett
ID: 11887455
Can you post the code of the ascx file?  Or at least the first part of it?
0
 
LVL 10

Accepted Solution

by:
jnhorst earned 250 total points
ID: 11889291
If I am not mistaken, ascx user controls can only be used within the application into which they were built.  If you want true reusability, a "composite control" (a type of custom control that consists of multiple standard controls - like a textbox above a dropdownlist), would be a much better way to go.

John
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question