Getting Error "SingleFieldIdentity refers to unresolvable type" when running site in debug mode with Visual Studio
I am having an issue with my website, which runs on Sitefinity, in debug mode in Visual Studio. Below are the details around the error I am seeing along with an attachment of the exact error message. If anyone has seen this error before and has a work around please reply to my post.
Sitefinity Version: 7.0.5100
Visual Studio Version: Visual Studio 2013 Update 4
.NET Framework: 4.5
Error Description:
When I try to run my web site with Visual Studio 2013 in debug mode I get and error message immediately. See the screenshot and the error details from the error.log file in Sitefinity. I have never seen this error before.
Error Log:
----------------------------------------Timestamp: 11/19/2014 8:50:49 PMMessage: HandlingInstanceID: 42cb91f8-5632-4657-80b8-241bc1809a04An exception of type 'Telerik.OpenAccess.Exceptions.InvalidOperationException' occurred and was caught.-------------------------------------------------------------------------------------------------------11/19/2014 15:50:49Type : Telerik.OpenAccess.Exceptions.InvalidOperationException, Telerik.OpenAccess, Version=2014.1.403.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342Message : SingleFieldIdentity refers to unresolvable type Telerik.Sitefinity.GenericContent.Model.ContentItem. OID=9b8b93ae-148b-60dd-bf99-ff000050ed76 (Wrong configuration or class not enhanced?)Source : Unity_ILEmit_DynamicClassesHelp link : InnerExceptions : FailedObject : BackendError : Reason : InvalidOperationCanRetry : TrueData : System.Collections.ListDictionaryInternalTargetSite : Telerik.Sitefinity.GenericContent.Model.ContentItem GetContent(System.Guid)HResult : -2146233088Stack Trace : at DynamicModule.ns.Wrapped_OpenAccessContentProvider_be7fc18baf854f04b7733f86cf7c09a8.GetContent(Guid id) at Telerik.Sitefinity.Modules.GenericContent.ContentManager.GetContent(Guid id) at Telerik.Sitefinity.Modules.GenericContent.Web.UI.ContentBlock.InitializeControls(GenericContainer container) at Telerik.Sitefinity.Web.UI.SimpleView.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)Additional Info:MachineName : hiddenTimeStamp : 11/19/2014 8:50:49 PMFullName : Telerik.Sitefinity.Utilities, Version=7.0.5100.0, Culture=neutral, PublicKeyToken=b28c218413bdf563AppDomainName : /LM/W3SVC/4/ROOT-1-130609037783264317ThreadIdentity : WindowsIdentity : hiddenRequested URL : hiddenCategory: ErrorLogPriority: 0EventId: 90000Severity: ErrorTitle:Enterprise Library Exception HandlingMachine: hiddenApp Domain: /LM/W3SVC/4/ROOT-1-130609037783264317ProcessId: 10548Process Name: c:\windows\system32\inetsrv\w3wp.exeThread Name: Win32 ThreadId:10452Extended Properties: ----------------------------------------
Hi Craig,
We have seen this exception on several occasions. Unfortunately the clients experiencing the behavior have not provided their solution files in order for us to investigate this. I can recommend you submit a support ticket where you can supply your files and me or one of my teammates can have a look into the issue in further depth. Once we are done, feel free to share the fix in this thread.
Regards,
Ivan D. Dimitrov
Telerik