November Happy Hour will be moved to Thursday December 5th.

Manage Website admin screen generates error

Vote:
 

This screen failed on me after updating to EPiServer 11.

[NullReferenceException: Object reference not set to an instance of an object.]
   EPiServer.UI.Admin.SiteInformationEdit.BindControls() +328
   EPiServer.UI.Admin.SiteInformationEdit.OnLoad(EventArgs e) +57
   System.Web.UI.Control.LoadRecursive() +67
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1376
#196875
Edited, Sep 13, 2018 21:49
Vote:
 

By using dotPeek I found that this was caused by the EPiServer.UI.Admin assembly which referneced a control "SiteIdPanel" which didn't exist in the /modules/_protected/CMS/.../SiteInformationEdit.aspx file. The faulty CMS.zip this file resided in was version 11.4.1.0. I had to update the Episerver Vs2015 extensions, create an Alloy example site and copy the provided 11.5.0 CMS.zip to my project to make the ManageWwebsites screen work again.

Can someone explain why this file isn't updated automatically when I update EPiServer packages via Nuget?

#196885
Edited, Sep 14, 2018 13:13
Vote:
 

It should. However it might have failed because of "reasons", for example that CMS.zip was being used by other process 

#196886
Sep 14, 2018 13:21
Vote:
 

run upgrades in VS with site "shutdown" (kill the process it it's running) - because depending on your site characteristics you might not visiting the site, but iis worker process is alive and might keep files locked. and i've seen that nuget sometimes shallows excpetions when not able to update some of the files.

#196945
Sep 18, 2018 9:22
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.