H
Hitesh
Hello,
We are converting a .Net 1.1 Web application to Dot.Net 2.0. This porting
was successfully completed on one of the servers, but the same code when i
tried to run on another server it gives a compilation error stating
"Error 1The virtual path '/ABCRMR_Int1/Common/SomeFileHere.ascx' maps to
another application, which is not allowed.
D:\Projects\App\MyWEBSITE\sgxrmr_int2\ABCD\SomePage.aspx."
The line which it points to is below
<%@ Register TagPrefix="PopupCheck" TagName="SessionCheck"
Src="../../ABCRMR_Int1/Common/SomeFileHere.ascx" %>
The file SomePage.aspx where teh compilation error occured is present in the
Virtual Directory SubAppVirtualDirectory2, and is trying to access a file in
another Virtual location within the same application pool.
Both the machines are virtual Servers with the same below configuration.
Server OS :- Windows Server 2008
II7 Installed
Visual Studio 2008
SQL Server 2008
The Application website is set up as below
Project Setup
DefaultWebsite(port 80)
-->Dev Application (running under Dev Application Pool)
------>Sub Application 1 (running under Dev Application Pool)
-------------->SubAppVirtualDirectory1
-------------->SubAppVirtualDirectory2
------->SubApplication 2 (running under Dev Application Pool)
This is very challenging issue hopefully any of you would be able to help
out with the solutiion of the same.
Thanks,
Hitesh Ramchandani
We are converting a .Net 1.1 Web application to Dot.Net 2.0. This porting
was successfully completed on one of the servers, but the same code when i
tried to run on another server it gives a compilation error stating
"Error 1The virtual path '/ABCRMR_Int1/Common/SomeFileHere.ascx' maps to
another application, which is not allowed.
D:\Projects\App\MyWEBSITE\sgxrmr_int2\ABCD\SomePage.aspx."
The line which it points to is below
<%@ Register TagPrefix="PopupCheck" TagName="SessionCheck"
Src="../../ABCRMR_Int1/Common/SomeFileHere.ascx" %>
The file SomePage.aspx where teh compilation error occured is present in the
Virtual Directory SubAppVirtualDirectory2, and is trying to access a file in
another Virtual location within the same application pool.
Both the machines are virtual Servers with the same below configuration.
Server OS :- Windows Server 2008
II7 Installed
Visual Studio 2008
SQL Server 2008
The Application website is set up as below
Project Setup
DefaultWebsite(port 80)
-->Dev Application (running under Dev Application Pool)
------>Sub Application 1 (running under Dev Application Pool)
-------------->SubAppVirtualDirectory1
-------------->SubAppVirtualDirectory2
------->SubApplication 2 (running under Dev Application Pool)
This is very challenging issue hopefully any of you would be able to help
out with the solutiion of the same.
Thanks,
Hitesh Ramchandani