<?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 : Dynamic Connections</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Dynamic Connections</description>
  <pubDate>Wed, 15 Apr 2026 00:35:51 -700</pubDate>
  <lastBuildDate>Thu, 05 Jul 2007 08:06:10 -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=106</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>Dynamic Connections : I believe what you want is a DataSourceKeyResolver....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=106&amp;PID=235#235</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=34" rel="nofollow">jeffdoolittle</a><br /><strong>Subject:</strong> 106<br /><strong>Posted:</strong> 05-Jul-2007 at 8:06am<br /><br />I believe what you want is a DataSourceKeyResolver.&nbsp; You could have two DataSourceKeys in your ibconfig file, called something like "default_primary" and "default_secondary".&nbsp; In the Resolver code, you could check for availability of the primary server and use the secondary one in case of an outage.&nbsp; In the event of a disconnect once you've instantiated your PM, you could also switch over to the other DataSourceKey and therefore the other server.<DIV></DIV><DIV>&nbsp;</DIV><DIV>Off the top of my head, I'm not sure whether you can change the DataSourceKey of an instantiated PM, or whether you'd have to start a new one and then copy all your existing changes over.&nbsp; </DIV>]]>
   </description>
   <pubDate>Thu, 05 Jul 2007 08:06:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=106&amp;PID=235#235</guid>
  </item> 
  <item>
   <title>Dynamic Connections : I want to provide the capability...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=106&amp;PID=233#233</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=38" rel="nofollow">rclarke</a><br /><strong>Subject:</strong> 106<br /><strong>Posted:</strong> 05-Jul-2007 at 6:52am<br /><br />I want to provide the capability to connect to a different instance of SQL in the event the primary instance is down. This will not be using BOS. In this case there will be a primary server that is normally used. At the end of using the application, a backup (or mirror copy) is made to a backup server or even to the local computer. Upon application start I want to connect first to the primary and if problems exist, prompt the usrer for an alternate SQL Server instance. I know how to get the list of available SQL Server instances but it is not clear to me how to dynamically change the connection string for PM.<DIV>&nbsp;</DIV><DIV>Thanks in advance,</DIV><DIV>&nbsp;</DIV><DIV>Ron Clarke</DIV>]]>
   </description>
   <pubDate>Thu, 05 Jul 2007 06:52:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=106&amp;PID=233#233</guid>
  </item> 
 </channel>
</rss>