我正在通过WCFWebHttp从两个不同的BizTalk应用程序调用CRM REST API以获取AuditSet中的更改。对于两个应用程序,所有内容都配置相同
一个应用程序正常运行,没有任何异常,但“新”应用程序间歇性失败,但有以下异常:
=============================================== ====
错误:未知错误“-1073741823”。
错误消息:未知错误“-1073741823”。
源文件:不可用
行号:不可用
请求网址:http:///XRMServices/2011/OrganizationData.svc/AuditSet?%24filter = CreatedOn + ge + datetime'2017-06-22T05%3a18%3a29'+ and + CreatedOn + lt + datetime'2017 -06-22T05%3a24%3a56'
堆栈跟踪信息:[CryptographicException:未知错误“-1073741823”。] 在System.Security.Cryptography.BCryptNative.OpenAlgorithm(String algorithm,String implementation) 在System.Security.Cryptography.BCryptHashAlgorithm..ctor(CngAlgorithm算法,字符串实现) 在System.Security.Cryptography.SHA1Cng..ctor() at System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(String password,String passwordFormat) 在Microsoft.Crm.MainApplication.Application_OnEndRequest(Object sender,EventArgs eventArguments) 在System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 在System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean& completedSynchronously)
[2017-06-22 15:24:57.870]进程:w3wp |组织:00000000-0000-0000-0000-000000000000 |主题:156 |类别:平台|用户:00000000-0000-0000-0000-000000000000 |等级:错误|要求:a3a47217-cf65-40d3-8993-5c9492791f6c | ExceptionConverter.ConvertMessageAndErrorCode ilOffset = 0x23B System.Security.Cryptography.CryptographicException:Microsoft Dynamics CRM遇到错误。管理员或支持的参考编号:#5A85F91A:System.Security.Cryptography.CryptographicException:未知错误“-1073741823”。 在System.Security.Cryptography.BCryptNative.OpenAlgorithm(String algorithm,String implementation) 在System.Security.Cryptography.BCryptHashAlgorithm..ctor(CngAlgorithm算法,字符串实现) 在System.Security.Cryptography.SHA1Cng..ctor() at System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(String password,String passwordFormat) 在Microsoft.Crm.MainApplication.Application_OnEndRequest(Object sender,EventArgs eventArguments) 在System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 在System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean& completedSynchronously)
=========================================
我用Fiddler来监听电话,成功的电话和失败的电话之间没有区别