From 5a5965ac7374868bb95910ba659c79d9efeb859d Mon Sep 17 00:00:00 2001 From: Steve Bohlen Date: Sat, 17 Jan 2015 19:04:17 -0500 Subject: [PATCH] troubleshooting db connectivity for integration tests --- .../appveyor-set-sql-alias-for-springqa.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build-support/appveyor-set-sql-alias-for-springqa.ps1 b/build-support/appveyor-set-sql-alias-for-springqa.ps1 index 0d53ceb2..8a053547 100644 --- a/build-support/appveyor-set-sql-alias-for-springqa.ps1 +++ b/build-support/appveyor-set-sql-alias-for-springqa.ps1 @@ -26,15 +26,15 @@ if ((test-path -path $x64) -ne $True) #Adding the extra "fluff" to tell the machine what type of alias it is $TCPAlias = "DBMSSOCN," + $ServerName + "\" + $InstanceName -$NamedPipesAlias = "DBNMPNTW,\\" + $ServerName + "\pipe\" + "MSSQL$" + $InstanceName + "\sql\query" - +$NamedPipesAlias = "DBNMPNTW,\\" + $ServerName + "\PIPE\" + "MSSQL$" + $InstanceName + "\sql\query" + #Creating our TCP/IP Aliases -New-ItemProperty -Path $x86 -Name $AliasName -PropertyType String -Value $TCPAlias -Force -New-ItemProperty -Path $x64 -Name $AliasName -PropertyType String -Value $TCPAlias -Force +#New-ItemProperty -Path $x86 -Name $AliasName -PropertyType String -Value $TCPAlias -Force +#New-ItemProperty -Path $x64 -Name $AliasName -PropertyType String -Value $TCPAlias -Force #WARNING: left here in case we ever want to switch to named-piped, but since we can't have two aliases # named the same for two diff. conn. protcols, this is commented out here in favor of the TCPIP alias above #Creating our Named Pipes Aliases -#New-ItemProperty -Path $x86 –Name $AliasName -PropertyType String -Value $NamedPipesAlias -#New-ItemProperty -Path $x64 –Name $AliasName -PropertyType String -Value $NamedPipesAlias \ No newline at end of file +New-ItemProperty -Path $x86 –Name $AliasName -PropertyType String -Value $NamedPipesAlias +New-ItemProperty -Path $x64 –Name $AliasName -PropertyType String -Value $NamedPipesAlias \ No newline at end of file