The virtual path '/Site/password/cpanel/EditUser.ascx' maps to another application, which is not allowed. Can somebody tell me why would I be getting this error. page that is trying to load user control is in the same directory? Thanks
Is the specified path set up as a Virtual Directory in IIS? If so, it will treat it as another application even though it's in the same directory as the main application.
It' been a wjile since you opened this thread, but a a search in google bring me to here. So I resolved this problem using the char '~' before my virtual path. In you case you should try "~/Site/password/cpanel/EditUser.ascx".
exptrade2000
Contributor
3309 Points
710 Posts
The virtual path maps to another application, which is not allowed
Apr 09, 2004 03:03 PM|LINK
chapel21
Contributor
2485 Points
499 Posts
Re: The virtual path maps to another application, which is not allowed
Apr 09, 2004 03:42 PM|LINK
RCardoso
Member
18 Points
4 Posts
Re: The virtual path maps to another application, which is not allowed
May 08, 2009 02:25 PM|LINK
It' been a wjile since you opened this thread, but a a search in google bring me to here. So I resolved this problem using the char '~' before my virtual path. In you case you should try "~/Site/password/cpanel/EditUser.ascx".
--
Best regards ,
Rodolfo Cardoso
ahsanm.m
Contributor
5254 Points
781 Posts
Re: The virtual path maps to another application, which is not allowed
May 09, 2009 05:58 PM|LINK
Pls,check out this link,it will give you the solution:
http://forums.asp.net/t/1133543.aspx
DotnetBoss | asp.net boss
nabeelfaruqu...
Member
24 Points
29 Posts
Re: The virtual path maps to another application, which is not allowed
Nov 24, 2010 02:50 PM|LINK
Checkout the soultion at
http://nabeeldotnet.blogspot.com/2010/11/virtual-path-maps-to-another.html
Regards
Nabeel Faruqui
MCP