Could not load file or assembly Microsoft.AnalysisServices.AdomdClient
2010-11-10 17:15
1531 查看
The Dundas OLAP controls are built with version 9.0.242.0 of the Microsoft.AnalysisServices.AdomdClient assembly. If this version of the assembly is not installed on the machine that runs the Dundas OLAP controls you may experience the following error:
Installing the required version of the assembly, or
Creating a binding redirect to a later version of the same assembly.
Navigate to C:\Windows\Assembly and locate Microsoft.AnalysisServices.AdomdClient.dll. At the time this article was written, the latest version available was 10.0.0.0. Take a note of the installed assembly's version.
Open your application’s configuration files (appName.config for Windows Forms or web.config for web applications). Create a <dependetAssembly> element configuration file. Be sure that newVersion attribute matches the version of the assembly installed on your system:
Could not load file or assembly 'Microsoft.AnalysisServices.AdomdClient, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
The problem can be resolved by:Installing the required version of the assembly, or
Creating a binding redirect to a later version of the same assembly.
Installing the required version
You can install version 9.0.242.0 by downloading and running Microsoft Adomd.NET from microsoft.com.Creating a binding redirect
If you have a newer version of the assembly installed on your system you can set up a binding redirect in your application’s configuration file:Navigate to C:\Windows\Assembly and locate Microsoft.AnalysisServices.AdomdClient.dll. At the time this article was written, the latest version available was 10.0.0.0. Take a note of the installed assembly's version.
Open your application’s configuration files (appName.config for Windows Forms or web.config for web applications). Create a <dependetAssembly> element configuration file. Be sure that newVersion attribute matches the version of the assembly installed on your system:
<configuration> <<runtime>> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"<>> <dependentAssembly> <assemblyIdentity name="Microsoft.AnalysisServices.AdomdClient" publicKeyToken="89845dcd8080cc91"/> <bindingRedirect oldVersion="9.0.242.0" newVersion="10.0.0.0"/> </dependentAssembly> </assemblyBinding> </runtime> </configuration>You can find additional information about binding redirect element in the MSDN library.
相关文章推荐
- PowerPivot--Could not load file or assembly 'Microsoft.AnalysisServices.SharePoint.Integration'
- Unable to read the project file 'client.csproj'. Could not load file or assembly 'Microsoft.Build.En
- Could not load file or assembly "Microsoft.DataTransformationServices.Design,Version=12.0.0.0,Culture=neutral,PublicKeyToken=89845dcd8080cc91" or one of its dependencies.
- VS2015解决问题 Could not load file or assembly 'Microsoft.VisualStudio.ConnectedServices, Version=2.0.0.
- Could not load file or assembly Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0
- Exception from HRESULT: 0x800736B1,Could not load file or assembly 'Microsoft.SqlServer.BatchParser
- Could not load file or assembly ‘Microsoft.VisualStudio.Tools.Applications.Core’
- Could not load file or assembly ‘Microsoft.VisualStudio.Tools.Applications.Core’
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutra...
- Asp.Net 关于Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies.问题的解决方法。
- Asp.Net 关于Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e
- 解决办法:Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Logging
- Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0, Culture=n
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e94
- Visual Studio 2017 Could not load file or assembly Microsoft.VisualStudio.VC.Interfaces的解决方法
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e94
- Could not load file or assembly System.EnterpriseServices
- Could not load file or assembly 'Microsoft.Office.Interop.Excel
- Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0 系统找不到指定的文件
- Could not load file or assembly Microsoft.Web.Infrastructure