Skip to content
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

Import Json fails with Powershell 4.0 #564

Closed
SacSQLDude opened this issue Nov 1, 2018 · 0 comments
Closed

Import Json fails with Powershell 4.0 #564

SacSQLDude opened this issue Nov 1, 2018 · 0 comments

Comments

@SacSQLDude
Copy link

Bug Report

When running Import-DbcConfig, was getting an error stating "Invalid array passed in, ']' expected. (1): [ "

Was running locally on a server with admin rights when getting this error. Ran locally on my laptop and had no issues. Discovered the only difference was the Import_DbcConfig worked on PS version 5.1 but not on 4.0. Did not test 5.0.

I updated the version on the server to 5.1 and the import worked without issue.

Version Information

  • Operating System (Name|Version): Win2012R2
  • PowerShell Version: 4.0
  • SQL Server (Edition|Version): 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant