usage of user controls across projects in a solution



hello frnd,

in my project..my solution includes two webapplication projects.
in webaplication1 i have created a user control...whn i m using that in webapplication2 webform...its showing 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 '/WebApplication2/WebUserControl2.ascx' maps to another application, which is not allowed.

Source Error:
Line 1: <%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="WebApplication3.WebForm1" %>
Line 2: <%@ Register TagPrefix="uc1" TagName="WebUserControl2" Src="../WebApplication2/WebUserControl2.ascx" %>
Line 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
Line 4: <HTML>


so if any one cud help me...how to come out f it and how cud i use the control across the applications..

Regards



---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
.



Relevant Pages

  • Re: Inherits="WebApplication.Global"
    ... service this request. ... Please review the following specific parse error ... Parser Error Message: ... After deploying the application to the production server I am getting the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: asp.net 1.1 datagrid and DataNavigateUrlFormatString
    ... service this request. ... Please review the following specific parse error ... Parser Error Message: Literal content ('<asp:HyperLinkColumn ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: publish asp.net 2.0 web site
    ... service this request. ... Please review the following specific parse error ... Parser Error Message: Could not load the assembly 'App_Web_9mt95eiq'. ...
    (microsoft.public.dotnet.framework.aspnet)
  • WebService does not compile...
    ... service this request. ... Please review the following specific parse error ... details and modify your source file appropriately. ... Parser Error Message: Could not create type ...
    (microsoft.public.dotnet.framework.webservices)
  • Parser Error - WebService does not compile
    ... service this request. ... Please review the following specific parse error ... details and modify your source file appropriately. ... Parser Error Message: Could not create type ...
    (microsoft.public.dotnet.framework.webservices)