4
Vote

Problem executing query on CRM Online

description

When executing the query, I get the following error:
[Arg_SecurityException]
Arguments :
Les chaînes de ressource de débogage ne sont pas disponibles. Souvent la clé et les arguments fournissent suffisamment d'informations pour diagnostiquer le problème. Consultez http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60531.0&File=mscorlib.dll&Key=Arg_SecurityException
 
à System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
à System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
à CRM.Tools.ODataQueryDesigner.QueryDesignerViewModel.<>c__DisplayClass1a.<>c__DisplayClass1c.<DownloadRawContentATOM>b__19()

comments

RhettClinton wrote Sep 10, 2011 at 3:56 PM

This has is due to Silverlight not baing able to execute A System.Net.Browser.ClientHttpWebRequest against CRM Online, It attempts to redirect to the live id site and then fails. Please use the View in Browser option to execute the query when using CRM Online.

Thanks,
Rhett

wrote Sep 10, 2011 at 3:57 PM

RhettClinton wrote Oct 18, 2011 at 12:08 AM

If you still experience the same error please download the latest version 1.0.0.4 and if you see an error please forward it to me.

Many thanks,

Rhett

SIPurdy wrote Oct 25, 2011 at 6:28 AM

As far as I've discovered, the same issue occurs with using any form of Claims Authentication (be it Online, ADFS/Windows or ADFS/Forms).
We've encountered a similar problem, the issue is due to using WebRequestCreator.ClientHttp which doesn't have access to the authentication cookies that have already been established. I think the fix is to use WebRequestCreator.BrowserHttp which uses the browser stack to make the web requests rather than silverlight.

wrote Apr 21, 2012 at 8:55 AM

wrote Feb 21, 2013 at 10:51 PM

wrote Jun 18, 2013 at 4:30 PM

wrote Apr 16, 2015 at 5:28 AM

fwolf wrote Apr 16, 2015 at 5:30 AM

I can confirm that the error occurs for Internet Facing Deployments with Version 1.0.0.5.
The Silverlight error is:

[Arg_SecurityException]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.0.20125.00&File=mscorlib.dll&Key=Arg_SecurityException

[Arg_SecurityException]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.0.20125.00&File=mscorlib.dll&Key=Arg_SecurityException
at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at CRM.Tools.ODataQueryDesigner.QueryDesignerViewModel.<>c__DisplayClass1a.<>c__DisplayClass1c.<DownloadRawContentATOM>b__19()
: Server Address - https://alko-certdev.asp24.org:5555