Sitecore 8 error editing the presentation layer

Issue:  Error when trying to edit the presentation layer

Versions:

Sitecore 8, Initial Release (rev 140922)

Visual Studio 2013

Details

After building my Sitecore 8 solution in Visual Studio 2013, I would get the following error trying to edit the presentation layer.  If I rebooted, the issue would go away (not if I reset IIS), but return as soon as I built again.

Sitecore8PresentationLayerEditingError

Server Error in ‘/’ Application.

Value cannot be null.

Parameter name: key

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.

Parameter name: key

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentNullException: Value cannot be null.
Parameter name: key]
System.Collections.Generic.Dictionary`2.FindEntry(TKey key) +14206549
System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value) +20
Microsoft.VisualStudio.Web.PageInspector.Runtime.WebForms.SelectionMappingRenderTraceListener.GetLiteralTraceData(LiteralControl literal, TraceData& data) +71
Microsoft.VisualStudio.Web.PageInspector.Runtime.WebForms.SelectionMappingRenderTraceListener.GetTraceData(Object renderedObject) +220
Microsoft.VisualStudio.Web.PageInspector.Runtime.WebForms.SelectionMappingRenderTraceListener.EndRendering(TextWriter writer, Object renderedObject) +47

Resolution

http://bchavez.bitarmory.com/archive/2012/12/28/rip-page-inspector-out-of-your-web-site-projects-now.aspx

Modify web.config to remove Visual Studio Page Inspector

<appSettings>

<add key=”PageInspector:ServerCodeMappingSupport” value=”Disabled” />

</appSettings

Advertisements

One Response to “Sitecore 8 error editing the presentation layer”

  1. Sitecore 8 error editing the presentation layer | cyberkrul Says:

    […] Error when viewing presentation details in Sitecore 8 could be resolved by following this link […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: