Developer forum

Forum » CMS - Standard features » Upgrade to 9.14.14 from 9.12.11

Upgrade to 9.14.14 from 9.12.11

Kevin O'Driscoll
Reply

Anyone give some guidance on this error updating the licence during an upgrade?

[NullReferenceException: Object reference not set to an instance of an object.]
   Dynamicweb.Content.Management.Installation.get_LicenseChecksum() +241
   Dynamicweb.Content.Management.Installation.InitializeLicenseManager() +163
   Dynamicweb.Admin.GlobalAsaxHandlerProxy.Application_Start(Object sender, EventArgs e) +207
   Dynamicweb.Admin.Global.Application_Start(Object sender, EventArgs e) +92

[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

Best rgds


Replies

 
Shiwanka Chathuranga Dynamicweb Employee
Shiwanka Chathuranga
Reply

can you try REINSTALLING  License

https://doc.dynamicweb.com/get-started/introduction/installation/installing-a-license

 

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

You also need to ensure that the app pool can write to /Files and that the server can access license.dynamicweb.com on http.

 
Fabio Monte
Reply

I'm seeing the same error but on a local solution with IIS.

Even though I followed the steps in here https://doc.dynamicweb.com/get-started/introduction/installation/installing-a-license#11981 I wasn't able to go through the issue.

Is there any step I could follow further?

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Fabio

Have a look at these things:

  • What do you have in your /files? Remove all *.license files
  • Ensure that the webserver user have read access to the folder and the folder is not readonly
  • Ensure your local box can communicate with license.dynamicweb.com over http
 
Fabio Monte
Reply

Hi Nicolai

Thanks for the answer.

I've already done the first 2 points before but it didn't solve the issue.

For the third point, how do I setup communication to license.dynamicweb.com?

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

It is simply if you are able to access the URL from your box. But on a local box connected to the internet that should not be an issue - but sometimes DW is installed on servers that are not connected and will give the same problem.

What happens if you install a fresh DW 9.17? Can you add a license?

And do you get exactly the error message above?

 
Fabio Monte
Reply

I was able to install a fresh DW 9.17 copy without any errors.

I do also have other DW sites in IIS that did not had this issue, just this project specifically is giving this trouble.

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

And can you install a fresh 9.14 - and why are you not upgrading to 9.17?

I am pretty sure something is 'wrong' with your files folder - permission or readonly wise.

 

You must be logged in to post in the forum