我已按照 Powershell.org 中的说明进行操作DSC Book中的说明设置 http 拉取服务器(Windows 2012 服务器)以与 DSC 一起使用。我设置了 http 拉取服务器,然后制作了要拉取的配置,然后设置我的节点的 LCM 以拉取并运行配置。
我可以在Task Scheduler/Microsoft/Windows/Desired State Configuration下的节点上看到计划任务,所以我知道至少有些工作。但是,我的配置没有运行。当我查看Apps&Svcs/Microsoft/Windows/Desired State Configuration/Operational Log下的事件日志时,我看到以下事件:
Job {E0B6977A-E34F-4EDD-8455-E555063CD3DD} :
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://pullserver.local:8080/PSDSCPullServer/Action(ConfigurationId='adaba4f6-b2b6-420d-a1dd-3714106451d6')/GetAction returned unexpected response code InternalServerError.
当我在启用 CustomErrors 后手动点击该 URL 时,出现以下错误:
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Isam.Esent.Interop, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
我尝试用谷歌搜索这个错误(没有运气),但我找不到关于这个 DLL 的有用信息。看起来它应该与 Windows 的某些部分一起提供,但我没有在我的系统上看到它。我不愿意从那些“DLL 下载器”站点之一下载它。
任何想法为什么 DSC 拉服务器似乎需要这个 DLL 而我没有它?