• It's solved.

    The connection string format is correct.

    The sql server instance to which I was trying to connect was stopped..