<?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 : Error when attempting query to service from Silverlight</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Error when attempting query to service from Silverlight</description>
  <pubDate>Wed, 29 Jul 2026 11:16:40 -700</pubDate>
  <lastBuildDate>Fri, 03 Dec 2010 02:22: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=1944</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>Error when attempting query to service from Silverlight :   You need to specify ContractNamespace...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1944&amp;PID=9303#9303</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=832" rel="nofollow">leeatkinson</a><br /><strong>Subject:</strong> 1944<br /><strong>Posted:</strong> 03-Dec-2010 at 2:22am<br /><br />You need to specify ContractNamespace on both assemblies to be the same.]]>
   </description>
   <pubDate>Fri, 03 Dec 2010 02:22:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1944&amp;PID=9303#9303</guid>
  </item> 
  <item>
   <title>Error when attempting query to service from Silverlight : Hello,  I&amp;#039;m facing exactly...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1944&amp;PID=9302#9302</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1012" rel="nofollow">cdelbecq</a><br /><strong>Subject:</strong> 1944<br /><strong>Posted:</strong> 03-Dec-2010 at 12:07am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>I'm facing exactly the same problem,&nbsp; and newbi on devforce</DIV><DIV>&nbsp;</DIV><DIV>Could you explain what you've done to resolve IT</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance</DIV><DIV>Best regards</DIV><DIV>&nbsp;&nbsp; Christophe</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 03 Dec 2010 00:07:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1944&amp;PID=9302#9302</guid>
  </item> 
  <item>
   <title>Error when attempting query to service from Silverlight : Cool. Thanks for letting everyone...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1944&amp;PID=7548#7548</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 1944<br /><strong>Posted:</strong> 07-Jul-2010 at 12:25pm<br /><br />Cool.&nbsp; Thanks for letting everyone know.]]>
   </description>
   <pubDate>Wed, 07 Jul 2010 12:25:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1944&amp;PID=7548#7548</guid>
  </item> 
  <item>
   <title>Error when attempting query to service from Silverlight : I&amp;#039;ve resolved it - the problem...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1944&amp;PID=7544#7544</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=832" rel="nofollow">leeatkinson</a><br /><strong>Subject:</strong> 1944<br /><strong>Posted:</strong> 07-Jul-2010 at 7:52am<br /><br />I've resolved it - the problem I was specifying ContractNamespace on the .NET's assembly but not Silverlight's.<br /><br />Lee]]>
   </description>
   <pubDate>Wed, 07 Jul 2010 07:52:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1944&amp;PID=7544#7544</guid>
  </item> 
  <item>
   <title>Error when attempting query to service from Silverlight : Hi  I have four projects - a .NET...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1944&amp;PID=7525#7525</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=832" rel="nofollow">leeatkinson</a><br /><strong>Subject:</strong> 1944<br /><strong>Posted:</strong> 06-Jul-2010 at 1:04pm<br /><br />Hi<br /><br />I have four projects - a .NET one for the model, and Silvelright one for the model (linking to the .IB.Designer.cs file), one for the Silvelright app and one for the web application.<br /><br />It compiles OK, but when the client attempts a very simple query (return all entities - there's about 100 currently), I get the error below. It is similar to an error in http://www.ideablade.com/forum/forum_posts.asp?TID=1932 but I have checked my references against http://ideablade.com/Friends/FourProject.zip and it all looks in order.<br /><br />IdeaBlade.EntityModel.EntityServerException: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://ideablade.com/EntityModel:entityQuerySurrogate. The InnerException message was 'Element 'http://ideablade.com/Linq:Value' contains data from a type that maps to the name 'http://ideablade.com/EntityModel:EntityQueryProxyOfEntityxAEFGe0B'. The deserializer has no knowledge of any type that maps to this name. Consider using a DataContractResolver or add the type corresponding to 'EntityQueryProxyOfEntityxAEFGe0B' to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding it to the list of known types passed to DataContractSerializer.'.  Please see InnerException for more details. ---&gt; System.ServiceModel.FaultException`1&#091;System.ServiceModel.ExceptionDetail&#093;: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://ideablade.com/EntityModel:entityQuerySurrogate. The InnerException message was 'Element 'http://ideablade.com/Linq:Value' contains data from a type that maps to the name 'http://ideablade.com/EntityModel:EntityQueryProxyOfEntityxAEFGe0B'. The deserializer has no knowledge of any type that maps to this name. Consider using a DataContractResolver or add the type corresponding to 'EntityQueryProxyOfEntityxAEFGe0B' to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding it to the list of known types passed to DataContractSerializer.'.  Please see InnerException for more details.<br />&nbsp;&nbsp;&nbsp;at IdeaBlade.EntityModel.RemoteEntityServerProxyBase.CheckConnection(Exception pException)<br />&nbsp;&nbsp;&nbsp;at IdeaBlade.EntityModel.EntityServerProxy.Fetch(SessionBundle bundle, IEntityQuerySurrogate query)<br />&nbsp;&nbsp;&nbsp;at IdeaBlade.EntityModel.EntityManager.AsyncFetchWorker(AsyncEventArgs state)<br />&nbsp;&nbsp;&nbsp;--- End of inner exception stack trace ---<br />&nbsp;&nbsp;&nbsp;at IdeaBlade.EntityModel.EntityManager.HandleEntityServerException(Exception pException, Boolean pTryToHandle, PersistenceOperation pOperation)<br />&nbsp;&nbsp;&nbsp;at IdeaBlade.EntityModel.EntityManager.&lt;ExecuteQueryAsyncCore&gt;b__4e&#091;T&#093;(EntityQueryOperation`1 op)<br />&nbsp;&nbsp;&nbsp;at IdeaBlade.EntityModel.AsyncProcessor`1.&lt;Execute&gt;b__5(Object x)}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.Exception {IdeaBlade.EntityModel.EntityServerException}<br />]]>
   </description>
   <pubDate>Tue, 06 Jul 2010 13:04:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1944&amp;PID=7525#7525</guid>
  </item> 
 </channel>
</rss>