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

Error while running the DSC_SqlSetup Module #1937

Closed
mjbarron opened this issue May 8, 2023 · 1 comment
Closed

Error while running the DSC_SqlSetup Module #1937

mjbarron opened this issue May 8, 2023 · 1 comment

Comments

@mjbarron
Copy link

mjbarron commented May 8, 2023

We are receiving the following error message while running this module.

Seems like SQL Gets installed, but then errors out and dies at this point

"module_version": "16.3.0",
"msg": "Failed to invoke DSC Set method: PowerShell DSC resource DSC_SqlSetup failed to execute Set-TargetResource functionality with error mes****ge: Running the Get-Module cmdlet without ListAvailable parameter is not supported for module names that include a path. Name parameter has this element 'C:\Program Files (x86)\Microsoft SQL Server\150\Tools\PowerShell\Modules\SQLPS' which resolves to a path. Update the Name parameter to not have path elements, and then try again. ",
"reboot_required": false,
"verbose_set": [
"Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = ResourceSet,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.",

@johlju
Copy link
Member

johlju commented May 8, 2023

This was fixed in v16.3.1 and was reported in issue #1928.

@johlju johlju closed this as completed May 8, 2023
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

2 participants