TFS 2012 和 MS SQL 2008r2

TFS 2012 和 MS SQL 2008r2

当我尝试调用 TFS 2012 仓库控制 Web 服务 (WarehouseControlService.asmx) 时出现以下错误:

异常消息:无法加载文件或程序集“Microsoft.AnalysisServices,Version=10.0.0.0,Culture=neutral,PublicKeyToken=89845dcd8080cc91”或其依赖项之一。系统找不到指定的文件。 (类型 FileNotFoundException)异常堆栈跟踪:在 Microsoft.TeamFoundation.Warehouse.WarehouseConfigurationService.RebuildOLAPDatabase(TeamFoundationRequestContext requestContext、String olapServerInstanceName、String databaseName、String warehouseServerInstanceName、String warehouseDatabaseName、Int32 TranslationLCID、Boolean checkAndUpdateJobs)在 Microsoft.TeamFoundation.Warehouse.WarehouseConfigurationService.RebuildOLAPDatabase(TeamFoundationRequestContext requestContext、String olapServerInstanceName、String databaseName、String warehouseServerInstanceName、String warehouseDatabaseName、Int32 TranslationLCID)在 Microsoft.TeamFoundation.Management.SnapIn.ApplicationTierNode.RebuildReporting(IntPtr hwnd,IRefreshable 面板)

内部异常详细信息:

异常消息:无法加载文件或程序集“Microsoft.AnalysisServices,Version=11.0.0.0,Culture=neutral,PublicKeyToken=89845dcd8080cc91”或其依赖项之一。系统找不到指定的文件。 (类型 FileNotFoundException)异常堆栈跟踪:在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName、String codeBase、Evidence assemblySecurity、RuntimeAssembly locationHint、StackCrawlMark& stackMark、IntPtr pPrivHostBinder、Boolean throwOnFileNotFound、Boolean forIntrospection、Boolean suppressSecurityChecks)在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef、Evidence assemblySecurity、RuntimeAssembly reqAssembly、StackCrawlMark& stackMark、IntPtr pPrivHostBinder、Boolean throwOnFileNotFound、Boolean forIntrospection、Boolean suppressSecurityChecks)在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)在Microsoft.TeamFoundation.Common.Internal.TfsAssemblyResolver.OnAssemblyResolve(对象发送者,ResolveEventArgs 参数)位于 System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly 程序集,字符串 assemblyFullName)

这很奇怪,因为我已经安装了 ms sql 连接。这是否与我尝试将 tfs 2012 与 ms sql 2012 一起使用有关?请告知如何解决上述问题。

答案1

听起来您没有在 Web 服务器上安装 SQL Server Analysis Services 组件。

这是一个单独的安装,你可以从微软。具体来说,您需要查找“Microsoft® Analysis Services OLE DB Provider for Microsoft® SQL Server® 2012”在该页面上(约 1/3 路程)。

可以找到 SQL 2008 R2 版本这里

相关内容