Click here to Skip to main content
15,901,284 members
Home / Discussions / Database
   

Database

 
GeneralRe: Multiple SQL Query Pin
MKlucher20-Sep-03 19:40
MKlucher20-Sep-03 19:40 
Generalconnection problem, error message Pin
Giovanni Bejarasco19-Sep-03 6:11
Giovanni Bejarasco19-Sep-03 6:11 
GeneralRe: connection problem, error message Pin
Mike Dimmick20-Sep-03 12:34
Mike Dimmick20-Sep-03 12:34 
GeneralRe: connection problem, error message Pin
Giovanni Bejarasco23-Sep-03 18:15
Giovanni Bejarasco23-Sep-03 18:15 
GeneralWinforms - Connecting to SQL database on another intranet PC Pin
sunny12318-Sep-03 21:53
sunny12318-Sep-03 21:53 
GeneralRe: Winforms - Connecting to SQL database on another intranet PC Pin
Arjan Einbu18-Sep-03 22:30
Arjan Einbu18-Sep-03 22:30 
GeneralRe: Winforms - Connecting to SQL database on another intranet PC Pin
sunny12319-Sep-03 2:33
sunny12319-Sep-03 2:33 
GeneralRe: Winforms - Connecting to SQL database on another intranet PC Pin
Rob Graham20-Sep-03 18:07
Rob Graham20-Sep-03 18:07 
Try changing the connection string to
"Data source=SUNNY;initial catalog=PROJ;user id=softadmin;password=sunny;"

accept the defaults for persisting security info (FALSE), packet size. I am not familiar with using 'workstation id' in a connection string. The data source should be the NODE Name where the server is located (or the SQL server instance name in the event you have multiple instances on the same box ( not likely with MSDE, but allowed with full SQL version). In any event, SQL server network library should resolve the targe host. You can also use the IP as the value for data source. Make sure you can ping the server node from the client. Try adding "Network library=Dbmssocn;" to the connection string to force the use of the TCPIP network library

also make sure you have added that user and login to the SQL database (sp_adduser, sp_grantdbaccess - the latter to the specific database, the former to the server in general, not all users get automatic access to all databases).
Make sure the user has access to the tables,etc in the data base (grant Select,insert,update,delete to 'user' on 'table')

you might want to download the SQl Server Books Online[^] for a complete reference to SQL 2000...(I don't think this comes with MSDE, but it is free, and indespensable if you are going to work with SQL 2000).


Another good reference for connection strings is here[^]
This is gor ADO,OLEDB,and ODBC connections, but the ADO/OLEDB strings for SQL server work just fine (just leave out the "Provider=sqloledb" part).




Genius may have its limitations, but stupidity is not thus handicapped. - Elbert Hubbard
GeneralRe: Winforms - Connecting to SQL database on another intranet PC Pin
sunny12320-Sep-03 20:13
sunny12320-Sep-03 20:13 
GeneralRe: Winforms - Connecting to SQL database on another intranet PC Pin
Braulio Dez22-Sep-03 5:24
Braulio Dez22-Sep-03 5:24 
GeneralPlease help: Converting from SQL server 2000 to sql 7.0 Pin
Hoornet9318-Sep-03 21:13
Hoornet9318-Sep-03 21:13 
GeneralRe: Please help: Converting from SQL server 2000 to sql 7.0 Pin
Steve S18-Sep-03 22:13
Steve S18-Sep-03 22:13 
GeneralRe: Please help: Converting from SQL server 2000 to sql 7.0 Pin
Hoornet9318-Sep-03 22:37
Hoornet9318-Sep-03 22:37 
GeneralRe: Please help: Converting from SQL server 2000 to sql 7.0 Pin
Steve S19-Sep-03 1:27
Steve S19-Sep-03 1:27 
GeneralRe: Please help: Converting from SQL server 2000 to sql 7.0 Pin
Arjan Einbu18-Sep-03 22:32
Arjan Einbu18-Sep-03 22:32 
GeneralRe: Please help: Converting from SQL server 2000 to sql 7.0 Pin
Hoornet9318-Sep-03 22:39
Hoornet9318-Sep-03 22:39 
GeneralRe: Please help: Converting from SQL server 2000 to sql 7.0 Pin
Arjan Einbu19-Sep-03 0:34
Arjan Einbu19-Sep-03 0:34 
GeneralCheck table exist not Pin
WoonLeng18-Sep-03 18:32
WoonLeng18-Sep-03 18:32 
GeneralRe: Check table exist not Pin
Arjan Einbu18-Sep-03 22:36
Arjan Einbu18-Sep-03 22:36 
GeneralRe: Check table exist not Pin
Giovanni Bejarasco19-Sep-03 6:14
Giovanni Bejarasco19-Sep-03 6:14 
GeneralRe: Check table exist not Pin
Blake Coverett20-Sep-03 16:29
Blake Coverett20-Sep-03 16:29 
GeneralRe: Check table exist not Pin
Blake Coverett20-Sep-03 16:27
Blake Coverett20-Sep-03 16:27 
GeneralRe: Check table exist not Pin
Anonymous20-Sep-03 18:16
Anonymous20-Sep-03 18:16 
GeneralBinding a dataset to a checkbox Pin
Wjousts17-Sep-03 15:11
Wjousts17-Sep-03 15:11 
GeneralRe: Binding a dataset to a checkbox Pin
Wjousts18-Sep-03 5:12
Wjousts18-Sep-03 5:12 

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.