Solved

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

Posted on 2004-08-24
2
3,091 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

752 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