Click here to Skip to main content
15,903,385 members
Home / Discussions / Database
   

Database

 
QuestionSQL Server 2005 Express, Windows Authentication mode, domain/non-domain users Pin
Gary Wheeler8-Jul-08 1:39
Gary Wheeler8-Jul-08 1:39 
I'm using SQL Server 2005 Express, running on a machine on our domain. The ODBC connection string for my application normally looks like this:
Driver={SQL Server}; Server=HostSys\SQLEXPRESS; Trusted_Connection=yes; Database=VersamarkCPT;
<small>(spaces inserted for readability)</small>
I would like non-domain users to be able to access this data base as well. The only way I've been able to do that is to set SQL Server to "Mixed Authentication" mode, and use a connection string like this:
Driver={SQL Server}; Server=123.123.123.123\SQLEXPRESS; Database=VersamarkCPT; Uid=username; Pwd=passwrd;
I would rather use Windows Authentication if possible. I would also like to use a machine name instead of its IP address.

Is there some other connection string syntax I should be using? I've read through the SQL Server Books Online, MSDN, and articles here at CP, and haven't had a lot of luck deciphering what's going on. I'm a complete noob at DB programming, so please be kind.

Software Zen: delete this;

AnswerRe: SQL Server 2005 Express, Windows Authentication mode, domain/non-domain users Pin
Ashfield8-Jul-08 2:11
Ashfield8-Jul-08 2:11 
GeneralRe: SQL Server 2005 Express, Windows Authentication mode, domain/non-domain users Pin
Gary Wheeler8-Jul-08 2:46
Gary Wheeler8-Jul-08 2:46 
GeneralRe: SQL Server 2005 Express, Windows Authentication mode, domain/non-domain users Pin
Ashfield8-Jul-08 4:58
Ashfield8-Jul-08 4:58 
GeneralRe: SQL Server 2005 Express, Windows Authentication mode, domain/non-domain users Pin
Gary Wheeler8-Jul-08 5:20
Gary Wheeler8-Jul-08 5:20 
QuestionWhile using ADDNEW in MySQL it is creating huge Temp files Pin
pallaka8-Jul-08 1:37
pallaka8-Jul-08 1:37 
AnswerRe: While using ADDNEW in MySQL it is creating huge Temp files Pin
pallaka8-Jul-08 22:20
pallaka8-Jul-08 22:20 
QuestionReporting Services Pin
Rashmi Deshpande8-Jul-08 1:26
Rashmi Deshpande8-Jul-08 1:26 
QuestionHow to comare two database,and find out difference? Pin
dingoishere7-Jul-08 17:08
dingoishere7-Jul-08 17:08 
AnswerRe: How to comare two database,and find out difference? Pin
TheFM2347-Jul-08 17:41
TheFM2347-Jul-08 17:41 
GeneralRe: How to comare two database,and find out difference? Pin
dingoishere8-Jul-08 15:16
dingoishere8-Jul-08 15:16 
QuestionHow to find the location of an update Pin
Brady Kelly7-Jul-08 4:21
Brady Kelly7-Jul-08 4:21 
AnswerRe: How to find the location of an update Pin
scottgp7-Jul-08 4:26
professionalscottgp7-Jul-08 4:26 
GeneralRe: How to find the location of an update Pin
Brady Kelly7-Jul-08 4:42
Brady Kelly7-Jul-08 4:42 
GeneralRe: How to find the location of an update Pin
scottgp7-Jul-08 4:49
professionalscottgp7-Jul-08 4:49 
GeneralRe: How to find the location of an update Pin
Brady Kelly7-Jul-08 5:39
Brady Kelly7-Jul-08 5:39 
GeneralRe: How to find the location of an update Pin
SimulationofSai7-Jul-08 6:28
SimulationofSai7-Jul-08 6:28 
GeneralRe: How to find the location of an update Pin
Brady Kelly7-Jul-08 7:29
Brady Kelly7-Jul-08 7:29 
GeneralRe: How to find the location of an update Pin
scottgp7-Jul-08 13:56
professionalscottgp7-Jul-08 13:56 
GeneralRe: How to find the location of an update Pin
Brady Kelly8-Jul-08 23:05
Brady Kelly8-Jul-08 23:05 
GeneralRe: How to find the location of an update Pin
scottgp9-Jul-08 0:34
professionalscottgp9-Jul-08 0:34 
QuestionWhy CTT*.tmp files are generating in %temp% while runing MySQL with ODBC connectivity Pin
pallaka7-Jul-08 3:35
pallaka7-Jul-08 3:35 
QuestionSQL Server 2005 on Windows Vista [modified] Pin
swjam7-Jul-08 3:11
swjam7-Jul-08 3:11 
AnswerRe: SQL Server 2005 on Windows Vista Pin
Alsvha7-Jul-08 22:53
Alsvha7-Jul-08 22:53 
Questionsql query Pin
Pankaj Garg7-Jul-08 2:52
Pankaj Garg7-Jul-08 2:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.