[21]Window PowerShell DSC学习系列---- 在Window 2012 R2 安装DSC 5.0 Pull服务器报错的解决方案
2017-02-13 22:49
621 查看
在Window 2012 R2 安装DSC 5.0 Pull服务器的时候,将会报出Powershell DSC Pull Server throws internal error - Microsoft.Isam.Esent.Interop not found 的错误,具体如下图所示意:
原因是 DSC的Pull 5.0的版本,在使用默认资源xPSDesiredStateConfiguration安装Pul服务器的时候,会使用Esent做为数据库的供应者,但是这个数据库的供应者只能在Window 8.1上正常工作,在Window 2012 R2不能工作。 具体的解决方案是:
把Pull服务器里面的web.config文件中的下面的配置:
修改成:
重启IIS,就能把问题Pull服务器的上的问题解决。
原因是 DSC的Pull 5.0的版本,在使用默认资源xPSDesiredStateConfiguration安装Pul服务器的时候,会使用Esent做为数据库的供应者,但是这个数据库的供应者只能在Window 8.1上正常工作,在Window 2012 R2不能工作。 具体的解决方案是:
把Pull服务器里面的web.config文件中的下面的配置:
<add key="dbprovider" value="ESENT" /> <add key="dbconnectionstr" value="C:\Program Files\WindowsPowerShell\DscService\Devices.edb" />
修改成:
<add key="dbprovider" value="System.Data.OleDb" /> <add key="dbconnectionstr" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\WindowsPowerShell\DscService\Devices.mdb;"/>
重启IIS,就能把问题Pull服务器的上的问题解决。
相关文章推荐
- [25]Window PowerShell DSC学习系列----如何更换DSC Pull服务器数据库为Access数据库?
- [6] Window PowerShell DSC 学习系列----如何安装最新的PowerShell DSC 5.1 Pull Server?
- [10] Window PowerShell DSC 学习系列----目标节点和Pull 服务器底层通信原理剖析
- [22]Window PowerShell DSC学习系列---- 如何用PowerShell脚本查看DSC服务器的执行报表(Report)
- [26]Window PowerShell DSC学习系列----如何更换Pull服务器数据库为SQL Server数据库
- [20]Window PowerShell DSC学习系列---- start-dscconfiguration 中遇到 Access Denied的解决方案
- [18] Window PowerShell DSC学习系列---- 如何区分WMF4.0和WMF 5.0?
- [7] Window PowerShell DSC 学习系列----如何被管理的设置节点注册到Pull Server?
- 阿里云学生优惠Windows Server 2012 R2安装IIS,ftp等组件,绑定服务器域名,域名解析到服务器,域名备案,以及安装期间错误的解决方案
- [3] Window PowerShell DSC 学习系列----如何在PowerShell DSC 5.x 安装最新的DSC Module?
- [32] Window PowerShell DSC 学习系列----使用DSC Package安装时,如何获取Product ID?
- Windows Server 2012 R2安装IIS,ftp等组件,绑定服务器域名,域名解析到服务器,域名备案,以及安装期间错误的解决方案
- Windows Server 2012 R2 WSUS4.0 服务器安装与配置01之基础安装
- Windows Server 2012 R2 NAP服务器安装与配置04之 NPS应用DHCP相关设置
- Windows Server 2012 R2 DirectAccess功能测试(2)―App1服务器安装及配置
- SCVMM 2012 R2---安装SCVMM 2012 R2服务器
- Windows Server 2012 R2 NAP服务器安装与配置03之 NPS服务器DHCP访问控制配置
- Windows Server 2012 R2 NAP服务器安装与配置01之 目录说明
- Windows Server 2012 R2 NAP服务器安装与配置05之 用户端的策略配置
- Windows Server 2012 R2 DirectAccess功能测试(5)―安装及配置Inter服务器