<?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 : Remote server error: NotFound with POCO</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Remote server error: NotFound with POCO</description>
  <pubDate>Sun, 12 Apr 2026 06:00:47 -700</pubDate>
  <lastBuildDate>Wed, 28 Sep 2011 13:48:17 -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=2973</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>Remote server error: NotFound with POCO : That was it! Thanks!  </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2973&amp;PID=11728#11728</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1206" rel="nofollow">stevefuzzy</a><br /><strong>Subject:</strong> 2973<br /><strong>Posted:</strong> 28-Sep-2011 at 1:48pm<br /><br /><DIV>That was it!</DIV><P>Thanks!</P><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 28 Sep 2011 13:48:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2973&amp;PID=11728#11728</guid>
  </item> 
  <item>
   <title>Remote server error: NotFound with POCO :   I think the IGrouping is confusing...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2973&amp;PID=11718#11718</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> 2973<br /><strong>Posted:</strong> 27-Sep-2011 at 6:50pm<br /><br />I think the IGrouping is confusing the serializer.  Try this instead:<div><span style="color: blue;">  &nbsp;&nbsp;&nbsp; new</span> <span style="color: rgb43, 145, 175;">PogSectionGroup</span> { PogID = p.Key, Sections = p.AsEnumerable&lt;ProjectPOG&gt;() });</div><div>&nbsp;</div><div>Also be sure to add the DataMember attribute to your PogID property.<br>  </div>]]>
   </description>
   <pubDate>Tue, 27 Sep 2011 18:50:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2973&amp;PID=11718#11718</guid>
  </item> 
  <item>
   <title>Remote server error: NotFound with POCO : I have the following query in...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2973&amp;PID=11712#11712</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1206" rel="nofollow">stevefuzzy</a><br /><strong>Subject:</strong> 2973<br /><strong>Posted:</strong> 26-Sep-2011 at 10:34pm<br /><br /><DIV></DIV>I have the following query in a Silverlight app, in a function that is called from inside of a coroutine (the caller does a yield return on the return value of the function:<DIV><PRE style="FONT-FAMILY: C&#111;nsolas; : white; COLOR: black; FONT-SIZE: 13px"><PRE style="FONT-FAMILY: C&#111;nsolas; : white; COLOR: black; FONT-SIZE: 13px"><SPAN style="COLOR: #2b91af">	IEnumerable</SPAN>&lt;<SPAN style="COLOR: #2b91af">PogSectionGroup</SPAN>&gt;&nbsp;sectionGroups&nbsp;=&nbsp;<SPAN style="COLOR: blue">null</SPAN>;</PRE>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">var</SPAN>&nbsp;qrySections&nbsp;=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;em.ProjectPOGs.Where(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;p&nbsp;=&gt;&nbsp;p.ProjectID&nbsp;==&nbsp;project.ProjectID&nbsp;&amp;&amp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;p.PogType&nbsp;==&nbsp;(<SPAN style="COLOR: blue">int</SPAN>)sectionPogType)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.OrderBy(p&nbsp;=&gt;&nbsp;p.SFFDecrementNum)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.GroupBy(p&nbsp;=&gt;&nbsp;p.POGID)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Select(p&nbsp;=&gt;&nbsp;<SPAN style="COLOR: blue">new</SPAN>&nbsp;<SPAN style="COLOR: #2b91af">PogSectionGroup</SPAN>&nbsp;{&nbsp;PogID&nbsp;=&nbsp;p.Key,&nbsp;Sections&nbsp;=&nbsp;p&nbsp;});&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">return</SPAN>&nbsp;qrySections.ExecuteAsync(op&nbsp;=&gt; sectionGroups&nbsp;=&nbsp;op.Results);The code fails when it references op.Results, with the error: <BR>		The Remote server returned an error: NotFound</PRE><PRE style="FONT-FAMILY: C&#111;nsolas; : white; COLOR: black; FONT-SIZE: 13px"><SPAN style="COLOR: #2b91af">PogSectionGroup</SPAN> is a POCO class that is compiled both in a serverside-referenced domain model, <BR>and client-side referenced domain model (SL dll):</PRE><PRE style="FONT-FAMILY: C&#111;nsolas; : white; COLOR: black; FONT-SIZE: 13px"><PRE style="FONT-FAMILY: C&#111;nsolas; : white; COLOR: black; FONT-SIZE: 13px">&nbsp;&nbsp;&nbsp;&nbsp;&#091;<SPAN style="COLOR: #2b91af">DataContract</SPAN>&#093;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: blue">class</SPAN>&nbsp;<SPAN style="COLOR: #2b91af">PogSectionGroup</SPAN>&nbsp;:&nbsp;<SPAN style="COLOR: #2b91af">IHasEntityAspect</SPAN>,&nbsp;<SPAN style="COLOR: #2b91af">IKnownType</SPAN>&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: blue">enum</SPAN>&nbsp;<SPAN style="COLOR: #2b91af">SectionSortMetricType</SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;VPE,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;VPEperSFF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#091;<SPAN style="COLOR: #2b91af">Key</SPAN>&#093;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: blue">int</SPAN>&nbsp;PogID&nbsp;{&nbsp;<SPAN style="COLOR: blue">get</SPAN>;&nbsp;<SPAN style="COLOR: blue">set</SPAN>;&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#091;<SPAN style="COLOR: #2b91af">DataMember</SPAN>&#093;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: #2b91af">IEnumerable</SPAN>&lt;<SPAN style="COLOR: #2b91af">ProjectPOG</SPAN>&gt;&nbsp;Sections&nbsp;{&nbsp;<SPAN style="COLOR: blue">get</SPAN>;&nbsp;<SPAN style="COLOR: blue">set</SPAN>;&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">private</SPAN>&nbsp;<SPAN style="COLOR: #2b91af">ProjectPOG</SPAN>&nbsp;_currentSection;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">private</SPAN>&nbsp;<SPAN style="COLOR: blue">int</SPAN>&nbsp;_currentIdx; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: blue">static</SPAN>&nbsp;<SPAN style="COLOR: #2b91af">SectionSortMetricType</SPAN>&nbsp;SectionSortMetric(<SPAN style="COLOR: #2b91af">Enums</SPAN>.<SPAN style="COLOR: #2b91af">OptimizationBasis</SPAN>&nbsp;optBasis)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: #2b91af">Debug</SPAN>.Assert(optBasis&nbsp;!=&nbsp;<SPAN style="COLOR: #2b91af">Enums</SPAN>.<SPAN style="COLOR: #2b91af">OptimizationBasis</SPAN>.UnknownOptimization);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">return</SPAN>&nbsp;(optBasis&nbsp;==&nbsp;<SPAN style="COLOR: #2b91af">Enums</SPAN>.<SPAN style="COLOR: #2b91af">OptimizationBasis</SPAN>.IncrementVPEperSKU&nbsp;||&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;optBasis&nbsp;==&nbsp;<SPAN style="COLOR: #2b91af">Enums</SPAN>.<SPAN style="COLOR: #2b91af">OptimizationBasis</SPAN>.NonIncrementVPEperSKU)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;?&nbsp;<SPAN style="COLOR: #2b91af">SectionSortMetricType</SPAN>.VPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;<SPAN style="COLOR: #2b91af">SectionSortMetricType</SPAN>.VPEperSFF;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: blue">bool</SPAN>&nbsp;MustKeepSection(<SPAN style="COLOR: blue">int</SPAN>&nbsp;projectLastDelPriority,&nbsp;<SPAN style="COLOR: #2b91af">ProjectConstraint</SPAN>&nbsp;constraint)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">return</SPAN>&nbsp;_currentSection.MustKeepSection(projectLastDelPriority,&nbsp;constraint);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: blue">void</SPAN>&nbsp;Reset()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_currentIdx&nbsp;=&nbsp;0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_currentSection&nbsp;=&nbsp;Sections.ElementAt(_currentIdx);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: #2b91af">ProjectPOG</SPAN>&nbsp;NextSection()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: #2b91af">ProjectPOG</SPAN>&nbsp;nextSec&nbsp;=&nbsp;_currentSection;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_currentSection&nbsp;=&nbsp;<SPAN style="COLOR: blue">null</SPAN>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_currentIdx++;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">if</SPAN>&nbsp;(_currentIdx&nbsp;&lt;&nbsp;Sections.Count())&nbsp;_currentSection&nbsp;=&nbsp;Sections.ElementAt(_currentIdx);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">return</SPAN>&nbsp;nextSec;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#091;<SPAN style="COLOR: #2b91af">ReadOnly</SPAN>(<SPAN style="COLOR: blue">true</SPAN>)&#093;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#091;<SPAN style="COLOR: #2b91af">IgnoreDataMember</SPAN>&#093;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: blue">int</SPAN>&nbsp;BestItemDelPriority&nbsp;{&nbsp;<SPAN style="COLOR: blue">get</SPAN>&nbsp;{&nbsp;<SPAN style="COLOR: blue">return</SPAN>&nbsp;<SPAN style="COLOR: #2b91af">Convert</SPAN>.ToInt32(_currentSection.BestItemDelPrio);&nbsp;}&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#091;<SPAN style="COLOR: #2b91af">ReadOnly</SPAN>(<SPAN style="COLOR: blue">true</SPAN>)&#093;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#091;<SPAN style="COLOR: #2b91af">IgnoreDataMember</SPAN>&#093;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: blue">double</SPAN>&nbsp;VPEperSFF&nbsp;{&nbsp;<SPAN style="COLOR: blue">get</SPAN>&nbsp;{&nbsp;<SPAN style="COLOR: blue">return</SPAN>&nbsp;_currentSection.VPEperSFF;&nbsp;}&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#091;<SPAN style="COLOR: #2b91af">ReadOnly</SPAN>(<SPAN style="COLOR: blue">true</SPAN>)&#093;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#091;<SPAN style="COLOR: #2b91af">IgnoreDataMember</SPAN>&#093;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: blue">double</SPAN>&nbsp;VPE&nbsp;{&nbsp;<SPAN style="COLOR: blue">get</SPAN>&nbsp;{&nbsp;<SPAN style="COLOR: blue">return</SPAN>&nbsp;<SPAN style="COLOR: #2b91af">Convert</SPAN>.ToDouble(_currentSection.VPE_CUR);&nbsp;}&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#091;<SPAN style="COLOR: #2b91af">IgnoreDataMember</SPAN>&#093;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: #2b91af">EntityAspect</SPAN>&nbsp;EntityAspect&nbsp;{&nbsp;<SPAN style="COLOR: blue">get</SPAN>;&nbsp;<SPAN style="COLOR: blue">set</SPAN>;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</PRE><PRE style="FONT-FAMILY: C&#111;nsolas; : white; COLOR: black; FONT-SIZE: 13px">&nbsp;</PRE><PRE style="FONT-FAMILY: C&#111;nsolas; : white; COLOR: black; FONT-SIZE: 13px">&nbsp;</PRE><PRE style="FONT-FAMILY: C&#111;nsolas; : white; COLOR: black; FONT-SIZE: 13px">I do not have a POCO service provider for this POCO class,</PRE><PRE style="FONT-FAMILY: C&#111;nsolas; : white; COLOR: black; FONT-SIZE: 13px"> but even if I add one, I still get the error</PRE><PRE style="FONT-FAMILY: C&#111;nsolas; : white; COLOR: black; FONT-SIZE: 13px">&nbsp;</PRE><PRE style="FONT-FAMILY: C&#111;nsolas; : white; COLOR: black; FONT-SIZE: 13px">Any ideas?  </PRE><PRE style="FONT-FAMILY: C&#111;nsolas; : white; COLOR: black; FONT-SIZE: 13px">&nbsp;</PRE><PRE style="FONT-FAMILY: C&#111;nsolas; : white; COLOR: black; FONT-SIZE: 13px">Thanks,</PRE><PRE style="FONT-FAMILY: C&#111;nsolas; : white; COLOR: black; FONT-SIZE: 13px">&nbsp;</PRE></PRE></DIV>]]>
   </description>
   <pubDate>Mon, 26 Sep 2011 22:34:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2973&amp;PID=11712#11712</guid>
  </item> 
 </channel>
</rss>