<?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 : Code First Build Error</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Code First Build Error</description>
  <pubDate>Sat, 11 Apr 2026 19:08:01 -700</pubDate>
  <lastBuildDate>Sat, 10 Mar 2012 12:31:42 -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=3638</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>Code First Build Error : I have a WinForms code first project....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3638&amp;PID=12952#12952</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 3638<br /><strong>Posted:</strong> 10-Mar-2012 at 12:31pm<br /><br />I have a WinForms code first project.  When I build the project, I get the following error message in the VS Error Message Window.<br /><br />Error&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;61&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An error occurred during metadata generation and a metadata file could not be created.  Error: Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.<br /><br />It appears to me that the code first generation is trying to access the database (which is on the same machine and is set for Windows Auth) and is failing.<br /><br />I don't know why it is saying the login is from an untrusted domain. <br /><br />If I run the app, it connects correctly to the database.<br /><br />Any suggestions?<br /><br />UPDATE: Turns out there was a second config file for the DomainModel that I needed to update.<br /><br />Greg<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><span style="font-size:10px"><br /><br />Edited by gregweb - 10-Mar-2012 at 12:36pm</span>]]>
   </description>
   <pubDate>Sat, 10 Mar 2012 12:31:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3638&amp;PID=12952#12952</guid>
  </item> 
 </channel>
</rss>