CRM 2015?

Apr 13, 2016 at 10:44 AM
Has anyone got this working on CRM 2015? I get an error when leaving the form, and the control doesn't work correctly until the browser is restarted.

This is the error text

<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Unhandled Error in Silverlight Application Cannot perform runtime binding on a null reference at CallSite.Target(Closure , CallSite , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at CrmAttachmentImage.Utility.GetEntityValue[T](String fieldname, T defaultValue)
at CrmAttachmentImage.MainPage.InitializeElements(Guid id, String otn, Dictionary`2 par)
at CrmAttachmentImage.App.Application_Startup(Object sender, StartupEventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)</Message>
<Line>1</Line>
<URL></URL>
<PageURL>/_forms/read/page.aspx?etc=2&id=%7b34DAD62E-0FE6-E511-80E3-0050568E3C99%7d&pagemode=iframe&theme=Outlook15White</PageURL>
<Function>nhandledErrorinSilverlightApplicationCannotperformruntimebindingonanullreferenceatCallSite.Target(Closure,CallSite,Object)</Function>
<FunctionRaw>Error: Unhandled Error in Silverlight Application Cannot perform runtime binding on a null reference at CallSite.Target(Closure , CallSite , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at CrmAttach</FunctionRaw>
<CallStack>
<Function>nhandledErrorinSilverlightApplicationCannotperformruntimebindingonanullreferenceatCallSite.Target(Closure,CallSite,Object)</Function>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/7.0)</BrowserUserAgent>
<BrowserLanguage>en-US</BrowserLanguage>
<SystemLanguage>en-US</SystemLanguage>
<UserLanguage>en-GB</UserLanguage>
<ScreenResolution>1920x1080</ScreenResolution>
<ClientName>Outlook</ClientName>
<ClienState>Online</ClienState>
<ClientTime>2016-04-11T14:44:58</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>2057</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>2057</UserCulture>
<OrgID>{53EB3646-8ABF-E511-BE42-005056991839}</OrgID>
<UserID>{1E53D059-53C3-E511-80DE-005056929302}</UserID>
<CRMVersion>7.0.2.53</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>