<?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 : Filed to Fetch ... after minor change to EDMX</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Filed to Fetch ... after minor change to EDMX</description>
  <pubDate>Sat, 11 Apr 2026 21:39:37 -700</pubDate>
  <lastBuildDate>Thu, 04 Jun 2009 11:05:54 -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=1300</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>Filed to Fetch ... after minor change to EDMX : Cool - thanks Kim. </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1300&amp;PID=4709#4709</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=518" rel="nofollow">philcockfield</a><br /><strong>Subject:</strong> 1300<br /><strong>Posted:</strong> 04-Jun-2009 at 11:05am<br /><br />Cool - thanks Kim.]]>
   </description>
   <pubDate>Thu, 04 Jun 2009 11:05:54 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1300&amp;PID=4709#4709</guid>
  </item> 
  <item>
   <title>Filed to Fetch ... after minor change to EDMX : Store generated IDs work in DevForce,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1300&amp;PID=4708#4708</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1300<br /><strong>Posted:</strong> 04-Jun-2009 at 10:27am<br /><br />Store generated IDs work in DevForce, and shouldn't cause a problem when the Entity Model is generated from the EDMX either.&nbsp; Now that you have an updated database (or you did at some point), try updating or regenerating the model from the database in VS2008 to let the designer&nbsp;build the EDMX.&nbsp; Maybe there are EDMX changes from VS2010 which aren't recognized in VS2008.<DIV>&nbsp;</DIV><DIV>When using store generated IDs there's nothing special you have to do in your DevForce application.&nbsp; You don't need your own IIdGenerator, and you don't need to call GenerateId() for new items -- it should just work.</DIV><DIV>&nbsp;</DIV><DIV>Regarding the ObjectContext error - I was referring to the "Entity Model" assembly, the assembly holding the EDMX-generated code.&nbsp; In an application such as your attached Silverlight example, the web project assembly holds both the&nbsp;"Entity Model" and "Domain Model" so the possibility of a missing assembly doesn't apply.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 04 Jun 2009 10:27:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1300&amp;PID=4708#4708</guid>
  </item> 
  <item>
   <title>Filed to Fetch ... after minor change to EDMX : I figured out how to get the EDMX...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1300&amp;PID=4707#4707</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=518" rel="nofollow">philcockfield</a><br /><strong>Subject:</strong> 1300<br /><strong>Posted:</strong> 04-Jun-2009 at 9:29am<br /><br />I figured out how to get the EDMX building (so that the 'TalkAudience.Designer.cs' file auto-generates) and now DevForce is working again.<br><br>Thanks<br><br>It was the inclusion of the StoreGeneratedPattern="Identity" attributes on ID's that was causing it to fail.<br><br>Do you have any guidance on how to get IDENTITY working in the EDMX or the DB? I went down this path based on the reference in the 'Notes on Adding and Deleting Sample.pdf' learning-unit document about how DevForce handles automatically handles identity creation. The document explains the behavior, but not how to make it happen &#091;apologies, I'm not a DB guy at all&#093;.<br><br>Reference Extract:<br>Pg1:<br><br><b>Approach to Setting Key Value</b><br>...<br>2. <b>Allow DevForce to handle it</b><br>Backing database is SQL Server and the primary key of the entity’s backing table is an auto-generated identity.<br>]]>
   </description>
   <pubDate>Thu, 04 Jun 2009 09:29:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1300&amp;PID=4707#4707</guid>
  </item> 
  <item>
   <title>Filed to Fetch ... after minor change to EDMX : Thanks Kim.  I&amp;#039;ll look into...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1300&amp;PID=4706#4706</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=518" rel="nofollow">philcockfield</a><br /><strong>Subject:</strong> 1300<br /><strong>Posted:</strong> 04-Jun-2009 at 9:17am<br /><br />Thanks Kim.  I'll look into that.<br /><br />Regarding your comment: "(The other primary reason for this message is when the dll is missing altogether."<br /><br />Can you be more specific here please?  Precisely what DLL is missing?  When I build, in my 'bin' I have a 'TalkAudience.dll' emitted.  <br /><br />What should be there? <br /><br />Thanks.<br /><br />]]>
   </description>
   <pubDate>Thu, 04 Jun 2009 09:17:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1300&amp;PID=4706#4706</guid>
  </item> 
  <item>
   <title>Filed to Fetch ... after minor change to EDMX : Take a look at TalkAudience.Designer.cs....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1300&amp;PID=4704#4704</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1300<br /><strong>Posted:</strong> 04-Jun-2009 at 8:15am<br /><br />Take a look at TalkAudience.Designer.cs.&nbsp; It shows that the Entity Model wasn't generated due to an error.<br><br>In this case the run time error message means that it really couldn't find the ObjectContext, since it wasn't generated.&nbsp; (The other primary reason for this message is when the dll is missing altogether.)<br>]]>
   </description>
   <pubDate>Thu, 04 Jun 2009 08:15:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1300&amp;PID=4704#4704</guid>
  </item> 
  <item>
   <title>Filed to Fetch ... after minor change to EDMX : I have a really simple demo project...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1300&amp;PID=4700#4700</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=518" rel="nofollow">philcockfield</a><br /><strong>Subject:</strong> 1300<br /><strong>Posted:</strong> 03-Jun-2009 at 11:11pm<br /><br />I have a really simple demo project that I'm using to get rolling with DevForce for Silverlight.<br><br>It was working, in so far as it was executing a simple Query against the DB and returning values.&nbsp; Then I did this:<br><br><ol><li>I updated the EDMX, changing the 'StoreGeneratedPattern' for the ID properties on entities to 'Identity'.<br>(NB: I'm using the model-generator in VS-2010 to generate the EDMX and SQL, then copying it back to VS2008)<br></li><li>I updated the DB to reflect the EDMX model (using the expored SQL script)</li><li>I copied the updated EDMX into the DevForce test project that was working.</li><li>Updated the 'imedmx' file by removing the EntityModel then adding again (not sure if this was over-kill, but seemed like it would do the trick).</li></ol><br>Now, I'm now sure if any, or all, of the above is to blame, but I now get the following error when executing the fetch:<br><font color="#ff0000"><br></font><blockquote><font color="#ff0000">Failed to fetch: Error in EdmKey Default: Unable to locate an ObjectContext in the probe assemblies. This is often caused by not copying your EF model 'dll' to the deployment directory. This will be either the client application directory in a two tier deployment or the server deployment directory in an n-tier deployment.</font><br></blockquote><br>There have been various posts on this form about this particular error, but none recently, and none seemingly related to my situation (I don't think). <br><br>So I've screwed something up here...I'd really like to know what it might be, so I can edit models in confidence and not have DevForce stop working on me.<br><br>Does anyone have any ideas on what's happening here?&nbsp; I have copied the sample project to this post if that will help to see what's going on (included in this is the SQL Script to generate the DB).<br><br>Thanks!<br><br><a href="uploads/518/Sample.zip" target="_blank">Sample Project</a><br><br>]]>
   </description>
   <pubDate>Wed, 03 Jun 2009 23:11:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1300&amp;PID=4700#4700</guid>
  </item> 
 </channel>
</rss>