-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document SQL Server Named Pipes configuration for tests #3192
Comments
@Wraith2 Is that not explained in the BuildGuide? - you need to add a |
Yes, that part is documented and fairly obvious. I did as instructed. It has never worked for me. I get cannot connect on any attempt by the tests to use the named pipe protocol. |
It's fairly easy, you go to |
I do believe that's all that's needed. |
I think the instructions are missing because it just works for everyone with the SQL Server install defaults and the NP Connection string in config.default.json ( Really strange that it's never worked for you. What error(s) do you get? Thinking about when I install SQL Server, the only non-standard things I do is enable mixed mode authentication so that I can also use SQL auth and add my local Windows account as an admin. |
I always use mixed mode installs and I always use named instances because I've found that I'm likely to end up with different versions and purposes for instances. Using the full named pipe as @MichelZ detailed above seems to work on my current build but did not on my previous system. I'd like it if the documentation provided information on how to identify or construct the connection strings for named pipes even if that's just a link the the relevant documentation. |
For a named instance, isn't your connection string just: |
SqlClient can use TCP or Named pipes to connect to the sql server and there are tests that are forced to run on each protocol to make sure they work. In order to have the tests run a connection string must be provided and named pipes must be configured on the test machine and sql server machine.
But how? In the past I had assumed that my installation of SQL Server had somehow been broken or misconfigured by me but i've recently done a complete new build on new hardware and yet named pipes still do not work locally for me. I've spent time in the past looking into why and got nowhere.
In order to have named pipe specific tests run correctly locally i need to be able to correctly configure the sql server, local named pipe client and test json file. Can exact instructions from a clean install of SQL Server and Windows be provided to help with this please?
The text was updated successfully, but these errors were encountered: