<?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 : Does DevForce work with SQL mirrroring?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Does DevForce work with SQL mirrroring?</description>
  <pubDate>Wed, 15 Apr 2026 03:57:18 -700</pubDate>
  <lastBuildDate>Mon, 31 Dec 2007 21:44: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=220</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>Does DevForce work with SQL mirrroring? : when running SQL Mirroring and...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=220&amp;PID=2321#2321</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=57" rel="nofollow">johnkym</a><br /><strong>Subject:</strong> 220<br /><strong>Posted:</strong> 31-Dec-2007 at 9:44pm<br /><br />when running SQL Mirroring and Ideablade the only thing you should remember is to manually remove the Automaticly added Collum that SQL mirroring adds in to the table.&nbsp; egg normally called rowguid. i have now had this running for quite some time and can assure you there is no problem at all in fact it works brilliantly this way. as you can set your own DNS record pointing to your SQL server and there after you are set.<DIV>eg..</DIV><DIV>SQLServer = 192.16.0.11</DIV><DIV>&nbsp;</DIV><DIV>change host file </DIV><DIV>192.168.2.12 SQL</DIV><DIV>&nbsp;</DIV><DIV>i can have the same program running under multiple diferant network systems and orginizations and all i have to do is ad a DNS entry all servers being called diferant names but the Ideablade Model program all point to SQLServer. this also means i can work on the program on my laptop and not have an internet connection as i drive around Australia.... when i get back to the office the changes are replicated to the main server..</DIV>]]>
   </description>
   <pubDate>Mon, 31 Dec 2007 21:44:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=220&amp;PID=2321#2321</guid>
  </item> 
  <item>
   <title>Does DevForce work with SQL mirrroring? : This is an interesting question....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=220&amp;PID=484#484</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 220<br /><strong>Posted:</strong> 12-Jul-2007 at 4:05pm<br /><br /><P =Ms&#111;normal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">This is an interesting question.&nbsp; After some research, we believe DevForce should work with this new SQL2005 mirroring with automatic failover feature.<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Related web link: <a href="http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx" target="_blank"><FONT face=Arial size=2>http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx</FONT></A><o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">See the Client-side Redirect section of this page:<o:p></o:p></SPAN></FONT></P><H3><B><FONT face=Verdana size=2><SPAN style="FONT-SIZE: 9.5pt">Client-side Redirect<o:p></o:p></SPAN></FONT></B></H3><P><FONT face=Verdana size=1><SPAN style="FONT-SIZE: 8.5pt; LINE-HEIGHT: 140%">In SQL Server 2005, if you connect to a database that is being mirrored with ADO.NET or the SQL Native Client, <B><SPAN style="FONT-WEIGHT: bold">your application can take advantage of the drivers' ability to automatically redirect connections when a database mirroring failover occurs</SPAN></B>. You must specify the initial principal server and database in the connection string, and optionally the failover partner server.<o:p></o:p></SPAN></FONT></P><P><FONT face=Verdana size=1><SPAN style="FONT-SIZE: 8.5pt; LINE-HEIGHT: 140%"><o:p></o:p></SPAN></FONT></P><P><FONT face=Verdana size=1><SPAN style="FONT-SIZE: 8.5pt; LINE-HEIGHT: 140%">There are many ways to write the connection string, but here is one example, specifying server A as the principal, server B as the mirror, and AdventureWorks as the database name:<o:p></o:p></SPAN></FONT></P><P><FONT face=Verdana size=1><SPAN style="FONT-SIZE: 8.5pt; LINE-HEIGHT: 140%"><o:p></o:p></SPAN></FONT></P><PRE style=": #dddddd; MARGIN-BOTTOM: 12pt"><FONT face="Lucida C&#111;nsole" size=1><SPAN style="FONT-SIZE: 8.5pt; FONT-FAMILY: 'Lucida C&#111;nsole'">"Data Source=A;Failover Partner=B;Initial Catalog=AdventureWorks;Integrated Security=True;"<o:p></o:p></SPAN></FONT></PRE><P><FONT face=Verdana size=1><SPAN style="FONT-SIZE: 8.5pt; LINE-HEIGHT: 140%">The failover partner in the connection string is used as an alternate server name if the connection to the initial principal server fails. If the connection to the initial principal server succeeds, then the failover partner name will not be used, but the driver will store the failover partner name that it retrieves from the principal server on the client-side cache.<o:p></o:p></SPAN></FONT></P><P><FONT face=Verdana size=1><SPAN style="FONT-SIZE: 8.5pt; LINE-HEIGHT: 140%"><o:p></o:p></SPAN></FONT></P><P><FONT face=Verdana size=1><SPAN style="FONT-SIZE: 8.5pt; LINE-HEIGHT: 140%">Assume a client is successfully connected to the principal, and a database mirroring failover (automatic, manual, or forced) occurs. The next time the application attempts to use the connection, the ADO.NET or SQL Native Client driver will detect that the connection to the old principal has failed, and will automatically retry connecting to the new principal as specified in the failover partner name. If successful, and there is a new mirror server specified for the database mirroring session by the new principal, the driver will retrieve the new partner failover server name and place it in its client cache. If the client cannot connect to the alternate server, the driver will try each server alternately until the login timeout period is reached.<o:p></o:p></SPAN></FONT></P><P><FONT face=Verdana size=1><SPAN style="FONT-SIZE: 8.5pt; LINE-HEIGHT: 140%"><o:p></o:p></SPAN></FONT></P><P><B><FONT face=Verdana size=1><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 8.5pt; LINE-HEIGHT: 140%">The great advantage of using the database mirroring support built into ADO.NET and the SQL Native Client driver is that you do not need to recode the application, or place special code in the application, to handle a database mirroring failover.<o:p></o:p></SPAN></FONT></B></P><P><FONT face=Verdana size=1><SPAN style="FONT-SIZE: 8.5pt; LINE-HEIGHT: 140%"><o:p></o:p></SPAN></FONT></P><P><FONT face=Verdana size=1><SPAN style="FONT-SIZE: 8.5pt; LINE-HEIGHT: 140%">If you do not use the ADO.NET or SQL Native Client automatic redirection, you can use other techniques that will enable your application to fail over. For example, you could use Network Load Balancing to manually redirect connections from one server to another, while the client just connects to a virtual server name. You might also write your own redirection code and retry logic.<o:p></o:p></SPAN></FONT></P><P><FONT face=Verdana size=1><SPAN style="FONT-SIZE: 8.5pt; LINE-HEIGHT: 140%"><o:p></o:p></SPAN></FONT></P><P><FONT face=Verdana size=1><SPAN style="FONT-SIZE: 8.5pt; LINE-HEIGHT: 140%">However, all these techniques for coordinating client redirection with a database mirroring have an important limitation. Database mirroring occurs only at the database level, not the server level. Be careful if your application relies on querying several databases on a server, or uses multi-part object names to query across several databases. When several databases reside on one server, and they are mirrored to a standby server, it is possible that one of several databases might fail over to the standby but the others remain on the original server. In that case, you might need one connection per database that you are querying, so that you do not attempt cross-database queries on a standby server where only one database is a principal and the remaining are mirrors.<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">As DevForce is using ADO.NET completely to access its data source, we believe you need ONLY to update the &lt;rdbKey&gt; to specify “Failover Partner=XXXXX;” in the connection string of the IdeaBlade.ibconfig file.&nbsp; It doesn’t seem that we need to recode DevForce to support this feature.<o:p></o:p></SPAN></FONT></P>.]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 16:05:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=220&amp;PID=484#484</guid>
  </item> 
  <item>
   <title>Does DevForce work with SQL mirrroring? : We are going to be using SQL2005...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=220&amp;PID=483#483</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=20" rel="nofollow">Customer</a><br /><strong>Subject:</strong> 220<br /><strong>Posted:</strong> 12-Jul-2007 at 4:04pm<br /><br />We are going to be using SQL2005 mirroring with automatic failover. Does the IdeaBlade connection object support a failover event? How would detect and implement if it doesn't.<P>We saw some reference documentation to a sqlconnectionstringbuilder object that includes a property for the failover server and context. Here is the MSDN help reference:</P><P>ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref4/html/T_System_Data_SqlClient_SqlConnectionStringBuilder.htm</P>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 16:04:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=220&amp;PID=483#483</guid>
  </item> 
 </channel>
</rss>