Answered by:
Microsoft report designer - "The entity with name=" " was not found in metadataCache" for custom entities

Question
-
Hi all,
I'm creating a report using fetch XML for CRM 2011.
I used fetch query against the out-of the box entites and it worked fine. How ever, for custom entities, I get the following error.
" Could not create a list of fields for the query . verify that you can connect to the datasource and that the syntax is correct.
The entity "EntityName " cannot be found.
The entity with name ="EntityName " was not found in the metadataCache."
- Edited by Jakka_crm2011 Tuesday, April 5, 2011 6:08 PM
Monday, March 28, 2011 6:12 PM
Answers
-
So you really did have an entity called "EntityName" ? :)
The entity "EntityName " cannot be found.
The entity with name ="EntityName " was not found in the metadataCache."
Jamie Miley
http://mileyja.blogspot.com
Linked-In Profile
Follow Me on Twitter!- Marked as answer by Jamie MileyModerator Friday, August 31, 2012 5:41 PM
Monday, May 23, 2011 2:28 PMModerator
All replies
-
I also have the latest version for CRM report Authoring extension -5.0.9688.583
and the version for the organization is 5.0.9688.590.
- Edited by Jakka_crm2011 Monday, March 28, 2011 6:38 PM
Monday, March 28, 2011 6:35 PM -
Look through your fetchxml query for "EntityName", it sounds like your XML might not be formed up properly.
Did it come from Advanced Find? How are you creating your queries?
Jamie Miley
http://mileyja.blogspot.com
Linked-In Profile
Follow Me on Twitter!- Proposed as answer by Jamie MileyModerator Monday, May 23, 2011 1:20 PM
Monday, March 28, 2011 6:37 PMModerator -
Tnx for your reply..I'm Doing an advance find and using the download XML .
i'm not manually changing anything in the XML.
The string "EntityName" is just an example , the actual entityname is "new_physicianconsultation."
Monday, March 28, 2011 6:51 PM -
Have you published your new entity yet? If not, it will not show up in metadata.
Jamie Miley
http://mileyja.blogspot.com
Linked-In Profile
Follow Me on Twitter!Monday, March 28, 2011 7:55 PMModerator -
Yes, the entity is published.Tuesday, March 29, 2011 6:39 AM
-
I am having the exact same issue. I use the XML from advanced find and get the error that the entity can't be found in the metadata cache. Did you ever find a solution to this?Thursday, May 19, 2011 12:28 PM
-
Ifound that providing the entity name like this "EntityName" producing the above error, instead providing it like this "entityname" works fine and the same applies for the attributes.
(also if you got the entity name from the database like "entitynamebase" don't include "base" in your string).
Islam Eldemery
http://idemery.net
Sunday, May 22, 2011 6:52 AM -
So it would appear that my initial thought on the query not being formed up properly is correct?
Jamie Miley
http://mileyja.blogspot.com
Linked-In Profile
Follow Me on Twitter!Monday, May 23, 2011 1:20 PMModerator -
Thanks all . But the erorr was with the connection string .
Connection string should be in the following format:
CRM Server URL;[Org Unique Name];[Home Realm URL]
but i only gave the CRM Server URL and it supposedly considers root organization.Hence any new attributes or entities created in other organization were not found .
- Marked as answer by Jamie MileyModerator Tuesday, February 14, 2012 6:19 PM
- Unmarked as answer by Jamie MileyModerator Tuesday, February 14, 2012 6:19 PM
Monday, May 23, 2011 1:38 PM -
So you really did have an entity called "EntityName" ? :)
The entity "EntityName " cannot be found.
The entity with name ="EntityName " was not found in the metadataCache."
Jamie Miley
http://mileyja.blogspot.com
Linked-In Profile
Follow Me on Twitter!- Marked as answer by Jamie MileyModerator Friday, August 31, 2012 5:41 PM
Monday, May 23, 2011 2:28 PMModerator -
I had a new entity in my organization.
"EntityName" was just a pseudoname for the actual entity name I was talkin about :)
Monday, May 23, 2011 2:33 PM -
Monday, May 23, 2011 3:27 PMModerator
-
Did you find your answer?
Jamie Miley
Check out my about.me profile!
http://mileyja.blogspot.com
Linked-In Profile
Follow Me on Twitter!Tuesday, February 14, 2012 6:19 PMModerator -
Hi ,
I have the same problem. Did you manage to solve this ?
Thanks for your response
Eric
Thursday, November 22, 2012 10:03 AM -
I had a similar problem: "The entity with a name = 'text' was not found in the MetadataCache.Detail" and for me the error was caused because I had a parameter named CRM_FilteredText rather than CRM_FilterTextFriday, January 31, 2014 11:30 AM