DW 9.5.0.0
We have an upgraded DW9 site ready for release to Production from staging. All is good in staging.
We copy all the files into Production (a different folder on the same server). We dont change the connection string yet in Global Settings so we still point to the same database, all folder permission settings are the same, we just change the root in IIS to point to the new folder:
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Dynamicweb.Data.Database.CreateConnection() +29
Dynamicweb.Data.Database.ExecuteScalar(CommandBuilder commandBuilder, IDbConnection connection) +213
Dynamicweb.Data.GeneralLogRepository.SaveEvent(LogEvent logEvent) +884
Dynamicweb.Logging.LogEvents.LogEventService.SaveEvent(LogEvent logEvent) +83
Dynamicweb.Logging.LoggerBase.Log(LogLevel level, String message, Exception ex) +21
Dynamicweb.Mailing.EmailHandler.Send(MailMessage mailMessage, Boolean logging, Boolean throwException) +5150
Dynamicweb.Frontend.GlobalAsaxHandler.SetupLicenseManager() +1040
Dynamicweb.Frontend.GlobalAsaxHandler.Application_Start(Object sender, EventArgs e) +191
[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +520
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +176
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +165
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +353
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +341
[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +523
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +688
Can anyone tell me what is going on here? looks like DW is checking the Licence??
Rgds