<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Unable to get metadata error</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Unable to get metadata error</description>
  <pubDate>Wed, 13 May 2026 05:46:48 -700</pubDate>
  <lastBuildDate>Wed, 30 May 2012 11:17:02 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3455</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Unable to get metadata error :   Yes, only that entity and...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3455&amp;PID=13677#13677</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1455" rel="nofollow">scapstick</a><br /><strong>Subject:</strong> 3455<br /><strong>Posted:</strong> 30-May-2012 at 11:17am<br /><br />Yes, only that entity and only CacheOnly.&nbsp; If I skip the CacheOnly, execute the async server request, it runs and returns 2 rows, and if I execute the CacheOnly after that, it runs, returning the 2 rows cached by the async call.<div>I'll see if I can make a small solution of it.&nbsp; </div><div>By multi-model do you mean multiple edmx's?&nbsp; If so then yes, there's 7 edmx models and most have been called before this point.</div>]]>
   </description>
   <pubDate>Wed, 30 May 2012 11:17:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3455&amp;PID=13677#13677</guid>
  </item> 
  <item>
   <title>Unable to get metadata error :   Hi Sean,Does the issue only...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3455&amp;PID=13673#13673</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3455<br /><strong>Posted:</strong> 29-May-2012 at 12:32pm<br /><br />Hi Sean,<div>&nbsp;</div><div>Does the issue only occurs with the Member_PromoCatalog entity? Also, does it only occur when querying CacheOnly? Is this&nbsp;a multi-model solution?</div><div>&nbsp;</div><div>Can you provide a small solution reproducing the issue?</div><div>&nbsp;</div><div>Regards,</div><div>&nbsp;&nbsp; Silvio.</div>]]>
   </description>
   <pubDate>Tue, 29 May 2012 12:32:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3455&amp;PID=13673#13673</guid>
  </item> 
  <item>
   <title>Unable to get metadata error :   PromoCatalog.edmx is in it&amp;#039;s...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3455&amp;PID=13655#13655</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1455" rel="nofollow">scapstick</a><br /><strong>Subject:</strong> 3455<br /><strong>Posted:</strong> 25-May-2012 at 8:24am<br /><br />PromoCatalog.edmx is in it's own project.&nbsp; It of course has PromoCatalog.edmx.tt and the generated PromoCatalog.IB.Designer.cs in it.&nbsp; No other classes.<div>The silverlight app has a file link to PromoCatalog.IB.Designer.cs so it gets included in the compile.</div><div>&nbsp;</div><div>And I didn't know what to expect from the call but you're right, it's not a server call.</div>]]>
   </description>
   <pubDate>Fri, 25 May 2012 08:24:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3455&amp;PID=13655#13655</guid>
  </item> 
  <item>
   <title>Unable to get metadata error :   Sean,Is all Member_PromoCatalog&amp;#039;s...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3455&amp;PID=13649#13649</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3455<br /><strong>Posted:</strong> 24-May-2012 at 2:46pm<br /><br />Sean,<div>&nbsp;</div><div>Is all Member_PromoCatalog's partial classes shared/referenced/present in the client?</div><div>&nbsp;</div><div>On a separate note, if you expect a request to the server, you should be running this query async. (This is a Silverlight app, correct?)</div><div>&nbsp;</div><div>Silvio.</div>]]>
   </description>
   <pubDate>Thu, 24 May 2012 14:46:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3455&amp;PID=13649#13649</guid>
  </item> 
  <item>
   <title>Unable to get metadata error :   I found the problem, the AuthenticationContext...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3455&amp;PID=13648#13648</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1455" rel="nofollow">scapstick</a><br /><strong>Subject:</strong> 3455<br /><strong>Posted:</strong> 24-May-2012 at 2:03pm<br /><br />I found the problem, the AuthenticationContext wasn't set on that EntityManager.<div>&nbsp;</div><div>I have a new error I can't find though.&nbsp; When executing this statement<font size="2" face="C&#111;nsolas"></div><p><table width="99%"><tr><td><pre class="BBcode">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var query = emInboxPromoCatalog.Member_PromoCatalog<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .With(QueryStrategy.CacheOnly)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Where(memberIDPredicate)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Execute();<div></div><div></pre></td></tr></table></div><div>&nbsp;</div><div>I get this error:</div><div>Unable to get metadata for LEAF.BusinessObjects.Promotions.Member_PromoCatalog. Make sure it is a valid entity type or POCO type with a KeyAttribute<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityMetadataStore.GetEntityMetadata(Type entityType, Boolean canThrowException)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityManager.CreateEntityGroupAndInitialize(Type entityType)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityManager.GetEntityGroup(Type entityType)<br>&nbsp;&nbsp; at lambda_method(Closure , EntityManager )<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityQuery`1.ExecuteExpression()<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityQuery`1.ExecuteCacheQuery()<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityQueryFinder.ExecuteFind(Guid queryGuid)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityQueryFinder.Execute()<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityManager.ExecuteQueryCore(IEntityQuery query, Boolean isAsync)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityManager.ExecuteQuery&#091;T&#093;(IEntityQuery`1 query)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityQueryExtensions.Execute&#091;T&#093;(IEntityQuery`1 query)<br>&nbsp;&nbsp; at LEAF.DataModels.PromoCatalog.PromoCatalog_DataModel.load_InboxMemberPromoCatalogsForMemberIDAsync(Decimal memberID)<br>&nbsp;&nbsp; at LEAF.DataModels.PromoCatalog.PromoCatalog_DataModel.&lt;load_InboxMemberPromoCatalogsForMemberIDCoroutine&gt;d__19.MoveNext()<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.CoroutineSerialProcessor.Process()<br></font></div><div>I don't see a request to the server yet so it looks like it's a client side isse (Silverlight).&nbsp; Where should I look to try and find what is missing?&nbsp; </div><div>&nbsp;</div><div>Thanks,</div><div>Sean</div>]]>
   </description>
   <pubDate>Thu, 24 May 2012 14:03:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3455&amp;PID=13648#13648</guid>
  </item> 
 </channel>
</rss>