|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, June 17, 2010 4:18 AM
Points: 1,
Visits: 0
|
|
Hello everyOne I want add username and password to my DataBase and use it in my connection string in Asp.Net WebApp, But I don't know how I can do it. for example: datasource=(local);initialcatalog=.;uid=username;password=password; That connection string is just an example and may be incorrect!
I have Sqlserver 2008, Vs2008.
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 12:25 AM
Points: 37,734,
Visits: 29,999
|
|
Databases don't have logins and passwords, servers do. You need to add a SQL login to the SQL instance. If you're sysadmin or security admin you can do it yourself, otherwise ask your DBA.
Management studio, open object explorer and connect to the server. Expand out security, right-click logins -> new login
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Sunday, February 03, 2013 12:04 AM
Points: 110,
Visits: 458
|
|
|
|
|