Posted on 26/05/2015 14:06:14
The problem remains. If I put a real connectionstring in the GlobalSettings file and then build my DatabaseConnectionProvider everything works fine. When I put fake content in the GlobalSettings file and leave the DatabaseConnectionProvider in place my application crashes in the Global.asax. My Global.asax looks as follows:
using System;
using System.Web;
using Dynamicweb.Frontend;
namespace Jaarbeurs.Shop.Web
{
public class Global : HttpApplication
{
protected void Application_Start(object sender, EventArgs e)
{
GlobalAsaxHandler.Application_Start(sender, e);
}
protected void Session_Start(object sender, EventArgs e)
{
GlobalAsaxHandler.Session_Start(sender, e);
}
protected void Application_BeginRequest(object sender, EventArgs e)
{
GlobalAsaxHandler.Application_BeginRequest(sender, e);
}
protected void Application_AuthenticateRequest(object sender, EventArgs e)
{
GlobalAsaxHandler.Application_AuthenticateRequest(sender, e);
}
protected void Application_Error(object sender, EventArgs e)
{
GlobalAsaxHandler.Application_Error(sender, e);
}
protected void Session_End(object sender, EventArgs e)
{
GlobalAsaxHandler.Session_End(sender, e);
}
protected void Application_End(object sender, EventArgs e)
{
GlobalAsaxHandler.Application_End(sender, e);
}
}
}
Anybody any info on this? Maybe something I've overlooked in the asax file?