2012-03-04 25 views
4

チーム基盤サーバーでキューブを処理するときに次のエラーが発生します。エラー処理キューブTFS

TF221122:チームプロジェクトコレクションのジョブ増分分析データベースの同期またはTeam Foundation Server TEAM FOUNDATIONの実行中にエラーが発生しました。

私は最近、チームファンデーションサーバーを移動して復元しました。 私の問題は、「TEAM FOUNDATION」と呼ばれるサーバーがないことです。私はTFSConfigを使って何かを間違って設定したと思います。

GetProcessStatusのxml出力は次のとおりです。 私は簡潔にするためにいくつかを切った。問題はInstance Name = 'TEAM FOUNDATION'が間違っていると私はかなり確信しています。私はマシン名にする必要がありますか?

<WarehouseProcessingStatus xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Controller/03"> 
    <RequestTimeUtc>2012-03-04T07:07:31.4633418Z</RequestTimeUtc> 
    <WarehouseProcessingOnlineStatus>Stopped</WarehouseProcessingOnlineStatus> 
    <AnalysisProcessingOnlineStatus>Stopped</AnalysisProcessingOnlineStatus> 
    <JobProcessingStatus>Idle</JobProcessingStatus> 
    <JobsRunning>0</JobsRunning> 
    <JobsQueued>0</JobsQueued> 
    <Instance Name="TEAM FOUNDATION" JobProcessingStatus="Idle" JobsRunning="0" JobsQueued="0"> 
    <Jobs> 
     <Job Name="Common Structures Warehouse Sync" JobProcessingStatus="Idle"> 
     <LastRun QueueTimeUtc="2012-03-04T06:53:16.94Z" ExecutionStartTimeUtc="2012-03-04T06:53:17.433Z" EndTimeUtc="2012-03-04T06:53:17.45Z" Result="Blocked"> 
      <ResultMessage>[Common Structures Warehouse Sync]: ---&gt; TF221107: Reporting for Team Foundation Server cannot execute job Common Structures Warehouse Sync for team project collection TEAM FOUNDATION because the warehouse is offline. Use the Team Foundation Administration Console to start reporting.</ResultMessage> 
     </LastRun> 
     </Job> 
     <Job Name="Full Analysis Database Sync" JobProcessingStatus="Idle"> 
     <LastRun QueueTimeUtc="2012-03-04T06:03:49.833Z" ExecutionStartTimeUtc="2012-03-04T06:03:52.7Z" EndTimeUtc="2012-03-04T06:04:06.917Z" Result="Failed"> 
      <ResultMessage>[Full Analysis Database Sync]: ---&gt; AnalysisDatabaseProcessingType=Full, needCubeSchemaUpdate=True. ---&gt; Microsoft.TeamFoundation.Server.WarehouseException: TF221122: 
      An error occurred running job Full Analysis Database Sync for team project collection or Team Foundation server TEAM FOUNDATION. ---&gt; Microsoft.TeamFoundation.Server.WarehouseException: Failed to Process Analysis Database 'Tfs_Analysis'. ---&gt; Microsoft.TeamFoundation.Server.WarehouseException: Internal error: The operation terminated unsuccessfully. 
       Server: The operation has been cancelled. 
           OLE DB error: OLE DB or ODBC error: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.; 08001; Client unable to establish connection; 08001; Encryption not supported on the client.; 08001. 
           Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Tfs_AnalysisDataSource', Name of 'Tfs_AnalysisDataSource'. 
           Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Test Plan', Name of 'Test Plan' was being processed. 
           Errors in the OLAP storage engine: An error occurred while the 'Test Plan ID' attribute of the 'Test Plan' dimension from the 'Tfs_Analysis' database was being processed. 

     </Job> 
    </Jobs> 
    </Instance> 
    <Collections> 
    <Collection Name="Upgrade Projects" JobProcessingStatus="Idle" JobsRunning="0" JobsQueued="0"> 
     <Jobs> 
     <Job Name="Build Warehouse Sync" JobProcessingStatus="Idle"> 
      <LastRun QueueTimeUtc="2012-03-04T06:35:09.837Z" ExecutionStartTimeUtc="2012-03-04T06:35:10.157Z" EndTimeUtc="2012-03-04T06:35:10.317Z" Result="Succeeded" /> 
     </Job> 
     <Job Name="Common Structures Warehouse Sync" JobProcessingStatus="Idle"> 
      <LastRun QueueTimeUtc="2012-03-04T06:35:09.823Z" ExecutionStartTimeUtc="2012-03-04T06:35:10.147Z" EndTimeUtc="2012-03-04T06:35:10.643Z" Result="Succeeded" /> 
     </Job> 
     <Job Name="Test Management Warehouse Sync" JobProcessingStatus="Idle"> 
      <LastRun QueueTimeUtc="2012-03-04T06:47:02.343Z" ExecutionStartTimeUtc="2012-03-04T06:47:03.313Z" EndTimeUtc="2012-03-04T06:47:03.41Z" Result="Succeeded" /> 
     </Job> 
     <Job Name="Version Control Warehouse Sync" JobProcessingStatus="Idle"> 
      <LastRun QueueTimeUtc="2012-03-04T06:35:09.837Z" ExecutionStartTimeUtc="2012-03-04T06:35:10.163Z" EndTimeUtc="2012-03-04T06:35:10.297Z" Result="Succeeded" /> 
     </Job> 
     <Job Name="Work Item Tracking Warehouse Sync" JobProcessingStatus="Idle"> 
      <LastRun QueueTimeUtc="2012-03-04T06:35:09.837Z" ExecutionStartTimeUtc="2012-03-04T06:35:10.15Z" EndTimeUtc="2012-03-04T06:35:10.573Z" Result="Succeeded" /> 
     </Job> 
     </Jobs> 
    </Collection> 
    </Collections> 
</WarehouseProcessingStatus> 

答えて

7

私はこれを最後に考え出しました。 分析サービスにログインし、TFS_Analysisを右クリックして[プロセス]を選択すると、CUBEを手動で処理できます。

TFS_AnalysisDatasourceで指定されたユーザーを正しく偽装できなかったことが判明しました。どうしてか分かりません。これは、マシンに対する管理者権限を持つ有効なユーザーでした。

分析サービスがドメインアカウントを使用するように変更され、サービスアカウントを使用するようにデータソースが変更されました。

これは最終的にキューブの処理を得ました。私が上記の問題だと思ったインスタンス= '...'は赤ちゃんだった。

+1

+1私の問題も解決しました。ありがとう –