8 thoughts on “CRM 2011 Metadata Browser

  1. JohnB

    Thanks Rhett, but unfortunately this errors when I try to use it. The short error message is “The definition of the resource ID could not be found”.
    Any help appreciated. Thanks….John

    The longer version is “[Async_ExceptionOccurred]
    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=4.0.60310.0&File=System.dll&Key=Async_ExceptionOccurred

    at CRM.Tools.MetadataBrowser.Views.EntityList.ExecuteRetrieveEntities_ExecuteCompleted(Object sender, ExecuteCompletedEventArgs response)
    at CRM.Tools.MetadataBrowser.CrmSdk.OrganizationServiceClient.OnExecuteCompleted(Object state)”

    Reply
    1. Rhett Clinton Post author

      This has to do with the url you used. You have to access CRM using the server address used during the install, usually this is the server name. I have seen this error occur when CRM is accessed using an IP address or full server FQDN address. It is due to a cross domain issue as the CRM server url is currently obtained using Xrm.Page.getServerUrl() and if the url you access CRM is different to what is returned from this function then you will receive the cross domain issue.

      Reply
  2. John Thibodeau

    I’m getting a strange error after adding the Metadata browser solution to a CRM 2011 VM that I’ve been working on. Do you have any idea what this means?

    [Async_ExceptionOccurred]
    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=4.0.60310.0&File=System.dll&Key=Async_ExceptionOccurred

    at CRM.Tools.MetadataBrowser.Views.EntityList.ExecuteRetrieveEntities_ExecuteCompleted(Object sender, ExecuteCompletedEventArgs response)
    at CRM.Tools.MetadataBrowser.CrmSdk.OrganizationServiceClient.OnExecuteCompleted(Object state)

    Yes – I’ve published the changes.
    Yes – I’ve restarted the application
    No – I haven’t installed SP1 yet – but I’ll do this now.

    Thanks,

    Jt

    Reply
    1. Rhett Clinton Post author

      This usually happens if you access CRM with a different URL then what is returned from Xrm.Page.context.getServerUrl() . So which ever URL you installed CRM against is the one to use. it may be the server name or full qualified domain name. The problem is that Silverlight experiences a cross domain security issue. In my next release I will be changing the way the tool determines the URL so to avoid the cross domain issue.

      Regards,
      Rhett

      Reply
  3. John Livermore

    Hi, thanks for creating this component. I had a feature suggestion.

    I used the old CRM 4 version to quickly locate attribute names. Using the old metadata browser I could quickly find the name of an attribute without having to scroll through the entities attribute list in the grid (by using the browser Find).

    Could you add a search box to your component that would do a wildcard search for an attribute? For example, if you search on ’email’ then it would return attributes such as…

    mv_newemailaddress
    internalemail

    etc…

    That would really make this useful for me (hopefully others can benefit too)!

    Reply
    1. Rhett Clinton Post author

      I am working on adding a search feature and also Export to Excel. i have not yet decided if the next release will be on the CRM MarketPlace or codeplex. Thank you for your interest and apologies for not providing updates sooner.

      Cheers,
      Rhett

      Reply

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.