Solved

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

Posted on 2004-08-24
2
3,050 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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now