Connect String - How to specify instance name? RRS feed

  • Question

  • User1135050801 posted

    Our application uses an app key in web.config to define the database connection string - it's value gets passed to SqlConnection...

    <add key="DatabaseSource" value="Server=; Database=MyDB; integrated security=false; UID=xxxxxx; PWD=xxx"></add>

    Until now, customers have given us an IP and we were good to go.  This one's given us an IP and a SQL instance name.  How do you add that to the connect string?

    Thanks...  -- Curt

    Thursday, January 14, 2016 11:15 PM