Click here to Skip to main content
15,893,337 members
Home / Discussions / Database
   

Database

 
QuestionAttempting to use Redemption and Powershell to import .msg files from a folder Pin
codekernel22-Mar-10 5:59
codekernel22-Mar-10 5:59 
AnswerRe: Attempting to use Redemption and Powershell to import .msg files from a folder Pin
i.j.russell22-Mar-10 6:19
i.j.russell22-Mar-10 6:19 
QuestionPrimary Key in SQL Server Table Variable Pin
John Gathogo22-Mar-10 2:44
John Gathogo22-Mar-10 2:44 
AnswerRe: Primary Key in SQL Server Table Variable Pin
Eddy Vluggen22-Mar-10 6:30
professionalEddy Vluggen22-Mar-10 6:30 
QuestionSQLEXPRESS silent installation. Pin
Yosh_21-Mar-10 22:36
professionalYosh_21-Mar-10 22:36 
AnswerRe: SQLEXPRESS silent installation. Pin
Steven J Jowett24-Mar-10 1:33
Steven J Jowett24-Mar-10 1:33 
GeneralRe: SQLEXPRESS silent installation. Pin
Yosh_5-Apr-10 23:53
professionalYosh_5-Apr-10 23:53 
QuestionHow to connect remote sql server(within LAN) using ADO? Pin
kcynic21-Mar-10 17:16
kcynic21-Mar-10 17:16 
I want to connect to the sql server database and do some query command via ado. I use this connection string to do that work:"Provider=SQLOLEDB;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=DaDian2008;Data Source=localhost;UID=sa;PWD=123456;Network Library=dbmssocn", it works well. But how about with a remote server(LAN). For example, my ip address is 192.168.1.100, i just replace localhost to 192.168.1.100, it would get an exception says:

Code = 80004005
Code meaning = Unspecified error
Source = Microsoft OLE DB Provider for SQL Server
Description = [DBNETLIB][ConnectionOpen (Connect()).]Specified SQL server not found.

Why? And how can i connect to a remote sql server(MS SQL Server within LAN)?

btw, if I use "Driver={SQL Server};Server=192.168.1.100;Address=192.168.1.100,1433;Network=DBMSSOCN;User ID=sa;PWD=123456;Database=DaDian2008; Then, I can connect to the database on my locale computer, but it would fail again on another computer.
AnswerRe: How to connect remote sql server(within LAN) using ADO? Pin
Mycroft Holmes21-Mar-10 20:38
professionalMycroft Holmes21-Mar-10 20:38 
GeneralRe: How to connect remote sql server(within LAN) using ADO? Pin
kcynic21-Mar-10 20:41
kcynic21-Mar-10 20:41 
GeneralRe: How to connect remote sql server(within LAN) using ADO? Pin
Mycroft Holmes21-Mar-10 20:48
professionalMycroft Holmes21-Mar-10 20:48 
GeneralRe: How to connect remote sql server(within LAN) using ADO? Pin
kcynic21-Mar-10 20:55
kcynic21-Mar-10 20:55 
GeneralRe: How to connect remote sql server(within LAN) using ADO? Pin
Mycroft Holmes21-Mar-10 21:02
professionalMycroft Holmes21-Mar-10 21:02 
GeneralRe: How to connect remote sql server(within LAN) using ADO? Pin
kcynic21-Mar-10 21:15
kcynic21-Mar-10 21:15 
GeneralRe: How to connect remote sql server(within LAN) using ADO? Pin
Mycroft Holmes22-Mar-10 0:18
professionalMycroft Holmes22-Mar-10 0:18 
GeneralRe: How to connect remote sql server(within LAN) using ADO? Pin
kcynic22-Mar-10 1:38
kcynic22-Mar-10 1:38 
AnswerRe: How to connect remote sql server(within LAN) using ADO? Pin
T210224-Mar-10 19:23
T210224-Mar-10 19:23 
GeneralRe: How to connect remote sql server(within LAN) using ADO? Pin
kcynic25-Mar-10 15:31
kcynic25-Mar-10 15:31 
AnswerRe: How to connect remote sql server(within LAN) using ADO? Pin
Аslam Iqbal26-Mar-10 10:15
professionalАslam Iqbal26-Mar-10 10:15 
GeneralRe: How to connect remote sql server(within LAN) using ADO? Pin
Elangovan Ayyandurai19-Dec-10 19:34
Elangovan Ayyandurai19-Dec-10 19:34 
Questioni luv forums... Pin
Mike65432121-Mar-10 17:00
Mike65432121-Mar-10 17:00 
AnswerRe: i luv forums... Pin
Mycroft Holmes21-Mar-10 20:41
professionalMycroft Holmes21-Mar-10 20:41 
GeneralRe: i luv forums... Pin
Mike65432121-Mar-10 20:47
Mike65432121-Mar-10 20:47 
AnswerRe: i luv forums... Pin
Jörgen Andersson21-Mar-10 21:48
professionalJörgen Andersson21-Mar-10 21:48 
AnswerRe: i luv forums... Pin
i.j.russell23-Mar-10 0:20
i.j.russell23-Mar-10 0:20 

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.