<?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 : Save File Error when saving a new model</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Save File Error when saving a new model</description>
  <pubDate>Tue, 12 May 2026 22:41:06 -700</pubDate>
  <lastBuildDate>Fri, 13 Nov 2009 16:00:19 -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=1555</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>Save File Error when saving a new model : This is actually a bug, since...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1555&amp;PID=5805#5805</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> 1555<br /><strong>Posted:</strong> 13-Nov-2009 at 4:00pm<br /><br />This is actually a bug, since an InvalidOperationException like that shouldn't be bubbling up to the user.&nbsp;&nbsp; We have this fixed in current bits, and thanks for letting us know about it.]]>
   </description>
   <pubDate>Fri, 13 Nov 2009 16:00:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1555&amp;PID=5805#5805</guid>
  </item> 
  <item>
   <title>Save File Error when saving a new model : Issue resolved,  head slapper..  If...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1555&amp;PID=5796#5796</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=496" rel="nofollow">zinovate</a><br /><strong>Subject:</strong> 1555<br /><strong>Posted:</strong> 12-Nov-2009 at 6:00pm<br /><br />Issue resolved, <DIV>head slapper..</DIV><DIV>&nbsp;</DIV><DIV>If you open the DevForce tool in VS and try to save without assigning an entity model or web service, you will get the error posted above.</DIV><DIV>Makes total sence:</DIV><DIV>&nbsp;</DIV><DIV>From the error:</DIV><DIV>Code generation compiler error: Running transformation: System.InvalidOperationException: Sequence contains no elements.</DIV><DIV>&nbsp;</DIV><DIV>The generator looks like it fires the t4 template with an empty set of elements.</DIV><DIV>I'd like to see a friendlier warning, maybe catching that the "model" file&nbsp;had no&nbsp;EM or webservice and don't attempt to code gen.</DIV><DIV>&nbsp;</DIV><DIV>Thanks.</DIV><DIV>Ben</DIV>]]>
   </description>
   <pubDate>Thu, 12 Nov 2009 18:00:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1555&amp;PID=5796#5796</guid>
  </item> 
  <item>
   <title>Save File Error when saving a new model : I opened one of the samples &amp;#...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1555&amp;PID=5794#5794</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=496" rel="nofollow">zinovate</a><br /><strong>Subject:</strong> 1555<br /><strong>Posted:</strong> 12-Nov-2009 at 2:21pm<br /><br />I opened one of the samples "\100SLV_SimpleSilverlightApp\CodeCS" and I am able to save that model without issue. I have tried creating solutions in several locations with no luck..<DIV>Ben</DIV>]]>
   </description>
   <pubDate>Thu, 12 Nov 2009 14:21:47 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1555&amp;PID=5794#5794</guid>
  </item> 
  <item>
   <title>Save File Error when saving a new model :  I am currently running Devforce...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1555&amp;PID=5793#5793</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=496" rel="nofollow">zinovate</a><br /><strong>Subject:</strong> 1555<br /><strong>Posted:</strong> 12-Nov-2009 at 2:17pm<br /><br /><SPAN lang=EN><P dir=ltr align=left>I am currently running Devforce 5.2.3.1</P><P dir=ltr align=left>When I create a new Silverlight Devforce application I receive the following error when attempting to save the model for the first time.</P><P dir=ltr align=left></P><P dir=ltr align=left>---------------------------</P><P dir=ltr align=left>Save File Error</P><P dir=ltr align=left>---------------------------</P><P dir=ltr align=left>Failed to save model file: 'C:\Users\Ben\Documents\Visual Studio 2008\Projects\SilverlightApplication3\SilverlightApplication3Web\SilverlightApplication3Web.ibedmx'.</P><P dir=ltr align=left></P><P dir=ltr align=left>Code generation compiler error: Running transformation: System.InvalidOperationException: Sequence contains no elements</P><P dir=ltr align=left>at System.Linq.Enumerable.First&#091;TSource&#093;(IEnumerable`1 source)</P><P dir=ltr align=left>at IdeaBlade.VisualStudio.OM.DomainModelTemplateBase.Generate()</P><P dir=ltr align=left>at Microsoft.VisualStudio.TextTemplating32D922B347BF7ED4B134DB672D544EB5.GeneratedTextTransformation.TransformText() in c:\Users\Ben\AppData\Local\Temp\o9f5ze5f.0.cs:line 24</P><P dir=ltr align=left>---------------------------</P><P dir=ltr align=left>OK </P><P dir=ltr align=left>---------------------------</P></SPAN>]]>
   </description>
   <pubDate>Thu, 12 Nov 2009 14:17:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1555&amp;PID=5793#5793</guid>
  </item> 
 </channel>
</rss>