cannot connect to sqlserver 2005
-
Hi all, I using visual studio 2005 and SQl server 2005, and every thing run will. when i installed Visual studio 2008 and make code for connection to sqlserver 2005 an error box raise shows this error: system.data.sqlclient.sqlexception login failed for user 'DomainName\User' ... . Any body have an idea to solve this problem. thanks in advanced :)
-
Hi all, I using visual studio 2005 and SQl server 2005, and every thing run will. when i installed Visual studio 2008 and make code for connection to sqlserver 2005 an error box raise shows this error: system.data.sqlclient.sqlexception login failed for user 'DomainName\User' ... . Any body have an idea to solve this problem. thanks in advanced :)
What is the connection string. the username and password which are given in the connection string is wrong..! This is a basic error. type the user name and password in the sql server management studio..! try this link for connection strings..! http://www.connectionstrings.com/[^]
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
-
What is the connection string. the username and password which are given in the connection string is wrong..! This is a basic error. type the user name and password in the sql server management studio..! try this link for connection strings..! http://www.connectionstrings.com/[^]
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
Dear sashidhar, I told you same code exactly was written in visual studio 2005 , and successfully make a connection. there is no error in my connection string. by the way, the security type is integrated security=true. and what you told me about username and password it is true, i mean it doesn't work in sql server management studio. so any idea. Regards :)
-
Hi all, I using visual studio 2005 and SQl server 2005, and every thing run will. when i installed Visual studio 2008 and make code for connection to sqlserver 2005 an error box raise shows this error: system.data.sqlclient.sqlexception login failed for user 'DomainName\User' ... . Any body have an idea to solve this problem. thanks in advanced :)
-
Hi all, I using visual studio 2005 and SQl server 2005, and every thing run will. when i installed Visual studio 2008 and make code for connection to sqlserver 2005 an error box raise shows this error: system.data.sqlclient.sqlexception login failed for user 'DomainName\User' ... . Any body have an idea to solve this problem. thanks in advanced :)
Put your connection string here, so we can go through it.
-
use follwing syntax try { Sqlconnection con=new Sqlconnection("connection String"); con.open(); } catch() {} If You Get your answer then please Rating me... Thanks.. "Are You Ready" DX-ARMY
Hi, The connection now is working under windows XP, but still not working under windows 7, maybe the prolem in windows 7 Compatibility or need some updates. regards :)