Developer forum

Forum » Development » Error after upgrading to 9.18.1

Error after upgrading to 9.18.1

Aki Ruuskanen
Aki Ruuskanen
Reply

Hi,

I ran in the this error when  upgrading a solution to the latest. 9.x. (9.18.1). I think I have seen it before sometimes but cant remember what the cause was. I upgraded my local environment and that went just fine. But in the staging enviroment. Boom....

Has anybody here ran into this? And perhaps know what the problem is? The solution is pretty simple. No integrations, no PIM och eCommerce. 

[NullReferenceException: Object reference not set to an instance of an object.]
   Dynamicweb.Admin.Global.Application_Start(Object sender, EventArgs e) +58

[HttpException (0x80004005): Object reference not set to an instance of an object.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +546
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +171
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +173
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +255
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +347

[HttpException (0x80004005): Object reference not set to an instance of an object.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +552
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +122
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +737

Regards / Aki


Replies

 
Aki Ruuskanen
Aki Ruuskanen
Reply

Never mind. A reploy and it fired up. 

/Aki

 
Simon Rindalsholt
Reply

Hi,

I have had the same error when upgrading to 9.18.1. The Dynamicweb.Security.dll appears to be causing the error. When I download 9.18.1 fresh from the doc site the error does not occur, but when the package is downloaded through nuget it happens. The two dll's have the same version, but their size differs for some reason. I have uploaded an image of both dll's details.

Kind Regards / Simon

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply
This post has been marked as an answer

This is a known issue in the 9.18.1 nuget release and it should be fixed in the next version.
Until then you can either use 9.18.0 or use 9.18.1 and install the Dynamicweb.Security 12.5.20 package from nuget (released today).

Votes for this answer: 1

 

You must be logged in to post in the forum