I'm trying to integrate MvcMailer in Orhcard 1.6 but I have this error:
'HttpContext.SetSessionStateBehavior' can only be invoked before 'HttpApplication.AcquireRequestState' event is raised.
in file Orchard\Mvc\Routes\ShellRoute.cs line 54
I tried to debug and I found that the error is thrown from:
private void CreateControllerContext() {
var routeData = RouteTable.Routes.GetRouteData(CurrentHttpContext);
ControllerContext = new ControllerContext(CurrentHttpContext, routeData, this);
}
mailerBase.cs of MvcMailer. In a normal mvc 4 application all goes fine.
Can someonehelp me or someone who has already installed successfully?
Thank you..
This post http://orchard.codeplex.com/discussions/406407 as the same problems.. how to resolve?