Click here to Skip to main content
15,922,015 members
Home / Discussions / Database
   

Database

 
AnswerRe: A query on Database design Pin
Rob Graham17-Sep-06 5:49
Rob Graham17-Sep-06 5:49 
AnswerRe: A query on Database design Pin
i.j.russell17-Sep-06 13:16
i.j.russell17-Sep-06 13:16 
QuestionSQl usage Pin
salie0015-Sep-06 16:01
salie0015-Sep-06 16:01 
AnswerRe: SQl usage Pin
Rob Graham17-Sep-06 5:26
Rob Graham17-Sep-06 5:26 
GeneralRe: SQl usage Pin
salie0017-Sep-06 8:26
salie0017-Sep-06 8:26 
GeneralRe: SQl usage Pin
Rob Graham17-Sep-06 9:23
Rob Graham17-Sep-06 9:23 
QuestionSSRS Order BY Pin
xfitr215-Sep-06 10:40
xfitr215-Sep-06 10:40 
QuestionCan't connect to local Sql Server database. Invalid connection string. Pin
Goalie3515-Sep-06 3:37
Goalie3515-Sep-06 3:37 
I'm having a problem connecting to the Sql Server database setup on my local machine. I can connect to my company's network database with no problem so it has to be something wrong with my connection string.

I'm using Sql Server 2005.

Here's the current string I'm using in my web.config file:
----------------------------------------------------------------
<add name="DBConn"
connectionString="Server=(local);Initial Catalog = <my database name>;User Id =<the username I log in with>;Password=<I don't login with a password so I left this property blank>"
providerName="System.Data.SqlClient"/>
-----------------------------------------------------------------
Where can I locate the necessary data for each of these properties? I'm pretty sure the "Server" property is correct however the rest is a pure guess.
Please help. I can't progress until I'm able to connect to my database.

Thanks in advance.

-Goalie35
AnswerRe: Can't connect to local Sql Server database. Invalid connection string. Pin
Not Active15-Sep-06 4:02
mentorNot Active15-Sep-06 4:02 
GeneralRe: Can't connect to local Sql Server database. Invalid connection string. Pin
yetanotherchris15-Sep-06 4:17
yetanotherchris15-Sep-06 4:17 
GeneralRe: Can't connect to local Sql Server database. Invalid connection string. Pin
Goalie3515-Sep-06 4:31
Goalie3515-Sep-06 4:31 
GeneralRe: Can't connect to local Sql Server database. Invalid connection string. Pin
i.j.russell15-Sep-06 5:27
i.j.russell15-Sep-06 5:27 
QuestionTo set an existing column to currency Pin
muchinyani14-Sep-06 23:32
muchinyani14-Sep-06 23:32 
AnswerRe: To set an existing column to currency Pin
Stephen McGuire15-Sep-06 2:36
Stephen McGuire15-Sep-06 2:36 
QuestionAlternative to a lookup table Pin
yetanotherchris14-Sep-06 22:42
yetanotherchris14-Sep-06 22:42 
AnswerRe: Alternative to a lookup table Pin
i.j.russell14-Sep-06 23:21
i.j.russell14-Sep-06 23:21 
GeneralRe: Alternative to a lookup table Pin
yetanotherchris14-Sep-06 23:27
yetanotherchris14-Sep-06 23:27 
GeneralRe: Alternative to a lookup table Pin
i.j.russell15-Sep-06 5:35
i.j.russell15-Sep-06 5:35 
QuestionNew to SQL, trying to retrieve data with VB.NET Pin
Wazr809814-Sep-06 18:41
Wazr809814-Sep-06 18:41 
AnswerRe: New to SQL, trying to retrieve data with VB.NET Pin
srushti0814-Sep-06 21:00
srushti0814-Sep-06 21:00 
AnswerRe: New to SQL, trying to retrieve data with VB.NET Pin
Michael P Butler15-Sep-06 21:05
Michael P Butler15-Sep-06 21:05 
QuestionLet a paramter calculate it's own size Pin
monrobot1314-Sep-06 16:43
monrobot1314-Sep-06 16:43 
AnswerRe: Let a paramter calculate it's own size Pin
Michael Potter15-Sep-06 4:46
Michael Potter15-Sep-06 4:46 
GeneralRe: Let a paramter calculate it's own size Pin
monrobot1315-Sep-06 11:07
monrobot1315-Sep-06 11:07 
GeneralRe: Let a paramter calculate it's own size Pin
Rob Graham17-Sep-06 5:41
Rob Graham17-Sep-06 5:41 

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.