[英]Internal Server Error in PowerShell cmdlets for Microsoft Dynamics CRM
On Windows Server 2012 Datacenter with Microsoft Dynamics CRM 2016 installed, I want to run a deployment command but for every commands I get this error: "(500) Internal Server Error". 在安装了Microsoft Dynamics CRM 2016的Windows Server 2012 Datacenter上,我想运行部署命令,但是对于每个命令,我都会收到此错误:“(500)内部服务器错误”。 I first run this:
我先运行这个:
Add-PSSnapin Microsoft.Crm.PowerShell
and it will work fine and when I check it with get-pssnapin and Get-Help *Crm*, every thing is fine and every thing that I need is registered. 它会正常工作,当我用get-pssnapin和Get-Help * Crm *检查它时,每件事都很好,我需要的所有东西都是注册的。 but when I want to run a cmdlets command like these, I face the error: Get-CrmSetting or Get-CrmCertificate or ... For example for Get-CrmSetting TraceSettings it give me this error:
但是当我想运行像这样的cmdlet命令时,我面临错误:Get-CrmSetting或Get-CrmCertificate或...例如对于Get-CrmSetting TraceSettings,它给了我这个错误:
How can I solve this problem and error? 我该如何解决这个问题和错误?
Thanks 谢谢
According to this article , you might want to try: 根据这篇文章 ,你可能想尝试:
Get-CrmSetting –SettingType TraceSettings
Here are a couple more items to investigate, from this article : 从这篇文章中可以查看以下几个项目:
Verify the (CRMDeploymentServiceAppPool Application Pool identity) has SQL SEVER SysAdmin permission. 验证(CRMDeploymentServiceAppPool应用程序池标识)是否具有SQL SEVER SysAdmin权限。 This is needed to perform any CRM configuration changes and organizational operations.
这是执行任何CRM配置更改和组织操作所必需的。
Deployment Web Service (CRMDeploymentServiceAppPool Application Pool identity) ....Sysadmin permission on the instance of SQL Server to be used for the configuration and organization databases.
部署Web服务(CRMDeploymentServiceAppPool应用程序池标识) ....用于配置和组织数据库的SQL Server实例的Sysadmin权限。 ....
....
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.