<?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 : LoginAsync problem</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : LoginAsync problem</description>
  <pubDate>Tue, 28 Apr 2026 19:19:11 -700</pubDate>
  <lastBuildDate>Thu, 27 Aug 2009 03:11:04 -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=1442</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>LoginAsync problem : The problem was that the C2NetDomainModel...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1442&amp;PID=5260#5260</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=508" rel="nofollow">tj62</a><br /><strong>Subject:</strong> 1442<br /><strong>Posted:</strong> 27-Aug-2009 at 3:11am<br /><br />The problem was that the &nbsp;C2NetDomainModel project&nbsp;was not&nbsp;referenced by C2NetSilverWeb. After adding that reference everything worked as expected.<DIV>&nbsp;</DIV><DIV>The other stuff I had already corrected by some "hacking". In particular it took me long time to find out that C2NetSilver should contain a &lt;probeAssemblyName&gt; containing the fully-qualified assembly name of the C2NetDomainModelSL. That is probably the hardest part to understand by newbys like me although having over 16 years programming experience.</DIV><DIV>&nbsp;</DIV><DIV>Thank you.</DIV>]]>
   </description>
   <pubDate>Thu, 27 Aug 2009 03:11:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1442&amp;PID=5260#5260</guid>
  </item> 
  <item>
   <title>LoginAsync problem : If you&amp;#039;ve upgraded your license...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1442&amp;PID=5251#5251</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> 1442<br /><strong>Posted:</strong> 26-Aug-2009 at 9:10am<br /><br />If you've upgraded your license make sure that you also re-generate the domain model, by opening the Object Mapper and saving.&nbsp; <DIV>&nbsp;</DIV><DIV>Make sure that the C2NetDomainModelSL project is referenced by C2NetSilver, and that the app.config in C2NetSilver contains a &lt;probeAssemblyName&gt; containing the fully-qualified assembly name of the C2NetDomainModelSL. (The need for a project reference will be fixed in release 5.2.2.)</DIV><DIV>&nbsp;</DIV><DIV>On the web side, make sure that the C2NetDomainModel project is referenced by C2NetSilverWeb and that the web.config contains a &lt;probeAssemblyName&gt; with the not fully qualified assembly name for C2NetDomainModel.&nbsp; (Note that both the C2NetDomainModel and C2NetDomainModelSL projects should have the same assembly name.)&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>In the web.config, also check that it contains a clientApplicationType="Silverlight" attribute on the ideablade.configuration element.</DIV><DIV>&nbsp;</DIV><DIV>You can check out the "Separate Model Projects" Silverlight learning resource for a solution structure very similar to your own.</DIV>]]>
   </description>
   <pubDate>Wed, 26 Aug 2009 09:10:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1442&amp;PID=5251#5251</guid>
  </item> 
  <item>
   <title>LoginAsync problem : Hi, I&amp;#039;m writing my first...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1442&amp;PID=5245#5245</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=508" rel="nofollow">tj62</a><br /><strong>Subject:</strong> 1442<br /><strong>Posted:</strong> 26-Aug-2009 at 4:09am<br /><br />Hi, I'm writing my first silverlight app. with Ideablade. Please note that I'm using a valid DevForce Silverlight license.<DIV><BR>If I call LoginAsync such:</DIV><DIV>&nbsp;</DIV><DIV>var cred = new LoginCredential("demo","demo","demo"); <BR>_mgr.LoginAsync(cred, LoggedIn, null);</DIV><DIV>&nbsp;</DIV><DIV>I get this exception in the LoggedIn receiver method:</DIV><DIV>&nbsp;</DIV><DIV><FONT size=1>The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter </FONT><a href="http://ideablade.com/EntityModel:credential" target="_blank"><FONT size=1>http://ideablade.com/EntityModel:credential</FONT></A><FONT size=1>. The InnerException message was 'XML 'Element' 'http://ideablade.com/EntityModel:credential' does not contain expected attribute 'http://schemas.microsoft.com/2003/10/Serialization/:Type'. The deserializer has no knowledge of which type to deserialize. Check that the type being serialized has the same contract as the type being deserialized.'.&nbsp; Please see InnerException for more details.</FONT></DIV><DIV>&nbsp;</DIV><DIV>However if I try logging&nbsp;in such :</DIV><DIV>&nbsp;</DIV><DIV>_mgr.LoginAsync(cred, LoggedIn, null);</DIV><DIV>&nbsp;</DIV><DIV>I get this exception in the LoggedIn recevier method:<BR></DIV><DIV><FONT size=1>This product is not registered or the key may no longer be valid. </FONT></DIV><DIV><FONT size=1>Please contact your IdeaBlade representative to obtain a new key or email </FONT><a href="mailto:sales@ideablade.com" target="_blank"><FONT size=1>sales@ideablade.com</FONT></A><FONT size=1>.</FONT></DIV><DIV><FONT size=1>Product: Error</FONT></DIV><DIV>&nbsp;</DIV><DIV>My solution is setup as in the DevForce Dev. Guide and shown in the screenshot below:</DIV><DIV><BR><img src="uploads/508/silverlightsoluti&#111;n.png" height="789" width="303" border="0" /></DIV><DIV>&nbsp;</DIV><DIV>The C2NetSilverWeb is the startup project, and C2NetSilver is the Silverlight Applicaton project. </DIV><DIV>I have succeessfully retrieved data etc. using a Console project as the client.<BR></DIV><DIV>I'm a quite a newby in the security stuff, so I have note done anything to implement the security on the server site. </DIV><DIV>&nbsp;</DIV><DIV>What could be the problem?<BR><BR>Regards<BR>&nbsp; TJ</DIV>]]>
   </description>
   <pubDate>Wed, 26 Aug 2009 04:09:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1442&amp;PID=5245#5245</guid>
  </item> 
 </channel>
</rss>