Author: arhamg | Posted on: 5/7/2009 11:00:03 AM | Views : 332

Hi,

I'm trying to build my first web application project.I have added a WAP(named WAPApp) and a sub WAP (named SubApp) in my solution. I made usercontrols in both of them. I'm able to load User control of WAPApp in a page in SubApp using LoadControl(virtualpath as string) but when I'm trying to do load the User control of SubApp in a page in WAPApp it throws an error "The virtual path "...." maps to another application which is not allowed."

I get the same error even after adding a reference of SubApp in WAPApp. The build path of SubApp is already the "bin" folder of WAPApp.

Is there a way out of it. 

 

Thanks in advance.
...

Go to the complete details ...