Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Comapring Versions


Hi I am using CMS 6 and at the moment when we click on compare the only option that displays anything is the property changes.  Both of the other two options dont display anything.  has anyone else had this problem? Anyone know of any solutions?



Sep 20, 2010 11:34

Don't display anything? So no error page or anything like that? We discovered a bug that causes the compare mode to crash with an exception if the viewed page uses Session and the compare mode is differences. The other two modes (side-by-side and property changes) work though.

Sep 20, 2010 12:19

no it doesn't display anything.  In the event viewer i get the following error 

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 20/09/2010 11:27:57

Event time (UTC): 20/09/2010 10:27:57

Event ID: ef5bc06ffad148089bf09a491b14c71e

Event sequence: 90

Event occurrence: 2

Event detail code: 0


Application information:

Application domain: 28d3bad1-9-129294519645576375

Trust level: Full

Application Virtual Path: /

Application Path: C:\_sourcecode\EPiServer\MainInfrastructure\JR.EPI.OAPMain\JR.EPI.OAPMain.WebForms\

Machine name: WK003318


Process information:

Process ID: 8204

Process name: WebDev.WebServer.exe

Account name: LIVE01\gwen curtin


Exception information:

Exception type: NullReferenceException

Exception message: Object reference not set to an instance of an object.


Request information:

Request URL: http://localhost:6667/EPi/CMS/edit/PageCompare/AjaxCallPageCompare.aspx?first=2287_2480&second=2287_2292&panel=PageComparePanel&firstVersionNumber=2&secondVersionNumber=1

Request path: /EPi/CMS/edit/PageCompare/AjaxCallPageCompare.aspx

User host address:

User: gwen curtin

Is authenticated: True

Authentication Type: Forms

Thread account name: LIVE01\gwen curtin


Thread information:

Thread ID: 47

Thread account name: LIVE01\gwen curtin

Is impersonating: False

Stack trace: at EPiServer.UI.Edit.PageCompare.AjaxCallPageCompare.OnPreInit(EventArgs e)

at System.Web.UI.Page.PerformPreInit()

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



Custom event details:

Sep 20, 2010 12:59

After further investigation we (I work with Gwen) have worked out that this is caused by turning off the context menu in plug-in manager.

We want to turn off the context menu as a shortcut to disable quick edit.

Any ideas?

Sep 20, 2010 16:15
Sep 29, 2010 9:38

Doh, forgot that EPiServer has built-in support for this :-)

(applies to CMS 5 but should be similar in CMS 6)

Edited, Sep 29, 2010 9:41

Hi Arild,

to use the built in support would we need to put this code on each page type?

Sep 29, 2010 9:44

You could put in a base class that your pages inherit from, or perhaps in Global.asax.cs, to avoid having to put the code on every page type.

Sep 29, 2010 9:47

great advice thanks Arild!

Sep 29, 2010 9:47

Hope it helps. Feel free to close this thread by marking my reply as Answer.

Sep 29, 2010 9:52

worked perfectly thank you

Sep 29, 2010 10:32
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.