<?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 : Exception when calling the authentication service</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Exception when calling the authentication service</description>
  <pubDate>Mon, 13 Apr 2026 15:28:40 -700</pubDate>
  <lastBuildDate>Thu, 15 Dec 2011 12:12:35 -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=3160</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>Exception when calling the authentication service :   So does this mean you&amp;#039;ve...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3160&amp;PID=12250#12250</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> 3160<br /><strong>Posted:</strong> 15-Dec-2011 at 12:12pm<br /><br />So does this mean you've resolved the invalid credentials problem you had previously?<div>&nbsp;</div><div>You're right that the my.Client and my.Server assemblies are the likely culprits here.&nbsp;&nbsp; You need to either not deploy both assemblies to each side, or to exclude the unwanted assembly using the CompositionHost.IgnorePatterns (<a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/discovery#HC&#111;ntrollingdiscovery" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/discovery#HControllingdiscovery</a>).&nbsp;&nbsp; </div>]]>
   </description>
   <pubDate>Thu, 15 Dec 2011 12:12:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3160&amp;PID=12250#12250</guid>
  </item> 
  <item>
   <title>Exception when calling the authentication service : Helo,I&amp;#039;ve got an application...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3160&amp;PID=12248#12248</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1136" rel="nofollow">pponzano</a><br /><strong>Subject:</strong> 3160<br /><strong>Posted:</strong> 15-Dec-2011 at 7:05am<br /><br />Helo,<br>I've got an application WPF that uses a web server for accessing the DB,I also use devorce application framework...<br>when I call the login<br><br><div style="font-family: C&#111;nsolas; font-size: 10pt; color: black; : white;"><p style="margin: 0px;"><span style="color: blue;">public</span> <span style="color: blue;">void</span> Login()</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp;&nbsp; {</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; <span style="color: blue;">var</span> loginCredential = <span style="color: blue;">new</span> <span style="color: #2b91af;">LoginCredential</span>(_userName, _password, <span style="color: #a31515;">""</span>);</p><p style="margin: 0px;">&nbsp;</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; <span style="color: blue;">bool</span> isLogged = <span style="color: blue;">false</span>;</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; <span style="color: blue;">try</span></p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; {</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; _authenticationService.Login(loginCredential);</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; _eventAggregator.Publish(<span style="color: blue;">new</span> <span style="color: #2b91af;">ActivateWorkspaceMessage</span>());</p><p style="margin: 0px;">&nbsp;</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; }</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; <span style="color: blue;">catch</span> (<span style="color: #2b91af;">LoginException</span> ex)</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; {</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: green;">//todo add logic for message</span></p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; <span style="color: blue;">int</span> i = 0;</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; }</p><p style="margin: 0px;">&nbsp;</p><p style="margin: 0px;">&nbsp;</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp;&nbsp; }</p></div><br>I got this exception: <br><br>Type 'my.DomainModel.CustomerSearchResult' cannot be added to list of known types since another type 'my.DomainModel.CustomerSearchResult' with the same data contract name 'http://schemas.datacontract.org/2004/07/my.DomainModel:CustomerSearchResult' is already present. If there are different collections of a particular type - for example, List&lt;Test&gt; and Test&#091;&#093;, they cannot both be added as known types.&nbsp; Consider specifying only one of these types for addition to the known types list.<br><br>I think the problem is due to the fact my WPF application uses my.Client, while Web uses my.Server that contains the edmx and shares between my.Client the mymodel.IB.Designer.cs... <br><br>Any suggestion?<br>Thanks<br>]]>
   </description>
   <pubDate>Thu, 15 Dec 2011 07:05:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3160&amp;PID=12248#12248</guid>
  </item> 
 </channel>
</rss>