Connection string

Geoffroy's Avatar

Geoffroy

16 Dec, 2013 05:06 AM

Hi

I try to install hglab but I have some difficulties with database connection string. I have run script to create hglab database and for the moment I have kept all script default parameters for login and password.

I use this script to connect :
Server=SOURCE_SERVER\SQLEXPRESS;Database=hglab;User Id=hglab;Password=hglab

I get error : Could not connect to the Microsoft SQL Server using provided connection string ......

The database exist I have used Microsoft SQL Server management to verify that

Is someone have an idea?

  1. Support Staff 1 Posted by Anton Gogolev on 16 Dec, 2013 07:14 AM

    Anton Gogolev's Avatar

    Hi!

    Just to double-check: do you have SOURCE_SERVER in the connection string? It has to be a valid hostname of the server and generally be identical to what you see in the SQL Server Management Studio (see attached screenshot - the (local) and srv-db5 parts).

  2. Anton Gogolev closed this discussion on 05 Jan, 2014 06:12 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

12 Jan, 2023 12:25 PM
10 Jan, 2023 04:49 PM
03 Aug, 2022 01:49 PM
05 Jul, 2022 07:01 PM
28 Mar, 2022 04:42 PM

 

21 Jan, 2022 10:43 AM
20 Jan, 2022 10:45 AM
18 Jan, 2022 10:15 AM
19 Mar, 2021 06:13 PM
01 Mar, 2021 02:51 PM
01 Jan, 2021 02:19 AM