This project is read-only.

Error When Launching Query Designer


I got the following error when I installed the Solution, refreshed the browser, and attempted to launch the Query Designer using the menu on the left as outlined in the installation instructions.
The error is pasted below...


An exception occurred during the operation, making the result invalid. Check InnerException for exception details.
at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at CRM.Tools.ODataQueryDesigner.CrmSdk.ExecuteCompletedEventArgs.get_Result()
at CRM.Tools.ODataQueryDesigner.Readers.MetadataReader.ExecuteRetrieveEntities_ExecuteCompleted(Object sender, ExecuteCompletedEventArgs response)
at CRM.Tools.ODataQueryDesigner.CrmSdk.OrganizationServiceClient.OnExecuteCompleted(Object state)


RhettClinton wrote Jun 8, 2011 at 1:11 PM

You currently need to access CRM using the server address you used to install it for the tool not to experience the cross domain issue. For example the tool uses Xrm.PAge.context.getServerUrl() to determine the CRM server address. If this is different to what you have accessed CRM with then you will have a cross domain issue. Depending on what you used you may need to try the server name http://servername or the full qualified server name

In the next release I will be changing the way the url is discovered.

Hope this helps.

gedrogedro wrote Sep 9, 2011 at 8:35 PM

I got the same issue And I tried with those server URL :

http://Localhost http://<nameof my server> And I still have the error. any idea?

RhettClinton wrote Oct 18, 2011 at 1:07 AM

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

Many thanks,


wrote Feb 21, 2013 at 11:51 PM