<?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 : Model/Template Mismatch</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Model/Template Mismatch</description>
  <pubDate>Wed, 13 May 2026 13:12:43 -700</pubDate>
  <lastBuildDate>Wed, 28 Dec 2011 14:01:49 -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=3183</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>Model/Template Mismatch : Finally figured it out and I&amp;#039;m...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3183&amp;PID=12337#12337</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=780" rel="nofollow">jmpinchot</a><br /><strong>Subject:</strong> 3183<br /><strong>Posted:</strong> 28-Dec-2011 at 2:01pm<br /><br />Finally figured it out and I'm delighted to report it was a PEBKAC error. While our main project makes use of 3 databases (so those are all I regenerated), other projects of ours make use of a 4th which also lives in the same assembly. Once I regenerated that one, everything compiled and worked properly.<br><br>Thanks for all your help.]]>
   </description>
   <pubDate>Wed, 28 Dec 2011 14:01:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3183&amp;PID=12337#12337</guid>
  </item> 
  <item>
   <title>Model/Template Mismatch :     Well, I&amp;#039;d still flush...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3183&amp;PID=12336#12336</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> 3183<br /><strong>Posted:</strong> 28-Dec-2011 at 12:21pm<br /><br /><p>Well, I'd still flush everything - the bin and obj folders from your projects.&nbsp; We often set up "flush" bat files for this purpose - both to clean to avoid odd problems like this, and to reduce the zip size should we send the solution to anyone.&nbsp; After flushing, back in Visual Studio do a rebuild.</p><p>It's possible that the project dependencies defined for the solution aren't correct somehow too, so that might be worth checking.</p><p>If you place any of your assemblies in the GAC, then that could be causing the problem if an older assembly with matching major/minor version is found.</p><p>Visual Studio will also cache assemblies for designer purposes.&nbsp; You can also try clearing the C:\Users\&lt;user&gt;\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies folder.</p><p>&nbsp;</p>]]>
   </description>
   <pubDate>Wed, 28 Dec 2011 12:21:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3183&amp;PID=12336#12336</guid>
  </item> 
  <item>
   <title>Model/Template Mismatch : Yes. That&amp;#039;s the version listed...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3183&amp;PID=12334#12334</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=780" rel="nofollow">jmpinchot</a><br /><strong>Subject:</strong> 3183<br /><strong>Posted:</strong> 28-Dec-2011 at 10:34am<br /><br />Yes. That's the version listed in the AssemblyInfo.cs file. Its incremented only by our build script and the data assembly itself is in the solution that is experiencing the problem. The solution is totally self-sufficient in that it does not require assemblies built elsewhere in house, only on 3rd party libraries and projects within itself.<br>]]>
   </description>
   <pubDate>Wed, 28 Dec 2011 10:34:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3183&amp;PID=12334#12334</guid>
  </item> 
  <item>
   <title>Model/Template Mismatch :  The only way this error can...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3183&amp;PID=12333#12333</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> 3183<br /><strong>Posted:</strong> 28-Dec-2011 at 10:25am<br /><br />The only way this error can occur is if the assembly in question contains the old model.&nbsp; The 2011.12.23.2596 version of Data.dll is what's found - is that the correct version?&nbsp; ]]>
   </description>
   <pubDate>Wed, 28 Dec 2011 10:25:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3183&amp;PID=12333#12333</guid>
  </item> 
  <item>
   <title>Model/Template Mismatch : I tried that and am still receiving...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3183&amp;PID=12332#12332</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=780" rel="nofollow">jmpinchot</a><br /><strong>Subject:</strong> 3183<br /><strong>Posted:</strong> 28-Dec-2011 at 10:07am<br /><br />I tried that and am still receiving the same error. I've attached the log file that's generated. <br><br><a href="uploads/780/log.zip" target="_blank">uploads/780/log.zip</a>]]>
   </description>
   <pubDate>Wed, 28 Dec 2011 10:07:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3183&amp;PID=12332#12332</guid>
  </item> 
  <item>
   <title>Model/Template Mismatch :   Something must be holding...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3183&amp;PID=12329#12329</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> 3183<br /><strong>Posted:</strong> 28-Dec-2011 at 8:40am<br /><br />Something must be holding on to this DLL.&nbsp; Try deleting the bin, obj and ClientBin folders from the application and web project folders, and then do a Rebuild on the model project.&nbsp;]]>
   </description>
   <pubDate>Wed, 28 Dec 2011 08:40:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3183&amp;PID=12329#12329</guid>
  </item> 
  <item>
   <title>Model/Template Mismatch : I recently upgraded from DevForce...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3183&amp;PID=12328#12328</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=780" rel="nofollow">jmpinchot</a><br /><strong>Subject:</strong> 3183<br /><strong>Posted:</strong> 28-Dec-2011 at 7:43am<br /><br />I recently upgraded from DevForce 6.1.2.0 to 6.1.4.0. I cleaned the project, regnerated each of my models by right clicking on their respective tt files (there are no customizations), everything compiled without issue. However I get do get this at runtime the first time I try to instantiate my entity manager class:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>IdeaBlade.Core.IdeaBladeConfig:InitializationStatusCallback : An entity model in the 'Data, Version=2011.12.23.2596, Culture=neutral, PublicKeyToken=null' assembly was generated by a different version of DevForce that is not compatible with the current version. Please regenerate the entity model base classes by resaving the EDMX in Visual Studio.<br>&nbsp;&nbsp; Model template version:&nbsp;&nbsp; 2.1.2<br>&nbsp;&nbsp; Current template version: 2.1.4<br></pre></td></tr></table><br><br>I have tried re-saving each EDMX, rerunning the T4 files, updating the metadata from the database, cleaning, restarting Visual Studio and still I receive this error message. What do I need to do to fix this issue?<br>]]>
   </description>
   <pubDate>Wed, 28 Dec 2011 07:43:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3183&amp;PID=12328#12328</guid>
  </item> 
 </channel>
</rss>