Server.TransferRequest() fails at System.Web.UI.Page.get_Session()
Hi everyone,
I'm trying to do a Server.TransferRequest("path.aspx") onInit() of my page and it gives me this error:
Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Web.HttpException (0x80004005): Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \\ section in the application configuration.
I've checked for what the error points to and I have:
Server.TransferRequest() fails at System.Web.UI.Page.get_Session()
Hi everyone,
I'm trying to do a Server.TransferRequest("path.aspx") onInit() of my page and it gives me this error:
Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Web.HttpException (0x80004005): Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \\ section in the application configuration.
I've checked for what the error points to and I have:
<location path="." inheritInChildApplications="false">
<system.web>
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
<pages enableEventValidation="false" enableSessionState="true">
</system.web>
</location>
But from what I've read Server.TransferRequest doesn't neet extraordinary session configuration, any idea why this is happening here?
This is an Umbraco application running .NET 4.0 on integrated mode, shouldn't this work on Umbraco?
Thanks for your attention,
JRA
is working on a reply...