C
Craig Banks
I have 2 ASP.Net solutions/projects. I want to use Server.Transfer in one
solution/project to call the aspx webform in the second solution/project.
When I try it I get an error message. My call is straightforward:
Server.Transfer("/ServerTransferUtility/Server.aspx")
The call finds my target page but errors out on its first line:
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="Server.aspx.vb" Inherits="ServerTransferUtility.Henrico.Server"
%>
The inner generated is: "Parser Error: Could not load type
'ServerTransferUtility.Henrico.Server'." This is the error spewed out in the
browser window. The other error generated in the client page's code-behind
page is: "Error executing child request for
/ServerTransferUtility/Server.aspx" which is thrown as a result of the first
error.
Any clues on how I can work through this problem? Searching around I've
picked up some hints that Server.Transfer may be restricted to an
"application" level scope though the reason for this restriction isn't
intuitively obvious.
Thanks in advance for your help.
solution/project to call the aspx webform in the second solution/project.
When I try it I get an error message. My call is straightforward:
Server.Transfer("/ServerTransferUtility/Server.aspx")
The call finds my target page but errors out on its first line:
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="Server.aspx.vb" Inherits="ServerTransferUtility.Henrico.Server"
%>
The inner generated is: "Parser Error: Could not load type
'ServerTransferUtility.Henrico.Server'." This is the error spewed out in the
browser window. The other error generated in the client page's code-behind
page is: "Error executing child request for
/ServerTransferUtility/Server.aspx" which is thrown as a result of the first
error.
Any clues on how I can work through this problem? Searching around I've
picked up some hints that Server.Transfer may be restricted to an
"application" level scope though the reason for this restriction isn't
intuitively obvious.
Thanks in advance for your help.