locked
Error in silverlight application for Non-Admin user RRS feed

  • Question

  • Hello Everyone,

    We are using Silverlight application in one of our requirement.

    If we are using it with Admin user we are not getting any error.

    But if the user is not Admin or system customizer, we are facing an error, below is the error code:

    Microsoft Dynamics CRM Error Report Contents

    <CrmScriptErrorReport>
      <ReportVersion>1.0</ReportVersion>
      <ScriptErrorDetails>
       <Message>Uncaught Error: Unhandled Error in Silverlight Application An AsyncCallback threw an exception.   at System.ServiceModel.AsyncResult.Complete(Boolean completedSynchronously)
       at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.OnGetResponse(IAsyncResult result)
       at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass19.<InvokeGetResponseCallback>b__17(Object state2)
       at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()</Message>
       <Line>1</Line>
       <URL></URL>
       <PageURL>/userdefined/edit.aspx?etc=10001&pagemode=iframe&preloadcache=1412922445634</PageURL>
       <Function>nhandledErrorinSilverlightApplicationAnAsyncCallbackthrewanexception.atSystem.ServiceModel.AsyncResult.Complete(BooleancompletedSynchronously)</Function>
       <CallStack>
        <Function>nhandledErrorinSilverlightApplicationAnAsyncCallbackthrewanexception.atSystem.ServiceModel.AsyncResult.Complete(BooleancompletedSynchronously)</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.101 Safari/537.36</BrowserUserAgent>
       <BrowserLanguage>undefined</BrowserLanguage>
       <SystemLanguage>undefined</SystemLanguage>
       <UserLanguage>undefined</UserLanguage>
       <ScreenResolution>1440x900</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2014-10-09T23:27:30</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>1033</OrgLanguage>
        <OrgCulture>1033</OrgCulture>
        <UserLanguage>1033</UserLanguage>
        <UserCulture>1033</UserCulture>
        <OrgID>{FD89CDC6-072A-E311-90AB-067F90A72129}</OrgID>
        <UserID>{A0675935-5B05-E411-B519-067F90A72129}</UserID>
        <CRMVersion>5.0.9690.4150</CRMVersion>
      </ServerInformation>
    </CrmScriptErrorReport>

    <CrmScriptErrorReport>
      <ReportVersion>1.0</ReportVersion>
      <ScriptErrorDetails>
       <Message>Uncaught Error: Unhandled Error in Silverlight Application An AsyncCallback threw an exception.   at System.ServiceModel.AsyncResult.Complete(Boolean completedSynchronously)
       at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.OnGetResponse(IAsyncResult result)
       at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass19.<InvokeGetResponseCallback>b__17(Object state2)
       at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()</Message>
       <Line>1</Line>
       <URL></URL>
       <PageURL>/userdefined/edit.aspx?etc=10001&pagemode=iframe&preloadcache=1412922445634</PageURL>
       <Function>nhandledErrorinSilverlightApplicationAnAsyncCallbackthrewanexception.atSystem.ServiceModel.AsyncResult.Complete(BooleancompletedSynchronously)</Function>
       <CallStack>
        <Function>nhandledErrorinSilverlightApplicationAnAsyncCallbackthrewanexception.atSystem.ServiceModel.AsyncResult.Complete(BooleancompletedSynchronously)</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.101 Safari/537.36</BrowserUserAgent>
       <BrowserLanguage>undefined</BrowserLanguage>
       <SystemLanguage>undefined</SystemLanguage>
       <UserLanguage>undefined</UserLanguage>
       <ScreenResolution>1440x900</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2014-10-09T23:27:30</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>1033</OrgLanguage>
        <OrgCulture>1033</OrgCulture>
        <UserLanguage>1033</UserLanguage>
        <UserCulture>1033</UserCulture>
        <OrgID>{FD89CDC6-072A-E311-90AB-067F90A72129}</OrgID>
        <UserID>{A0675935-5B05-E411-B519-067F90A72129}</UserID>
        <CRMVersion>5.0.9690.4150</CRMVersion>
      </ServerInformation>
    </CrmScriptErrorReport>

    Any help is appreciable.


    Friday, October 10, 2014 6:28 AM

All replies