Author Posts

May 30, 2017 at 2:15 pm

Hi all,

I configured DSC server in windows server 2012 r2 configured another win 2012 r2 server as client node .I am trying to install .exe file via DSC on the client side i see that the configuration is failing with

Job {55732EAD-4540-11E7-80F5-005056BB2D18} :
This event indicates that failure happens when LCM is trying to get the configuration from pull server using download manager WebDownloadManager. ErrorId is 0x1. ErrorDetail is The attempt to get the action from server http://dc01f30.forest30.xyz.local:8080///PSDSCPullServer.svc/Action(ConfigurationId='e42622e1-6fed-4dcd-9409-70386e1f3390')/GetAction failed because a valid configuration e42622e1-6fed-4dcd-9409-70386e1f3390 cannot be found.Can you guide me how to fix this .

Here are my DSC config details

Configuration SetPullMode {
param([string]$guid)
Node $ComputerName {
LocalConfigurationManager {
ConfigurationMode = 'ApplyOnly'
ConfigurationID = $guid
RefreshMode = 'Pull'
DownloadManagerName = 'WebDownloadManager'
DownloadManagerCustomData = @{
ServerUrl = 'http://dc01f30.forest30.xyz.local:8080/PSDSCPullServer.svc';
AllowUnsecureConnection = 'true' }
}
}
}
SetPullMode –guid $guid
Set-DSCLocalConfigurationManager –Computer "dc02f30.forest30.xyz.local" -Path ./SetPullMode –Verbose

Node config details:

Configuration Bigfixinstallation {
param ($ComputerName)
Node $ComputerName {
Package InstallBigfix {
Ensure = "Present"
Name = "Install Bigfix"
Path = "\\dc01f30\c$\Bigfix\bigfix.exe"
Arguments = "/s"
ProductID = "4C0151B6-7CB8-4F72-B07B-A70FF0066B0E "
}
}
}
Bigfixinstallation -ComputerName "dc02f30.forest30.xyz.local"

Thanks
Bharani

May 30, 2017 at 2:16 pm

The error is telling you that the MOF isn't on the pull server, or its checksum file is missing.

May 30, 2017 at 2:25 pm

Hi Don,

Both, MOF and checksum files are there in C:\Program Files\WindowsPowerShell\DscService\Configuration

May 30, 2017 at 4:31 pm

I can't see where you plumbed the GUID into the pull client's LCM? I suspect that that is the issue.

May 30, 2017 at 6:24 pm

Hi Thomas,

I tried it on different system and package got installed.The events generated are

Job {F547F463-455E-11E7-80E2-005056BB3EE3} :
Consistency engine was run successfully.

To test this again i uninstalled it and this time is see errors

This event indicates that failure happens when LCM is trying to get the configuration from pull server using download manager WebDownloadManager. ErrorId is 0x1. ErrorDetail is A generic exception occured during the invocation of the Get-DSCDocument cmdlet by Download Manager WebDownloadManager

Any thoughts.

May 30, 2017 at 6:27 pm

I'm really not thinking this is with your package/installer – the error is happening before the node is even getting its MOF. Can you share the filename of the MOF and its checksum, as they sit on your pull server?

May 31, 2017 at 7:46 am

MOF file name is d35f9a8a-1d34-4b4a-b1ce-a30b39f28f05

Checksum file name is d35f9a8a-1d34-4b4a-b1ce-a30b39f28f05.mof

May 31, 2017 at 1:06 pm

So, that'd be the wrong file names.

It's .mof and .mof.checksum. https://msdn.microsoft.com/en-us/powershell/dsc/pullserver