Click here to Skip to main content
15,909,605 members
Home / Discussions / Database
   

Database

 
GeneralRe: Adding column values Pin
Colin Angus Mackay23-May-07 22:52
Colin Angus Mackay23-May-07 22:52 
GeneralRe: Adding column values Pin
Expert Coming24-May-07 11:43
Expert Coming24-May-07 11:43 
GeneralRe: Adding column values Pin
Expert Coming24-May-07 11:46
Expert Coming24-May-07 11:46 
Questiondatabase Idea Pin
modiagag11122-May-07 23:26
modiagag11122-May-07 23:26 
AnswerRe: database Idea Pin
kubben23-May-07 2:20
kubben23-May-07 2:20 
GeneralRe: database Idea Pin
modiagag11123-May-07 4:33
modiagag11123-May-07 4:33 
GeneralRe: database Idea Pin
kubben23-May-07 4:37
kubben23-May-07 4:37 
QuestionHow to connect a computer with a remote sql database? Pin
Leia201122-May-07 21:55
Leia201122-May-07 21:55 
Hi,

I want to connect a computer with a remote sql database ( in a local network).
I wrote an application which opens a SQlConnection with the help of a connection string.
When I run this application at the server, there is a connection to the database.
When I run this application on my client, it says: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

I tried to change my connection string many times, but it won't work. The two computer can reach each other with ping.

Can you help me?

code snippet:

string strDatabase="_Hanna1";
string strServer="IS65PJ11\\WinCC" ;// this is the name of my server


strConnectionString = "Integrated Security=SSPI;" +"Persist Security Info=False;User ID=sa;Initial Catalog=" +strDatabase + ";Data Source=" + strServer;
// I tried the connection string also without "User ID=sa", but than its the same error

SqlConnection SQLCon = new SqlConnection(strConnectionString);

thanks in advance!

AnswerRe: How to connect a computer with a remote sql database? Pin
Harini N K22-May-07 22:42
Harini N K22-May-07 22:42 
GeneralRe: How to connect a computer with a remote sql database? Pin
Leia201123-May-07 2:26
Leia201123-May-07 2:26 
GeneralRe: How to connect a computer with a remote sql database? Pin
Colin Angus Mackay23-May-07 3:45
Colin Angus Mackay23-May-07 3:45 
Questiondatagridview Pin
kylinqiu22-May-07 19:57
kylinqiu22-May-07 19:57 
Questioncalculate the LEVEL Of Node of a tree having exactly two node. Pin
singhal's22-May-07 19:55
singhal's22-May-07 19:55 
AnswerRe: plz help me send me query for this plz!! Pin
leckey23-May-07 3:56
leckey23-May-07 3:56 
QuestionGetting new line in XML? Pin
chand1022-May-07 18:14
chand1022-May-07 18:14 
AnswerRe: Getting new line in XML? Pin
Christian Graus22-May-07 20:11
protectorChristian Graus22-May-07 20:11 
QuestionInstallation SQL 2005 Express from a network Pin
jimbassett22-May-07 10:42
jimbassett22-May-07 10:42 
QuestionVisual Studio and SQL database Pin
CassT22-May-07 6:22
CassT22-May-07 6:22 
AnswerRe: Visual Studio and SQL database Pin
Expert Coming22-May-07 10:11
Expert Coming22-May-07 10:11 
GeneralRe: Visual Studio and SQL database Pin
CassT22-May-07 15:41
CassT22-May-07 15:41 
QuestionSSRS2005 User interface Pin
BLOEDHOND22-May-07 3:29
BLOEDHOND22-May-07 3:29 
AnswerRe: SSRS2005 User interface Pin
Dave Herren22-May-07 10:53
Dave Herren22-May-07 10:53 
GeneralRe: SSRS2005 User interface Pin
BLOEDHOND22-May-07 22:51
BLOEDHOND22-May-07 22:51 
GeneralRe: SSRS2005 User interface Pin
BLOEDHOND22-May-07 23:06
BLOEDHOND22-May-07 23:06 
QuestionNew line character in XML? [modified] Pin
chand1021-May-07 23:40
chand1021-May-07 23:40 

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.