Server Error in '/' Application.

[LockObject.EnterRead]: Primary thread didn't provide valid result, the Data property must be explicitly set in order to provide the result to other threads, please review the code.

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.Exception: [LockObject.EnterRead]: Primary thread didn't provide valid result, the Data property must be explicitly set in order to provide the result to other threads, please review the code.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:


[Exception: [LockObject.EnterRead]: Primary thread didn't provide valid result, the Data property must be explicitly set in order to provide the result to other threads, please review the code.]
   CMS.SettingsProvider.LockObject.EnterRead(OutputType& output) +226
   CMS.GlobalHelper.CachedSection`1.EnterLock(DataType& result) +81
   CMS.GlobalHelper.CachedSection`1..ctor(DataType& result, Double cacheMinutes, Boolean condition, String customCacheItemName, Object[] cacheItemNameParts) +119
   CMSCustom.GetSiteSkinTags(String nodeAliasPath) +143
   CMSCustom.ResolveCustomMacro(MacroResolver sender, String expression, Boolean& match) +1687
   CMS.Compatibility.MacroResolverCompatibility.ResolveCustomMacro(Object sender, MacroEventArgs e) +57
   CMS.GlobalHelper.MacroResolver.ResolveCustomMacro(String baseExpression, String fullExpression, Object& result, Boolean& match) +88
   CMS.GlobalHelper.MacroResolver.ResolveMacro(String macro, String type, String expression, Boolean& match, Boolean logOperations) +319
   CMS.GlobalHelper.MacroResolver.ResolveMacroHandler(String type, String bracketType, String expression, String replacement, MacroResolvingContext context) +166
   CMS.GlobalHelper.MacroResolver.ProcessMacros(String text, String replacement, Object parameter, OnProcessMacro processMacro, String type, Boolean processOpenExpressions, MacroResolver resolver) +1244
   CMS.GlobalHelper.MacroResolver.ResolveMacros(String inputText, Int32 recursionLevel) +479
   CMS.GlobalHelper.MacroResolver.ResolveMacros(String inputText, MacroContext context) +71
   CMS.GlobalHelper.MacroResolver.ResolveMacros(String inputText, Boolean avoidInjection, Boolean enableRecursion) +50
   CMS.GlobalHelper.MacroResolver.ResolveMacros(String inputText, Boolean avoidInjection) +14
   CMS.PortalControls.CMSAbstractWebPart.ResolveMacros(String inputText, Boolean avoidInjection) +43
   CMS.PortalControls.CMSAbstractWebPart.GetValueInternal(String propertyName, Boolean resolveMacros) +826
   CMS.PortalControls.CMSAbstractWebPart.GetValue(String propertyName) +7
   CMS.PortalControls.CMSAbstractWebPart.get_ContentAfter() +16
   CMS.PortalControls.CMSAbstractWebPart.StandardRender(HtmlTextWriter writer) +734
   CMS.PortalControls.CMSAbstractWebPart.RenderInternal(HtmlTextWriter writer) +1547
   CMS.PortalControls.CMSAbstractWebPart.Render(HtmlTextWriter writer) +278
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +52
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.BasePartialCachingControl.Render(HtmlTextWriter output) +325
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +52
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +189
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +25
   CMS.PortalControls.CMSWebPartZone.RenderZone(HtmlTextWriter writer, Boolean renderEnvelope) +81
   CMS.PortalControls.CMSWebPartZone.StandardRender(HtmlTextWriter writer) +1077
   CMS.PortalControls.CMSWebPartZone.Render(HtmlTextWriter writer) +233
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +52
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   ASP.cmsvirtualfiles_templates_shared__vg_08d16abe_051c_4bfa_8688_1230f062aae5_cms_cms_blankmasterpage_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) +63
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +88
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +25
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   CMS.ExtendedControls.AbstractUserControl.Render(HtmlTextWriter writer) +110
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +52
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   CMS.PortalControls.CMSPagePlaceholder.Render(HtmlTextWriter writer) +653
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +52
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +189
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +25
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +167
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +218
   System.Web.UI.Adapters.ControlAdapter.Render(HtmlTextWriter writer) +21
   CMS.OutputFilter.HtmlFormAdapter.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +31
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +47
   ASP.cmspages_portaltemplate_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) +237
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +88
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +25
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   CMS.UIControls.ContentPage.Render(HtmlTextWriter writer) +54
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +52
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5795


Version Information: Microsoft .NET Framework Version:2.0.50727.4247; ASP.NET Version:2.0.50727.4248