<?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 : dbConttext and Precompiled Views</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2012 : dbConttext and Precompiled Views</description>
  <pubDate>Fri, 10 Apr 2026 18:55:06 -700</pubDate>
  <lastBuildDate>Fri, 21 Feb 2014 02:24:06 -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=4645</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>dbConttext and Precompiled Views : forget it. Everything seems to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17389#17389</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 21-Feb-2014 at 2:24am<br /><br />forget it. Everything seems to be fine. The Precompiled views are finally working. For some reason, creating a new solution and moving everything over to it seemed to solve the problem. thank you Dennis for all your Dennis and for steering me in the right direction.<br><br>]]>
   </description>
   <pubDate>Fri, 21 Feb 2014 02:24:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17389#17389</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : ok i think i found the problem....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17385#17385</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 20-Feb-2014 at 1:52pm<br /><br />ok i think i found the problem. In my Web application i need to have a reference to my domain model. From my client app i access the remote methods on the server app. I need a reference to the server app. but now i have a reference in my client app to the domain model and to the server app. In my server app i have a reference to the domain model. they both have the UnionData.cdsl, msl, and ssdl files in the domain model. So the app crashes thinking i have a multiple files.<br><br>How do i reference the domain model without having a reference to it?<br><br>]]>
   </description>
   <pubDate>Thu, 20 Feb 2014 13:52:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17385#17385</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : Sounds like you&amp;#039;re on the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17382#17382</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 20-Feb-2014 at 11:13am<br /><br />Sounds like you're on the right track Bill. I'd try creating a fresh Client project and add modules until it breaks.]]>
   </description>
   <pubDate>Thu, 20 Feb 2014 11:13:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17382#17382</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : Ok I am getting closer to solving...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17379#17379</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 19-Feb-2014 at 9:52am<br /><br />Ok I am getting closer to solving this. I got the sample application that you sent me to work. I then created a new solution for my application and moved the domain model over to it. I put the lines in the MainWindow_Loaded to access a table in my database and it worked. I then moved my app.config file to the new solution and it still worked. So i have proved the DomainModel is set up correctly and working fine and the configuration file is working fine. <br><br>so what else could it be? i put the same MainWindow_Loaded method in my application and it fails. So i has to be something with my Client project. I have no Web project as i got rid of that to make this simpler to figure out.<br>]]>
   </description>
   <pubDate>Wed, 19 Feb 2014 09:52:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17379#17379</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : I did and I was able to verify...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17378#17378</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 18-Feb-2014 at 5:01pm<br /><br /><div>I did and I was able to verify that it's not failing. I can see in variable 'r' that I'm getting 93 customer records back. Something must be different between your environment and mine.</div><div><br></div><div>In any case, I think the best thing to do next is to upload the new simple solution you just created so I can take a look.</div><div><span style="line-height: 1.4;"><br></span></div><div><span style="line-height: 1.4;">Please make sure that you're using NorthwindIB database in order to debug this faster.</span></div>]]>
   </description>
   <pubDate>Tue, 18 Feb 2014 17:01:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17378#17378</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : you need to put a try and catch...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17377#17377</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 18-Feb-2014 at 10:01am<br /><br />you need to put a try and catch in ur solution and you will see it is failing. <br><br>&nbsp; void MainWindow_Loaded(object sender, RoutedEventArgs e)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var mgr = new NorthwindIBEntities();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var r = mgr.Customers.ToList();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //fails on this line.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catch (Exception ex)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DebugFns.WriteLine(ex.Message);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }]]>
   </description>
   <pubDate>Tue, 18 Feb 2014 10:01:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17377#17377</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : Ok i downloaded your sample and...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17376#17376</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 17-Feb-2014 at 9:38pm<br /><br />Ok i downloaded your sample and ran it and the same error. I created a new solutions and a new domain model consisting of&nbsp; one entity. went through all the steps and got the same error message. i would be glad to upload both yours and mine to show you that it is not working. if i take the precompiled views out, both apps work fine.<br><br><br><br>]]>
   </description>
   <pubDate>Mon, 17 Feb 2014 21:38:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17376#17376</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : Strange, I was able to download...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17374#17374</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=3" rel="nofollow">JoshO</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 17-Feb-2014 at 5:54pm<br /><br />Strange, I was able to download the zip without being logged in at all with all major browsers (IE, FF, Chrome). Then I did the same logged in and was successful too. I'm not sure what could be intercepting and forcing a login redirect. Just to see, try logging out and then hit the link.]]>
   </description>
   <pubDate>Mon, 17 Feb 2014 17:54:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17374#17374</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : its redirecting me to a login...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17373#17373</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 17-Feb-2014 at 4:20pm<br /><br />its redirecting me to a login page.]]>
   </description>
   <pubDate>Mon, 17 Feb 2014 16:20:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17373#17373</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views :  At quick glance, all your steps...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17372#17372</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 17-Feb-2014 at 3:44pm<br /><br />At quick glance, all your steps seem to be correct.<div><br></div><div>Click on the link below to download my working WPF n-tier sample project. See if you can compare what I have with yours.</div><div><br></div><div>I'd also suggest that you create a separate simple solution with your model, similar to what I did here, so we can eliminate other complexities.</div><div><br></div><div><a href="uploads/912/WpfApplicati&#111;n1.zip" target="_blank">uploads/912/WpfApplication1.zip</a><br></div>]]>
   </description>
   <pubDate>Mon, 17 Feb 2014 15:44:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17372#17372</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : Let me tell the steps i have done...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17371#17371</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 17-Feb-2014 at 1:56pm<br /><br />Let me tell the steps i have done so far.<br><br>1. Modified the UnionData.edmx file i changed the Metadata Artifact Processing property to Copy to Output Director<br><br>2. Built the project<br><br>3. Added the following to the Pre-Build event command line<br><br>"%windir%\Microsoft.NET\Framework\v4.0.30319\EdmGen.exe" /nologo /language:CSharp /mode:ViewGeneration "/inssdl:$(TargetDir)UnionData.ssdl" "/incsdl:$(TargetDir)UnionData.csdl" "/inmsl:$(TargetDir)UnionData.msl" "/outviews:$(ProjectDir)UnionData.Views.cs"<br><br>4. Built the project<br><br>5. In my Domain Model I added the 3 files to my project. IUnionData.csdl, UnionData.msl, and UnionData.ssdl and set the Build Action of each to Embedded Resource and the Copy to output directory to do not copy<br><br>6. Added the UnionData.Views.cs to the DomainModel<br><br>7. Rebuilt the applicaiton<br><br>8. Changed my app.config. for now i am only running client server<br><br><pre style="font-family:C&#111;nsolas;font-size:13;color:black;:white;"><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">add</span><span style="color:blue;">&nbsp;</span><span style="color:red;">name</span><span style="color:blue;">=</span>"<span style="color:blue;">UnionEntities</span>"<span style="color:blue;">&nbsp;</span><span style="color:red;">connectionString</span><span style="color:blue;">=</span>"<span style="color:blue;">metadata=res://*/DomainModel.UnionData.csdl|res://*/DomainModel.UnionData.ssdl|res://*/DomainModel.UnionData.msl;</span><span style="color:blue;"> /&gt;</span></pre><br>9. Run the app. Same error<br><br>An unhandled exception of type 'IdeaBlade.EntityModel.EntityServerException' occurred in IdeaBlade.EntityModel.dll<br><br>Additional information: Key 'UnionEntities': The model's metadata artifact files (csdl, msl, ssdl) are either invalid or could not be found, either as resources in an assembly or loose in the output directory.&nbsp; Perhaps you have multiple assemblies containing the same metadata. Check the connection string for key 'UnionEntities', which says the artifact filenames are UnionData.csdl, UnionData.ssdl, and UnionData.msl. Do these names match the actual artifact filenames? All three root names (e.g., 'UnionData') should be the same and match the edmx filename unless you changed them deliberately.<br><br>]]>
   </description>
   <pubDate>Mon, 17 Feb 2014 13:56:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17371#17371</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : Tried those additional things...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17370#17370</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 17-Feb-2014 at 1:36pm<br /><br />Tried those additional things and no difference i still get the same error when i run the application. Now i am not using CodeFirst and I dont have the CodeFirst.app dll. Does that matter?<br><br>Bill<br><br><br><br>]]>
   </description>
   <pubDate>Mon, 17 Feb 2014 13:36:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17370#17370</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : Hi Bill,You have to add the ssdl,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17369#17369</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 17-Feb-2014 at 1:06pm<br /><br /><div>Hi Bill,</div><div><br></div><div>You have to add the ssdl, csdl and msl resource files to your DomainModel project and set their Build Action to Embedded Resource. Then in your web.config, (assuming you have an n-tier web project), modify how you're specifying the metadata in your connection string as follows,</div><div><br></div><div>Metadata=res://*/DomainModel.Model.csdl|res://*/DomainModel.Model.ssdl|res://*/DomainModel.Model.msl</div>]]>
   </description>
   <pubDate>Mon, 17 Feb 2014 13:06:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17369#17369</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : do i have to add the 3 data files...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17368#17368</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 14-Feb-2014 at 6:20pm<br /><br />do i have to add the 3 data files to the project if i am using the precompiled views? as i said everything works fine if i take the views.cs file out and rebuild<br><br>]]>
   </description>
   <pubDate>Fri, 14 Feb 2014 18:20:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17368#17368</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : do i also have put the views.cs...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17367#17367</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 14-Feb-2014 at 6:06pm<br /><br />do i also have put the views.cs in the client project?<br><br>]]>
   </description>
   <pubDate>Fri, 14 Feb 2014 18:06:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17367#17367</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : no it is a WPF app. My DomainModel...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17366#17366</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 14-Feb-2014 at 5:57pm<br /><br />no it is a WPF app. My DomainModel project is linked on the client.<br><br><br>]]>
   </description>
   <pubDate>Fri, 14 Feb 2014 17:57:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17366#17366</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : Hi Bill,Could you confirm if you...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17365#17365</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 14-Feb-2014 at 5:45pm<br /><br /><div>Hi Bill,</div><div><br></div><div>Could you confirm if you are/are not using SL? The only thing I could think of is that you had added the UnionData.Views.cs file in your DomainModel project but not link it on the SL client project.</div>]]>
   </description>
   <pubDate>Fri, 14 Feb 2014 17:45:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17365#17365</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : just to let you know i took out...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17357#17357</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 12-Feb-2014 at 11:12am<br /><br />just to let you know i took out the prebuild command and removed the views.cs file and rebuilt the solution and it works just fine.<br><br>]]>
   </description>
   <pubDate>Wed, 12 Feb 2014 11:12:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17357#17357</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : ok i followed the directions and...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17355#17355</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 12-Feb-2014 at 5:18am<br /><br />ok i followed the directions and created the views.cs and built my app. when i run it, it displays my login screen and when the user tries to log in i get the following error<br><br>An unhandled exception of type 'IdeaBlade.EntityModel.EntityServerException' occurred in IdeaBlade.EntityModel.dll<br><br>Additional information: Key 'UnionEntities': The model's metadata artifact files (csdl, msl, ssdl) are either invalid or could not be found, either as resources in an assembly or loose in the output directory.&nbsp; Perhaps you have multiple assemblies containing the same metadata. Check the connection string for key 'UnionEntities', which says the artifact filenames are UnionData.csdl, UnionData.ssdl, and UnionData.msl. Do these names match the actual artifact filenames? All three root names (e.g., 'UnionData') should be the same and match the edmx filename unless you changed them deliberately.<br><br>Now this might be my problem<br>the name of the project is DomainModel<br><br>The datasource key is UnionEntties as is the entitymanager name and entitycontaineraccess<br><br>here is my connection string<br>metadata=.\UnionData.csdl|.\UnionData.ssdl|.\UnionData.msl;provider=System.Data.<br><br>and here is the prebuild event command<br><br>"%windir%\Microsoft.NET\Framework\v4.0.30319\EdmGen.exe" /nologo /language:CSharp /mode:ViewGeneration "/inssdl:$(TargetDir)UnionData.ssdl" "/incsdl:$(TargetDir)UnionData.csdl" "/inmsl:$(TargetDir)UnionData.msl" "/outviews:$(ProjectDir)UnionData.Views.cs"<br><br>What am i doing wrong here?<br><br>]]>
   </description>
   <pubDate>Wed, 12 Feb 2014 05:18:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17355#17355</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : Hi Bill,You can generate precompiled...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17354#17354</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 11-Feb-2014 at 10:45am<br /><br />Hi Bill,<div><br></div><div>You can generate precompiled views with a DB first model using a Microsoft tool called EDM Generator. See&nbsp;http://msdn.microsoft.com/en-us/library/bb387165.aspx for more info.</div>]]>
   </description>
   <pubDate>Tue, 11 Feb 2014 10:45:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17354#17354</guid>
  </item> 
  <item>
   <title>dbConttext and Precompiled Views : I have just upgraded an existing...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17352#17352</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4645<br /><strong>Posted:</strong> 08-Feb-2014 at 3:03pm<br /><br />I have just upgraded an existing project from DevForce 2012 to 2012. I am using an EntityFactory and EntityManager and .EDMX. I want to have the ability to use precompiled views but do not require Code First. If I understand correctly I can get Precompiled Views if I have a dbContext. What is the easiest way to add a dbContext to my existing project without having to rewrite my project that uses an EntityManager object to access all my LINQ bojects?<br><br>Bill<br><br>]]>
   </description>
   <pubDate>Sat, 08 Feb 2014 15:03:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4645&amp;PID=17352#17352</guid>
  </item> 
 </channel>
</rss>