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

18 Jan, 2025 05:02 PM
13 Jan, 2025 10:42 AM
29 Nov, 2024 10:00 AM
12 Jan, 2023 12:25 PM
10 Jan, 2023 04:49 PM