Try our conversational search powered by Generative AI!

Manage Website admin screen generates error


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
Edited, Sep 13, 2018 21:49

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 this file resided in was version I had to update the Episerver Vs2015 extensions, create an Alloy example site and copy the provided 11.5.0 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?

Edited, Sep 14, 2018 13:13

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

Sep 14, 2018 13:21

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.

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.