M
Me LK
I did a search but could not find an aswer that worked so here it
goes.
I just did an upgrade from 2003 to vs 2005 express. I am using a
remote sql server 2000. I specifically upgrade to make use of the
login control. Everything upgraded fine and the site is working on my
local machine.
It seems that my site is trying to connect to a local database. I need
it to attach to a remote database. I added a connection string to
webconfig as follows
<connectionStrings>
<add name="myconnection"
connectionString="server=sqldatabaselocation.com;uid=###;pwd=###;database=name"
providerName="System.Data.SqlClient"/>
</connectionStrings>
but no change. I then tried to clear the database as I had seen in
other posts. Then I got a machine.config error
<connectionStrings>
<clear />
<add name="myconnection"
connectionString="server=sqldatabaselocation.com;uid=###;pwd=###;database=name"
providerName="System.Data.SqlClient"/>
</connectionStrings>
So how does one connect to a remote sql server 2000 so that it is
recognized in the website admin tool?
goes.
I just did an upgrade from 2003 to vs 2005 express. I am using a
remote sql server 2000. I specifically upgrade to make use of the
login control. Everything upgraded fine and the site is working on my
local machine.
It seems that my site is trying to connect to a local database. I need
it to attach to a remote database. I added a connection string to
webconfig as follows
<connectionStrings>
<add name="myconnection"
connectionString="server=sqldatabaselocation.com;uid=###;pwd=###;database=name"
providerName="System.Data.SqlClient"/>
</connectionStrings>
but no change. I then tried to clear the database as I had seen in
other posts. Then I got a machine.config error
<connectionStrings>
<clear />
<add name="myconnection"
connectionString="server=sqldatabaselocation.com;uid=###;pwd=###;database=name"
providerName="System.Data.SqlClient"/>
</connectionStrings>
So how does one connect to a remote sql server 2000 so that it is
recognized in the website admin tool?