locked
Connections string where instance name has a backslash in it RRS feed

  • Question

  • User1222974144 posted

    I am trying to connect to an instance on a remote server with a backslash in the instance name so it would look something like this:

    string sqlConnString = @"Data Source= test.testserver.com\testinstance\STAGE;Initial Catalog = testdb ; User Id = tester; Password = test123; Integrated Security = False;";

    The Sever name is:test.testserver.com
    The instance name is: testinstance\STAGE

    Error:A network-related or instance-specific error occurred while establishing a connection to SQL Server

    Thank you.

    Wednesday, August 9, 2017 3:56 PM

All replies