尝试在SQL Server2014上安装AX2012 R2的Reporting Services扩展失败,出现如下错误:
"Could not load file or assembly 'Microsoft.SqlServer.BatchParser, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. An operation is not legal in the current state. (Exception from HRESULT: 0x80131509)".
bing了一下,找到了一篇文章解决这个问题。
http://community.dynamics.com/ax/b/axsupport/archive/2015/05/19/installing-reporting-services-extensions-on-sql-server-2014
为防止这个链接实效,这里Mark一下。
意思就是需要装几个补丁
- Microsoft® System CLR Types for SQL Server® 2008 R2
- Microsoft® SQL Server 2008 R2 Shared Management Objects
- Microsoft® SQL Server 2008 R2 ADOMD.NET
- Microsoft® SQL Server 2008 R2 Analysis Management Objects
下载地址如下:
http://www.microsoft.com/en-us/download/details.aspx?id=16978
在安装说明里找到上述四个补丁,下载安装一下就行了。