-
Notifications
You must be signed in to change notification settings - Fork 225
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
SqlAGReplica: InnerException: Invalid column name 'required_copies_to_commit' #1033
Comments
I found this similar issue: Is there a way to guarantee what module version to use? One more thing to mention is that we use SQL Server 2017 Enterprise. |
So this is a problem with SQLPS module, maybe we should document that 🤔 It seems that it was solved using SqlServer module. SQLPS is part of SQL Server, but SQL Server Team are moving away (I think) from SQLPS in favor of SqlServer module (which is not the same as SqlServerDsc). SqlServer module is published in the PowerShell Gallery. It can be downloaded from there; https://www.powershellgallery.com/packages/SqlServer/ |
@randomnote1 Are you familiar with this issue? Is this a know problem with the SQLPS module? Should we add a requirement for this resource (in the README.md) that SqlServer module must be used? |
I think I recall hearing something about this before, but I'm not sure. I've been relying on the SQLPS module (SQL 2014 & 2016) and haven't experienced this yet. I don't know how well could enforce the requirement to use the SqlServer module because all the resources rely on the |
Thank you very much for considering this. Any dirty workaround for me? :) |
@shurick81, I would try installing the SqlServer module from the PSGallery. The helper function looks for this module to be present first, and prefers it over SQLPS. |
Thanks, I run
However, it can be completely another issue to look at. |
Cool! Got past one issue :) Yes, it looks like you're on to a different issue. Verify the |
@randomnote1 I didn't mean enforce the use of it, I thought we could just mention in the README.md for SqlAGreplica (under requirements section) that SqlServer is needed in some scenarios for SQL Server 2017. |
Hi, I am also getting the same error. The manual workaround running the |
One suggestion was to add SqlServer module as a requirement (in the documentation) so no other workaround. Anyone know if there still is a SQLPS in SQL2019? |
Reopen to add this to the documentation. |
- SqlServerDsc - Remove the file `.github/CONTRIBUTION.md` as it no longer filled any purpose as GitHub will find the CONTRIBUTION.md in the root folder directly now (issue #1227). - The documentation in CONTRIBUTING.md has been somewhat updated. - Update documentation around design pattern for accounts that does not use passwords (issue #378) and (issue #1230). - Updating the Integration Test README.md to better explain what the integration tests for SqlSetup, SqlRSSetup, and SqlRS does (issue #1315). - SqlAGReplica - Update documentation with a requirement for SqlServer in certain circumstances (issue #1033). - SqlRSSetup - There was a typo in the error message that was thrown when not passing either the `Edition` or `ProductKey` that could be misleading (issue #1386). - Updated the parameter descriptions for the parameters `Edition` and `ProductKey` that they are mutually exclusive (issue #1386).
Details of the scenario you tried and the problem that is occurring:
I am trying to configure availability group.
I get following error when applying DSC:
The DSC configuration that is using the resource (as detailed as possible):
Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
Windows Server 2016
WMF 5.1
What module (SqlServer or SQLPS) and which version of the module the DSC Target Node is running:
I use SqlServerDsc 10.0.0.0 module. Don't know about SqlServer or SQLPS.
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
I just install from gallery via DSC:
The text was updated successfully, but these errors were encountered: