<?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 : Datasource Extension issue</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Datasource Extension issue</description>
  <pubDate>Mon, 13 Apr 2026 13:07:16 -700</pubDate>
  <lastBuildDate>Thu, 08 Mar 2012 11:15:16 -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=3323</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>Datasource Extension issue :   Thanks Kim! </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3323&amp;PID=12932#12932</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1402" rel="nofollow">mitchell_bu</a><br /><strong>Subject:</strong> 3323<br /><strong>Posted:</strong> 08-Mar-2012 at 11:15am<br /><br />Thanks Kim!]]>
   </description>
   <pubDate>Thu, 08 Mar 2012 11:15:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3323&amp;PID=12932#12932</guid>
  </item> 
  <item>
   <title>Datasource Extension issue :   Hi Mitchell,The Authenticator...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3323&amp;PID=12931#12931</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> 3323<br /><strong>Posted:</strong> 08-Mar-2012 at 10:39am<br /><br />Hi Mitchell,<div>&nbsp;</div><div>The Authenticator Login and LoginAsync methods also accept a LoginOptions argument, which allows you to specify the data source extension, among other things.&nbsp;&nbsp; The now deprecated EntityManager.Login methods actually pass LoginOptions based on the EntityManager settings along with its call to the Authenticator.&nbsp; So that's also what you need to do&nbsp; - not something you're doing wrong, just something we haven't documented well.&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 08 Mar 2012 10:39:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3323&amp;PID=12931#12931</guid>
  </item> 
  <item>
   <title>Datasource Extension issue :   Narrowed it down and it may...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3323&amp;PID=12926#12926</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1402" rel="nofollow">mitchell_bu</a><br /><strong>Subject:</strong> 3323<br /><strong>Posted:</strong> 08-Mar-2012 at 7:00am<br /><br />Narrowed it down and it may be something we're doing wrong.<div>&nbsp;</div><div>We've replaced our EntityManager.LoginAsync(credentials) call with Authenticator.Instance.LoginAsync(credentials) since&nbsp;the&nbsp;EntityManager methods are being deprecated.&nbsp; The problem is that the Authenticator isn't aware of the Datasource Extension value.&nbsp; Is there some initialization step we're missing?</div>]]>
   </description>
   <pubDate>Thu, 08 Mar 2012 07:00:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3323&amp;PID=12926#12926</guid>
  </item> 
  <item>
   <title>Datasource Extension issue :   We just upgraded our application...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3323&amp;PID=12912#12912</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1402" rel="nofollow">mitchell_bu</a><br /><strong>Subject:</strong> 3323<br /><strong>Posted:</strong> 07-Mar-2012 at 3:34pm<br /><br /><p>We just upgraded our application to 6.1.6.0 and we noticed a major issue.&nbsp; We take advantage of being able to target different databases dynamically at log-in by defining a datasource extension in the DomainModelEntityManager constructor.&nbsp; However, after upgrading, it seems as if the extension is being ignored when determing which database to connect to, with the first connection string in our config file always being used.&nbsp; When debugging, before calling ConnectAsync on the EntityManager, I can see that the DataSourceExtension property is assigned correctly.&nbsp; We also tried setting the new UseDefaultAuthenticationContext to false, with no effect.</p><p>&nbsp;</p><p>Is this a bug or are we overlooking some breaking change??</p><div>&nbsp;</div><div>&nbsp;</div><div>UPDATE:</div><div>After digging into it a little more, it seems like it may be related to the IEntityLoginManager.&nbsp; We implement this interface and in the Login method we use the EntityManager parameter that is passed in to create a new DomainModelEntityManager to verify login credentials.&nbsp; However, the EntityManager that is getting passed in doesn't have the Datasource Extension property set.&nbsp; I never had reason to get this deep in the code before, but since it worked up until now, I would have to assume that the property was getting passed correctly before 6.1.6.0.</div>]]>
   </description>
   <pubDate>Wed, 07 Mar 2012 15:34:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3323&amp;PID=12912#12912</guid>
  </item> 
 </channel>
</rss>