我有用于刷新 azure 分析服务上的多维数据集的 ac# 代码。我正在使用 Microsoft.AnalysisServices.retail.amd64 库来处理多维数据集。该代码运行良好,并在 azure 分析服务上处理事实和措施,而我的本地机器没有任何问题。然后我将我的代码上传到服务器机器以运行处理。
当我开始处理作业时,我收到以下错误:
[Microsoft.AnalysisServices.ConnectionException: Microsoft.IdentityModel.Clients.ActiveDirectory.ClientAssertionCertificate type missing from ADAL resource.
at Microsoft.AnalysisServices.AdalRuntimeLibrary.LoadAndValidateType(Assembly assembly, String typeName)
at Microsoft.AnalysisServices.AdalRuntimeLibrary.LoadServicePrincipalTypes(Assembly assembly)
at Microsoft.AnalysisServices.AdalRuntimeLibrary..ctor()
at Microsoft.AnalysisServices.AdalRuntimeLibrary.get_Instance()
at Microsoft.AnalysisServices.AadAuthenticator.AcquireToken(String resource, String dataSource, String identityProvider, String tenantId, String userId, String password, Boolean useAdalCache, Boolean useAdTranslation)
at Microsoft.AnalysisServices.XmlaClient.OpenHttpConnection(ConnectionInfo connectionInfo, Boolean& isSessionTokenNeeded)
at Microsoft.AnalysisServices.XmlaClient.OpenConnection(ConnectionInfo connectionInfo, Boolean& isSessionTokenNeeded)
at Microsoft.AnalysisServices.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
at Microsoft.AnalysisServices.Core.Server.Connect(String connectionString, String sessionId, ObjectExpansion expansionType)
at Microsoft.AnalysisServices.Core.Server.Connect(String connectionString)
exception: [Microsoft.AnalysisServices.ConnectionException: Microsoft.IdentityModel.Clients.ActiveDirectory.ClientAssertionCertificate type missing from ADAL resource.
at Microsoft.AnalysisServices.AdalRuntimeLibrary.LoadAndValidateType(Assembly assembly, String typeName)
at Microsoft.AnalysisServices.AdalRuntimeLibrary.LoadServicePrincipalTypes(Assembly assembly)
at Microsoft.AnalysisServices.AdalRuntimeLibrary..ctor()
at Microsoft.AnalysisServices.AdalRuntimeLibrary.get_Instance()
at Microsoft.AnalysisServices.AadAuthenticator.AcquireToken(String resource, String dataSource, String identityProvider, String tenantId, String userId, String password, Boolean useAdalCache, Boolean useAdTranslation)
at Microsoft.AnalysisServices.XmlaClient.OpenHttpConnection(ConnectionInfo connectionInfo, Boolean& isSessionTokenNeeded)
at Microsoft.AnalysisServices.XmlaClient.OpenConnection(ConnectionInfo connectionInfo, Boolean& isSessionTokenNeeded)
at Microsoft.AnalysisServices.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
at Microsoft.AnalysisServices.Core.Server.Connect(String connectionString, String sessionId, ObjectExpansion expansionType)
at Microsoft.AnalysisServices.Core.Server.Connect(String connectionString)
任何人都知道可能是什么问题?