Click here to Skip to main content
15,906,569 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I need help with finding password, server name and type, login, authentication for SQL Server 2008? Where to look for these?
I am getting Error 26: Error locating server/ instance specified.
Thanks.
Jyoti
Posted
Comments
Jyoti5 2-Nov-12 7:27am    
Hi OG,
I tried the solution suggested by u. I still need my password for setting up a connection.
Is there away I can reset/ change my password.
Thanks,
Jyoti

1 solution

As far as the password is concerned, we can't help you.
For the rest, the easiest way is to either use Sql Server Management Studio to connect to the database and make a note of the details when you have them correct, or use VS to do the same but then copy the connection string.

Try setting up a connection in VS with the Server Explorer pane:
1) Open Server Explorer.
2) Right click "Data connections" and select "Add connection"
3) In the dialog that follows, select your DataSource, and database, specify the security info, and press the "Test connection" button.
4) When the connection works, press "OK"
5) Highlight your database in the Server Explorer pane, and look at the Properties pane. A working example of the connection string will be shown, which you can copy and paste into your app or config file.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900