This project is read-only.
1
Vote

Error When Launching Query Designer

description

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)

comments

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 http://server.domain.com.

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

Hope this helps.
Rhett

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 1.0.0.4 and if you see an error please forward it to me.

Many thanks,

Rhett

wrote Feb 21, 2013 at 11:51 PM