|
Our B3Refresh install upgraded successfully to the release version without throwing any errors. Unfortunately our Warehouse cube won?? process.
When the OLAP cube attempts to process, I'm getting Event 3000 errors in the event logs.
Detailed Message: Processing OLAP failed Exception Message: MdxScript(Team System) (64, 46) The '[Str]' function does not exist. The END SCOPE statement does not match the opening SCOPE statement. MdxScript(Team System) (66, 1) The END SCOPE statement does not match the opening SCOPE statement. ??/FONT>
Exception Stack Trace: at Microsoft.AnalysisServices.XmlaClient.SendExecuteAndReadResponse(Boolean skipResults, Boolean throwIfError)
at Microsoft.AnalysisServices.AnalysisServicesClient.CommitTransaction()
at Microsoft.AnalysisServices.Server.CommitTransaction()
at Microsoft.TeamFoundation.Warehouse.OlapCreator.ProcessOlap(Boolean schemaUpdated, UpdateStatusStore updateStatus)
I've done quite a bit of reading on this forum and tried invoking a Run from the Wearhouse webservice. No luck. I also tried adding the Full process directive to the Warehouse web.config. All with no luck.
I had one project created in the B3Ref version, with quite a few work Items and areas created. I didn't customize anything with workItems or the process templates.
Something tells me the problems is coming from the TfsWorkItemTracking database. Doing a schema comparison against my TfsWorkItemTracking database and a clean install verion of the same table does show some differences. My version was the result of an upgrade from B3Refresh so I'm not entirely surprised the schemas didn't match exactly. I'm not sure if this is the problem or if there is a bad workItem that's breaking things.
TfsWorkItemTracking.dbo.InstanceInfo lists InstanceID d8fe8f08-b253-47aa-ac09-416693471605 and SchemaVersionID 4
Tracing the Warehouse processing reveals it's failing while processing the Iteration dimension.
[5652] [DW] [Info, PID 5652, TID 4152, 02:15:37.744] Added CubeDimensions: vRelated Current Work Items.Microsoft_VSTS_Common_ResolvedDate [5652] [DW] [Info, PID 5652, TID 4152, 02:15:37.744] Added CubeDimensions: vRelated Current Work Items.Microsoft_VSTS_Scheduling_FinishDate [5652] [DW] [Info, PID 5652, TID 4152, 02:15:37.744] Added CubeDimensions: vRelated Current Work Items.Assigned To [5652] [DW] [Info, PID 5652, TID 4152, 02:15:37.744] Added CubeDimensions: vRelated Current Work Items.Team Project [5652] [DW] [Info, PID 5652, TID 4152, 02:15:37.744] Added CubeDimensions: vRelated Current Work Items.Microsoft_VSTS_Build_FoundIn [5652] [DW] [Info, PID 5652, TID 4152, 02:15:37.744] Added CubeDimensions: vRelated Current Work Items.Work Item [5652] [DW] [Info, PID 5652, TID 4152, 02:15:37.744] Added measure group: vRelated Current Work Items [5652] [DW] [Info, PID 5652, TID 4152, 02:15:44.713] Created OLAP. [5652] [DW] [Info, PID 5652, TID 4152, 02:15:44.729] Cube processing starting. [5652] [DW] [Info, PID 5652, TID 4152, 02:15:44.916] Found OLAP db: TFSWarehouse [5652] [DW] [Info, PID 5652, TID 4152, 02:15:45.354] Processed: Tool Artifact Display Url [5652] [DW] [Info, PID 5652, TID 4152, 02:15:45.432] Processed: Team Project [5652] [DW] [Info, PID 5652, TID 4152, 02:15:45.682] Processed: Today [5652] [DW] [Info, PID 5652, TID 4152, 02:15:45.948] Processed: Date [5652] [DW] [Info, PID 5652, TID 4152, 02:15:46.041] Processed: Person [5652] [DW] [Info, PID 5652, TID 4152, 02:15:46.135] Processed: Changeset [5652] [DW] [Info, PID 5652, TID 4152, 02:15:46.322] Processed: File [5652] [DW] [Info, PID 5652, TID 4152, 02:15:46.604] Processed: Work Item [5652] [DW] [Info, PID 5652, TID 4152, 02:15:46.697] Processed: Build [5652] [DW] [Info, PID 5652, TID 4152, 02:15:46.776] Processed: Platform [5652] [DW] [Info, PID 5652, TID 4152, 02:15:46.838] Processed: Build Flavor [5652] [DW] [Info, PID 5652, TID 4152, 02:15:46.916] Processed: Build Quality [5652] [DW] [Info, PID 5652, TID 4152, 02:15:46.979] Processed: Build Status [5652] [DW] [Info, PID 5652, TID 4152, 02:15:47.057] Processed: Assembly [5652] [DW] [Info, PID 5652, TID 4152, 02:15:47.135] Processed: Test Category [5652] [DW] [Info, PID 5652, TID 4152, 02:15:47.291] Processed: Load Test Counter Dimension [5652] [DW] [Info, PID 5652, TID 4152, 02:15:47.385] Processed: Outcome [5652] [DW] [Info, PID 5652, TID 4152, 02:15:47.479] Processed: Load Test Page Summary Dimension [5652] [DW] [Info, PID 5652, TID 4152, 02:15:47.588] Processed: Result [5652] [DW] [Info, PID 5652, TID 4152, 02:15:47.682] Processed: Run [5652] [DW] [Info, PID 5652, TID 4152, 02:15:47.760] Processed: Run Result [5652] [DW] [Info, PID 5652, TID 4152, 02:15:47.822] Processed: Load Test Scenario [5652] [DW] [Info, PID 5652, TID 4152, 02:15:47.901] Processed: Machine [5652] [DW] [Info, PID 5652, TID 4152, 02:15:47.979] Processed: Load Test Transaction Dimension [5652] [DW] [Info, PID 5652, TID 4152, 02:15:48.057] Processed: Area [5652] [DW] [Info, PID 5652, TID 4152, 02:15:48.151] Processed: Iteration [5652] [DW] [Info, PID 5652, TID 4152, 02:15:51.838] Processed OLAP database: TFSWarehouse [5652] [DW] [Warning, PID 5652, TID 4152, 02:15:52.026] MdxScript(Team System) (64, 46) The '[Str]' function does not exist. [5652] The END SCOPE statement does not match the opening SCOPE statement. [5652] MdxScript(Team System) (66, 1) The END SCOPE statement does not match the opening SCOPE statement. [5652] MdxScript(Team System) (68, 46) The '[Str]' function does not exist. [5652] The END SCOPE statement does not match the opening SCOPE statement. [5652] MdxScript(Team System) (70, 1) The END SCOPE statement does not match the opening SCOPE statement.
The TfsWarehouse.dbo.Iteration table has 2 rows that hold info about deleted Iterations that were defined and then deleted prior to the upgrade. Below is the data for the 2 suspect rows.
|
ID |
Iteration |
Iteration Uri |
Parent Iteration |
Iteration Path |
Forwarding ID |
Project Uri |
__Parent_ID |
__LastUpdated |
__DimensionMemberActive |
|
8 |
Deleted Nodes |
Deleted Nodes |
|
\Deleted Nodes |
|
|
8 |
3/26/2006 20:18 |
TRUE |
|
9 |
23abdf5a-480e-489e-88f5-9eb429178d6b |
vstfs:///Classification/Node/23abdf5a-480e-489e-88f5-9eb429178d6b |
Deleted Nodes |
\Deleted Nodes\23abdf5a-480e-489e-88f5-9eb429178d6b |
vstfs:///Classification/Node/0a07f99c-c4aa-454e-9300-128b09953144 |
NULL |
8 |
3/26/2006 20:18 |
TRUE |
(scroll to the right to see all row details)
I deleted these two rows and I was able to manually process the Iteration dimension. So looks like the trick might be to somehow delete all rows in the related tables responsible for the two data rows showing up in Warehouse.dbo.Iteration table. Yuck. A quick scan shows Iteration data in TfsIntegration and TfsWorkItemTracking. Humm. Maybe we can undelete the problem Iterations....
Any assistance would be greatly appreciated.
-Nathan
Nathan |