<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; 2005 &#8211; Connection Strings For .NET</title>
	<atom:link href="http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 17 May 2013 15:26:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Carlos</title>
		<link>http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/#comment-432186</link>
		<dc:creator><![CDATA[Carlos]]></dc:creator>
		<pubDate>Tue, 05 Mar 2013 13:55:05 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=564#comment-432186</guid>
		<description><![CDATA[string ConnectionString = &quot;Data Source=192.168.111.254;Initial Catalog=QBill;User Id=sa;Password=urpass;&quot;;

Try it.]]></description>
		<content:encoded><![CDATA[<p>string ConnectionString = &#8220;Data Source=192.168.111.254;Initial Catalog=QBill;User Id=sa;Password=urpass;&#8221;;</p>
<p>Try it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vilbi Raju</title>
		<link>http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/#comment-294529</link>
		<dc:creator><![CDATA[Vilbi Raju]]></dc:creator>
		<pubDate>Tue, 05 Jun 2012 10:20:07 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=564#comment-294529</guid>
		<description><![CDATA[I have used connection string as mentioned below, But it throwing error

Data Source=192.168.111.254,1433;Network Library=DBMSSOCN;
Initial Catalog=Qbill;User ID=sa;

I am using MS SQl 2005 with VS 2008]]></description>
		<content:encoded><![CDATA[<p>I have used connection string as mentioned below, But it throwing error</p>
<p>Data Source=192.168.111.254,1433;Network Library=DBMSSOCN;<br />
Initial Catalog=Qbill;User ID=sa;</p>
<p>I am using MS SQl 2005 with VS 2008</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Surendra Dongre</title>
		<link>http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/#comment-284498</link>
		<dc:creator><![CDATA[Surendra Dongre]]></dc:creator>
		<pubDate>Mon, 14 May 2012 10:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=564#comment-284498</guid>
		<description><![CDATA[Thanks]]></description>
		<content:encoded><![CDATA[<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Senthil Kumar Murugesan</title>
		<link>http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/#comment-105023</link>
		<dc:creator><![CDATA[Senthil Kumar Murugesan]]></dc:creator>
		<pubDate>Mon, 13 Dec 2010 06:56:50 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=564#comment-105023</guid>
		<description><![CDATA[Dear Pinaldave,

   We have around 400 user&#039;s accesing our application. Application fully based on Sql server 2000 (stored procedures). And mean while we have refreshable excel sheet by the way of connecting datasource. Some of user utilizing as wrongly to update,Insert &amp; delete using datasource sql query. I want to restict all users in excel sheet to update,delete &amp; insert. User might be view the records only. How to restirct? Have any solution. I hope if I got means ...it&#039;s really benefical. tq]]></description>
		<content:encoded><![CDATA[<p>Dear Pinaldave,</p>
<p>   We have around 400 user&#8217;s accesing our application. Application fully based on Sql server 2000 (stored procedures). And mean while we have refreshable excel sheet by the way of connecting datasource. Some of user utilizing as wrongly to update,Insert &amp; delete using datasource sql query. I want to restict all users in excel sheet to update,delete &amp; insert. User might be view the records only. How to restirct? Have any solution. I hope if I got means &#8230;it&#8217;s really benefical. tq</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victory</title>
		<link>http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/#comment-62285</link>
		<dc:creator><![CDATA[Victory]]></dc:creator>
		<pubDate>Sat, 06 Mar 2010 08:00:01 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=564#comment-62285</guid>
		<description><![CDATA[Hi Aein,

 Can you tell me the difference bwtween these two connection string in case of SQL Server 2005 Performance .
Or what effects will be on Query Execution if no of connections will be increased..

Please reply..
I m worried about the slow performance of SQL Server 2005.

What should I prefare??

Regards,
    Victory]]></description>
		<content:encoded><![CDATA[<p>Hi Aein,</p>
<p> Can you tell me the difference bwtween these two connection string in case of SQL Server 2005 Performance .<br />
Or what effects will be on Query Execution if no of connections will be increased..</p>
<p>Please reply..<br />
I m worried about the slow performance of SQL Server 2005.</p>
<p>What should I prefare??</p>
<p>Regards,<br />
    Victory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/#comment-59838</link>
		<dc:creator><![CDATA[Pinal Dave]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 13:33:24 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=564#comment-59838</guid>
		<description><![CDATA[Hi Aein,

No changes required in connection string. Because connection strings contains the database name and where it reside does not matter for calling application.

Regards,
Pinal Dave]]></description>
		<content:encoded><![CDATA[<p>Hi Aein,</p>
<p>No changes required in connection string. Because connection strings contains the database name and where it reside does not matter for calling application.</p>
<p>Regards,<br />
Pinal Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aein</title>
		<link>http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/#comment-59822</link>
		<dc:creator><![CDATA[aein]]></dc:creator>
		<pubDate>Fri, 15 Jan 2010 23:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=564#comment-59822</guid>
		<description><![CDATA[Hi,
Thank you for for a very helpful website. 
I do have a question regarding the connection string. Are there any changes required on a connection string to move a database to a different drive. 

thanks,
aein]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thank you for for a very helpful website.<br />
I do have a question regarding the connection string. Are there any changes required on a connection string to move a database to a different drive. </p>
<p>thanks,<br />
aein</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knot</title>
		<link>http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/#comment-57389</link>
		<dc:creator><![CDATA[Knot]]></dc:creator>
		<pubDate>Fri, 06 Nov 2009 16:16:04 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=564#comment-57389</guid>
		<description><![CDATA[myServerAddress = ServerName\InstanceName 

E.g. If you were working with MSDE 2000 you have a server name, probably (local), and no instance name. In this case myServerAddress=(local)

If you are working with SQL Server 2005 express edition, you have a server name and a named instance, having installed using the defaults, the server name would be the name of your computer and the instance name would be SQLEXPRESS (or something similar), so myServerAddress=PCName\SQLEXPRESS]]></description>
		<content:encoded><![CDATA[<p>myServerAddress = ServerName\InstanceName </p>
<p>E.g. If you were working with MSDE 2000 you have a server name, probably (local), and no instance name. In this case myServerAddress=(local)</p>
<p>If you are working with SQL Server 2005 express edition, you have a server name and a named instance, having installed using the defaults, the server name would be the name of your computer and the instance name would be SQLEXPRESS (or something similar), so myServerAddress=PCName\SQLEXPRESS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raul Cervera</title>
		<link>http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/#comment-56000</link>
		<dc:creator><![CDATA[Raul Cervera]]></dc:creator>
		<pubDate>Sun, 20 Sep 2009 10:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=564#comment-56000</guid>
		<description><![CDATA[Hi ,I need some help for connection string sintax using sql server 2005
I know that if i use SQl express edition i have to write:      server=.\sqlExpress
 and  if i use sql server 2005 i have to write :      server=myServerAdress    , (??) ,But  what means myServerAdress ?       i&#039;ve tried with : server=dell2 (name of my computer) or  server=sql   or server=sql server 2005                                                            or  server= C\mydocuments\programs\sql    and  all of this have failed

can you help me?]]></description>
		<content:encoded><![CDATA[<p>Hi ,I need some help for connection string sintax using sql server 2005<br />
I know that if i use SQl express edition i have to write:      server=.\sqlExpress<br />
 and  if i use sql server 2005 i have to write :      server=myServerAdress    , (??) ,But  what means myServerAdress ?       i&#8217;ve tried with : server=dell2 (name of my computer) or  server=sql   or server=sql server 2005                                                            or  server= C\mydocuments\programs\sql    and  all of this have failed</p>
<p>can you help me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuri Greene</title>
		<link>http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/#comment-48268</link>
		<dc:creator><![CDATA[Yuri Greene]]></dc:creator>
		<pubDate>Fri, 06 Mar 2009 16:03:20 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=564#comment-48268</guid>
		<description><![CDATA[Connection strings should be set in Visual Studio 2005/8 in MY Project Settings Tab.  Name the string and choose connection string, click elipse to the right and the gui will allow you to set your connection string.  If you have the mysql .net connector it will work the same way.  

Then you can call in your code. 
 
 Dim myconnstring As String = My.Settings.STIConnectionstring

 Dim sconn As New SqlConnection With {.ConnectionString = myconnstring}]]></description>
		<content:encoded><![CDATA[<p>Connection strings should be set in Visual Studio 2005/8 in MY Project Settings Tab.  Name the string and choose connection string, click elipse to the right and the gui will allow you to set your connection string.  If you have the mysql .net connector it will work the same way.  </p>
<p>Then you can call in your code. </p>
<p> Dim myconnstring As String = My.Settings.STIConnectionstring</p>
<p> Dim sconn As New SqlConnection With {.ConnectionString = myconnstring}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gregfox</title>
		<link>http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/#comment-45950</link>
		<dc:creator><![CDATA[gregfox]]></dc:creator>
		<pubDate>Fri, 23 Jan 2009 23:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=564#comment-45950</guid>
		<description><![CDATA[Hi dave

Good Day..


I have code working on mysql Connection Strings For .NET. But now that code i want switch on Connection Strings For .NET and MsSql 2005 &amp; .NET 2008 for a  Client Server.



This is my sample code  working to mysql server:

Imports MySql.Data.MySqlClient
Imports System.Configuration
 
Public Class MySQLDBAccess
#Region &quot;Private Shared Variables&quot;
    Private Shared mySqlConnString As String = String.Empty  &#039;MySQL Connection String
    Private Shared mySqlConn As New MySqlConnection          &#039;MySQL Connection
    Private Shared mySqlCommand As New MySqlCommand          &#039;MySQL Command
    Private Shared mySqlDataAdapter As New MySqlDataAdapter  &#039;MySQL Data Adapter
    Private Shared mySqlDataReader As MySqlDataReader   &#039;MySQL Data Reader


#End Region


&#039;For Testing Database Connection
    Public Shared Sub TestMySQLDBConnection(ByRef strErrMsg As String)

        Try
            mySqlConn = New MySqlConnection()
            mySqlConn.ConnectionString = mySqlConnString

            mySqlConn.Open()
            mySqlConn.Close()
        Catch ex As Exception
            strErrMsg = &quot;Cannot connect to DiabNet database.&quot;
            DBL_PRINTLOG(&quot;MySQLDBAccess::TestMySQLDBConnection() &gt;&gt; &quot; &amp; ex.Message)
        End Try

    End Sub

End Class


Private Sub btnTestConnection_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnTestConnection.Click
        Dim strErrMsg As String = String.Empty
        Dim RptString As String = String.Empty

        Try
            MySQLDBAccess.connectionString = &quot;server = &quot; &amp; txtServer.Text &amp; &quot;;&quot; _
                                       &amp; &quot;user id = &quot; &amp; txtUserID.Text &amp; &quot;;&quot; _
                                       &amp; &quot;password = &quot; &amp; txtPassword.Text &amp; &quot;;&quot; _
                                       &amp; &quot;database = &quot; &amp; txtDatabase.Text &amp; &quot;;&quot; _
                                       &amp; &quot;Allow Zero Datetime=true;&quot;

            MySQLDBAccess.TestMySQLDBConnection(strErrMsg)


            If strErrMsg = String.Empty Then
                &#039;Write DB Connection Setting to app.config
                WriteDBConfig(MySQLDBAccess.connectionString)
                MessageBox.Show(&quot;Test connection successful.&quot;, &quot;DiabNet DB Connection&quot;, MessageBoxButtons.OK, MessageBoxIcon.Information)
                btnOK.Enabled = True
            Else
                MessageBox.Show(strErrMsg, &quot;DiabNet DB Connection&quot;, MessageBoxButtons.OK, MessageBoxIcon.Information)
            End If
        Catch ex As Exception
            DBL_PRINTLOG(&quot;DS_frmDatabaseSettings::btnTestConnection_Click() Exception &gt;&gt; &quot; &amp; ex.Message)
        End Try
    End Sub



Please help me  how to change my connection String from mysql to Mssql 2005 &amp; Vs2008. ASAP!


Thank  and Advanced..

Gregfox]]></description>
		<content:encoded><![CDATA[<p>Hi dave</p>
<p>Good Day..</p>
<p>I have code working on mysql Connection Strings For .NET. But now that code i want switch on Connection Strings For .NET and MsSql 2005 &amp; .NET 2008 for a  Client Server.</p>
<p>This is my sample code  working to mysql server:</p>
<p>Imports MySql.Data.MySqlClient<br />
Imports System.Configuration</p>
<p>Public Class MySQLDBAccess<br />
#Region &#8220;Private Shared Variables&#8221;<br />
    Private Shared mySqlConnString As String = String.Empty  &#8216;MySQL Connection String<br />
    Private Shared mySqlConn As New MySqlConnection          &#8216;MySQL Connection<br />
    Private Shared mySqlCommand As New MySqlCommand          &#8216;MySQL Command<br />
    Private Shared mySqlDataAdapter As New MySqlDataAdapter  &#8216;MySQL Data Adapter<br />
    Private Shared mySqlDataReader As MySqlDataReader   &#8216;MySQL Data Reader</p>
<p>#End Region</p>
<p>&#8216;For Testing Database Connection<br />
    Public Shared Sub TestMySQLDBConnection(ByRef strErrMsg As String)</p>
<p>        Try<br />
            mySqlConn = New MySqlConnection()<br />
            mySqlConn.ConnectionString = mySqlConnString</p>
<p>            mySqlConn.Open()<br />
            mySqlConn.Close()<br />
        Catch ex As Exception<br />
            strErrMsg = &#8220;Cannot connect to DiabNet database.&#8221;<br />
            DBL_PRINTLOG(&#8220;MySQLDBAccess::TestMySQLDBConnection() &gt;&gt; &#8221; &amp; ex.Message)<br />
        End Try</p>
<p>    End Sub</p>
<p>End Class</p>
<p>Private Sub btnTestConnection_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnTestConnection.Click<br />
        Dim strErrMsg As String = String.Empty<br />
        Dim RptString As String = String.Empty</p>
<p>        Try<br />
            MySQLDBAccess.connectionString = &#8220;server = &#8221; &amp; txtServer.Text &amp; &#8220;;&#8221; _<br />
                                       &amp; &#8220;user id = &#8221; &amp; txtUserID.Text &amp; &#8220;;&#8221; _<br />
                                       &amp; &#8220;password = &#8221; &amp; txtPassword.Text &amp; &#8220;;&#8221; _<br />
                                       &amp; &#8220;database = &#8221; &amp; txtDatabase.Text &amp; &#8220;;&#8221; _<br />
                                       &amp; &#8220;Allow Zero Datetime=true;&#8221;</p>
<p>            MySQLDBAccess.TestMySQLDBConnection(strErrMsg)</p>
<p>            If strErrMsg = String.Empty Then<br />
                &#8216;Write DB Connection Setting to app.config<br />
                WriteDBConfig(MySQLDBAccess.connectionString)<br />
                MessageBox.Show(&#8220;Test connection successful.&#8221;, &#8220;DiabNet DB Connection&#8221;, MessageBoxButtons.OK, MessageBoxIcon.Information)<br />
                btnOK.Enabled = True<br />
            Else<br />
                MessageBox.Show(strErrMsg, &#8220;DiabNet DB Connection&#8221;, MessageBoxButtons.OK, MessageBoxIcon.Information)<br />
            End If<br />
        Catch ex As Exception<br />
            DBL_PRINTLOG(&#8220;DS_frmDatabaseSettings::btnTestConnection_Click() Exception &gt;&gt; &#8221; &amp; ex.Message)<br />
        End Try<br />
    End Sub</p>
<p>Please help me  how to change my connection String from mysql to Mssql 2005 &amp; Vs2008. ASAP!</p>
<p>Thank  and Advanced..</p>
<p>Gregfox</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Banks</title>
		<link>http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/#comment-35152</link>
		<dc:creator><![CDATA[Adrian Banks]]></dc:creator>
		<pubDate>Wed, 16 Apr 2008 22:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=564#comment-35152</guid>
		<description><![CDATA[There&#039;s a useful site at http://www.connectionstrings.com that shows connections string for lots of different database types and configurations. It&#039;s very useful if you can&#039;t quite remember the exact format for each.]]></description>
		<content:encoded><![CDATA[<p>There&#8217;s a useful site at <a href="http://www.connectionstrings.com" rel="nofollow">http://www.connectionstrings.com</a> that shows connections string for lots of different database types and configurations. It&#8217;s very useful if you can&#8217;t quite remember the exact format for each.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: senthilcgv</title>
		<link>http://blog.sqlauthority.com/2008/04/09/sql-server-2005-connection-strings-for-net/#comment-35143</link>
		<dc:creator><![CDATA[senthilcgv]]></dc:creator>
		<pubDate>Wed, 16 Apr 2008 14:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=564#comment-35143</guid>
		<description><![CDATA[Could u pls let me know how to connect with mysql and dotnet.]]></description>
		<content:encoded><![CDATA[<p>Could u pls let me know how to connect with mysql and dotnet.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
