<?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 2012 : Unable to get metadata error</description>
  <pubDate>Sat, 25 Apr 2026 10:53:39 -700</pubDate>
  <lastBuildDate>Thu, 03 Apr 2014 09:31:09 -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=4669</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 : Ok I figured out my problem. It...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4669&amp;PID=17439#17439</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1009" rel="nofollow">JohnBloom</a><br /><strong>Subject:</strong> 4669<br /><strong>Posted:</strong> 03-Apr-2014 at 9:31am<br /><br />Ok I figured out my problem. It turns out that the Nuget package updated the dlls but didnt update the reference. So It looked like it was using Newtonsoft 6 but the reference still said 4.5.&nbsp;<div><br></div><div>As a side benefit we are now on the latest Devforce, Cocktail, Newtonsoft, and EntityFramework. :)</div>]]>
   </description>
   <pubDate>Thu, 03 Apr 2014 09:31:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4669&amp;PID=17439#17439</guid>
  </item> 
  <item>
   <title>Unable to get metadata error : My error is happening during run...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4669&amp;PID=17438#17438</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1009" rel="nofollow">JohnBloom</a><br /><strong>Subject:</strong> 4669<br /><strong>Posted:</strong> 03-Apr-2014 at 6:39am<br /><br />My error is happening during run time and not during compile. I am also not using code first, so I dont think we are having the same issue<div><br></div><div>Thanks for the comment though as it does seem like Ideablade is switching gears and it is hard to get the same day response that we are used to. I might actually try updating EF and see it that fixes my issue.&nbsp;</div><div><br></div><div>Hope you can get your issues resolved</div><div><br></div><div>John</div>]]>
   </description>
   <pubDate>Thu, 03 Apr 2014 06:39:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4669&amp;PID=17438#17438</guid>
  </item> 
  <item>
   <title>Unable to get metadata error : If your NuGet updates also updated...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4669&amp;PID=17435#17435</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1614" rel="nofollow">jbiddle61</a><br /><strong>Subject:</strong> 4669<br /><strong>Posted:</strong> 02-Apr-2014 at 4:22pm<br /><br />If your NuGet updates also updated Entity Framework from 6.0.2 to 6.1, you are having the same problem I am (see prior thread).&nbsp; I've been waiting for over a week for a response from IdeaBlade support, but nothing yet.&nbsp; To work around the problem, I had to revert EF back to 6.0.2 by using NuGet to remove all packages that refer to EF and then EF itself.&nbsp; Then use the NuGet console to get version 6.0.2 of EF and re-add the other packages you had to remove.&nbsp; Big paid in the A$$ I know, but that is the only way I was able to get my model projects building again.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; John<br>]]>
   </description>
   <pubDate>Wed, 02 Apr 2014 16:22:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4669&amp;PID=17435#17435</guid>
  </item> 
  <item>
   <title>Unable to get metadata error : We have been having some pretty...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4669&amp;PID=17434#17434</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1009" rel="nofollow">JohnBloom</a><br /><strong>Subject:</strong> 4669<br /><strong>Posted:</strong> 02-Apr-2014 at 1:38pm<br /><br /><div>We have been having some pretty strange behavior and I am really at a loss to explain it. Here is the back story.</div><div><br></div><div>I was updating the Newtonsoft library via nuget. I did some other things and ran the product. It crashed with the error below. This is a WPF app we can run instead of running our windows services:</div><div><br></div><div>Service cannot be started. System.ArgumentException: Unable to get metadata for CoreDB.BaseKalosPoco. Make sure it is a valid entity type or POCO type with a KeyAttribute</div><div>&nbsp; &nbsp;at IdeaBlade.EntityModel.EntityMetadataStore.GetEntityMetadata(Type entityType, Boolean canThrowException)</div><div>&nbsp; &nbsp;at IdeaBlade.EntityModel.EntityMetadata.IsMappedEntityType(Type t)</div><div>&nbsp; &nbsp;at IdeaBlade.EntityModel.EntityMetadata.HasAnyConcreteEntityBaseTypes(Type type)</div><div>&nbsp; &nbsp;at IdeaBlade.EntityModel.EntityQuery.get_Expression()</div><div>&nbsp; &nbsp;at System.Linq.Queryable.Where&#091;TSource&#093;(IQueryable`1 source, Expression`1 predicate)</div><div>&nbsp; &nbsp;at DomainServices.InterfaceServerRepository.GetInterfaces(String instanceName)</div><div>&nbsp; &nbsp;at PPO.Service.Core.KalosServiceWorker.StartInstalledInterfaces(String instanceName, IEventAggregator eventAggregator)</div><div>&nbsp; &nbsp;at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)</div><div><br></div><div>This happens on the first query that is run. I went through all of my changes but reversing them one by one and this lead me to Newtonsoft. Indeed updating from version 4.5.11 to the current version causes this error. Since our devforce version was behind I updated it to see if the problem was fixed. After updating all of the libraries I was able to run the application with no errors.&nbsp;</div><div><br></div><div>So I created an installer and ran it on our test server and the service crashed with the error. So now I am in an even worse spot because the error is only reproducible in the wild.</div><div><br></div><div>The object that it is complaining about is the base class that is injected into entities. I also have this line in the bootstrapper:</div><div><br></div><div>IdeaBlade.Core.Composition.CompositionHost.IgnorePatterns.Add("Newtonsoft.*");</div><div>I really have no idea why Newtonsoft is blowing up our application.&nbsp;</div><div>Any ideas? Let me know if I can provide any more information.</div>]]>
   </description>
   <pubDate>Wed, 02 Apr 2014 13:38:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4669&amp;PID=17434#17434</guid>
  </item> 
 </channel>
</rss>