-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Can't connect to SQL Instance Expected $false #1020
Comments
I'm also having the same issue... I don't suspect that it's my account since Test-DbaConnection localhost returns favourable results. Really excited to try this, but I cannot seem to get started since this error just simply won't go away :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello and thank you for your time. I'm just testing dbachecks and I have a small lab environment. After installing the module, and making sure that Pester is at the correct verison, I run the following:
`$SQLServer = "SQLTest1"
Invoke-DbcCheck -SqlInstance $SQLServer -Check LastGoodCheckDB`
It begins to run, but throws:
Can't connect to SQLTest1
Expected $false, because the instance should be available to be connected to!, but got $true.
This looks to come from Database.Tests.ps1 line 208.
This database is accessible. It's local on the server I'm running this from. I can connect to the SQL instance just fine from PowerShell.
The text was updated successfully, but these errors were encountered: