Click to See Complete Forum and Search --> : SQL Express Connection String????
yyiiyyii
March 4th, 2007, 03:09 AM
i have a sql express connection string that works in 2003 and doesnt work in 2005
<add key="ConnectionString" value="server=COMPUTERS\SQLEXPRESS;password=;user id=;database=SomeData"/>
Y.H Liu
March 4th, 2007, 03:55 AM
You might are stuck by SQL Server 2005 default security settings, i.e. SQL2005 does NOT allow network accessing by default. ComputerName\SQLExpress require network accessing, even ComputerName is just local computer. Try .\SQLExpress, or change SQL2005 setting to allow network accessing.
yyiiyyii
March 5th, 2007, 07:21 PM
that did not work
yyiiyyii
March 5th, 2007, 08:22 PM
i found it, this one works in 2005
server=COMPUTERS\SQLEXPRESS;Integrated Security=SSPI; Persist Security Info=False;database=CheckData
mcmcom
March 6th, 2007, 10:42 AM
you should mark this thread as resolved.
mcm
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.