Click here to Skip to main content
15,892,965 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: about the use of validator control in asp.net Pin
en.Mahdi6-Sep-09 0:20
en.Mahdi6-Sep-09 0:20 
GeneralRe: about the use of validator control in asp.net Pin
Seraph_summer6-Sep-09 2:00
Seraph_summer6-Sep-09 2:00 
QuestionProblem in Connecting to Sqlserver 2000 Pin
en.Mahdi5-Sep-09 19:52
en.Mahdi5-Sep-09 19:52 
AnswerRe: Problem in Connecting to Sqlserver 2000 Pin
Abhijit Jana5-Sep-09 21:37
professionalAbhijit Jana5-Sep-09 21:37 
AnswerRe: Problem in Connecting to Sqlserver 2000 Pin
en.Mahdi6-Sep-09 0:10
en.Mahdi6-Sep-09 0:10 
AnswerRe: Problem in Connecting to Sqlserver 2000 Pin
Abhishek Sur5-Sep-09 23:55
professionalAbhishek Sur5-Sep-09 23:55 
AnswerRe: Problem in Connecting to Sqlserver 2000 Pin
en.Mahdi6-Sep-09 0:13
en.Mahdi6-Sep-09 0:13 
GeneralRe: Problem in Connecting to Sqlserver 2000 Pin
Abhishek Sur6-Sep-09 1:13
professionalAbhishek Sur6-Sep-09 1:13 
Check like this :

SqlConnection con = new SqlConnection("Data Source=Ahmadi;Initial Catalog=__Sys__;Persist Security Info=True;User ID=David;Password=500");
con.open();


Does con.Open gives the same error ?

Also you told me that your SQL DataSource does work. Just check its connectionstring as well. Follow the steps :
Go to
View->Server Explorer
Right Click on DataConnections -> add Connection
In the dialog box :
Server Name : Ahmadi<br />
Use SqlServer Autentication, User Name = David, PAssword = 500<br />
Select Database Name : __sys__

Finally click OK.

Now when the node is created, right click on the node and go properties, and check ConnectionString. Use this connectionstring. I think it should be working fine.
Cool | :cool:

Abhishek Sur

My Latest Articles
Create CLR objects in SQL Server 2005
C# Uncommon Keywords
Read/Write Excel using OleDB

Don't forget to click "Good Answer" if you like to.

AnswerRe: Problem in Connecting to Sqlserver 2000 Pin
Vimalsoft(Pty) Ltd5-Sep-09 23:58
professionalVimalsoft(Pty) Ltd5-Sep-09 23:58 
AnswerRe: Problem in Connecting to Sqlserver 2000 Pin
en.Mahdi6-Sep-09 0:17
en.Mahdi6-Sep-09 0:17 
GeneralRe: Problem in Connecting to Sqlserver 2000 Pin
Vimalsoft(Pty) Ltd6-Sep-09 20:02
professionalVimalsoft(Pty) Ltd6-Sep-09 20:02 
Questionwebservice Pin
farokhian5-Sep-09 10:21
farokhian5-Sep-09 10:21 
AnswerRe: webservice Pin
Christian Graus5-Sep-09 10:41
protectorChristian Graus5-Sep-09 10:41 
GeneralRe: webservice Pin
Abhishek Sur5-Sep-09 10:50
professionalAbhishek Sur5-Sep-09 10:50 
GeneralRe: webservice Pin
farokhian5-Sep-09 10:51
farokhian5-Sep-09 10:51 
GeneralRe: webservice Pin
Christian Graus5-Sep-09 10:52
protectorChristian Graus5-Sep-09 10:52 
GeneralRe: webservice Pin
farokhian5-Sep-09 11:25
farokhian5-Sep-09 11:25 
GeneralRe: webservice Pin
Abhishek Sur5-Sep-09 11:02
professionalAbhishek Sur5-Sep-09 11:02 
GeneralRe: webservice Pin
farokhian5-Sep-09 11:22
farokhian5-Sep-09 11:22 
GeneralRe: webservice Pin
Christian Graus5-Sep-09 11:25
protectorChristian Graus5-Sep-09 11:25 
GeneralRe: webservice Pin
farokhian5-Sep-09 11:35
farokhian5-Sep-09 11:35 
GeneralRe: webservice Pin
Christian Graus5-Sep-09 12:06
protectorChristian Graus5-Sep-09 12:06 
GeneralRe: webservice Pin
Abhijit Jana5-Sep-09 11:33
professionalAbhijit Jana5-Sep-09 11:33 
GeneralRe: webservice Pin
Abhishek Sur5-Sep-09 12:03
professionalAbhishek Sur5-Sep-09 12:03 
AnswerRe: webservice Pin
Abhishek Sur5-Sep-09 10:46
professionalAbhishek Sur5-Sep-09 10:46 

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.