我有一个C#代码,可用于刷新Azure分析服务上的多维数据集。我正在使用Microsoft.AnalysisServices.retail.amd64库来处理多维数据集。该代码可以在天蓝色分析服务上正常运行并处理事实和度量,而我的本地机器没有任何问题。 然后,我将代码上传到服务器上以运行该处理。
开始处理作业时,出现以下错误:
[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)
任何人都知道可能是什么问题?