index > Team Foundation Server - Reporting > How to recreate the TFSWarehouse Database ?

How to recreate the TFSWarehouse Database ?


Hello Folks,

is there a way to manually recreate the TFSWarehouse Database in SQL Server (not the Warehouse- Cube) ?

A the strange problem:

We have a custom Field in Work Item Types.
We have changed this Field to be reportable.

When the TFSWarehouse gets processed from TFSScheduler, only changed and new WorkItems are processed and get updated in the Database. For existing workitems the value for our custom field still remains null in the TFSWarehouse.

How can I force a complete update of all workitems with my custom field values to get into the TFSWarehouse Database ?

Hope you can help,

greets, Helmut




Helmut Obertanner [MVP - Visual Developer VSTO]
Helmut Obertanner

Hello,

fixed this proplem by using the -rebuild switch by the tool tfswarehouse.exe

%ProgramFiles%\Microsoft Visual Studio 2005 Team Foundation Server\Tools\setupwarehouse.exe -rebuild -s ServerName -d TfsWarehouse -c Warehouseschema.xml -a Domain\TFSService -ra Domain\TFSReports

This will rebuild the complete Warehouse.
After this step I had to go to the warehousecontroller, reinitialize and invoke the run commend.
That did the trick.

see: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=688945&SiteID=1

Hope this helps someone else too.

Greets, Helmut




Helmut Obertanner [MVP - Visual Developer VSTO]
Helmut Obertanner

You can also bulk edit the older work items using Excel (or the TFS object model).

It is recommended that SetupWarehouse.exe should only be used for disaster recovery.

Nick Ericson - MSFT

Hello Nick,

thank you for your answer.

We have now another problem with the TFSWarehouse update. The update process never ends and the status on http://localhost:8080/warehouse/v1.0/warehousecontroller.asmx?op=GetWarehouseStatus stays RunningAdapters until we recycle the TFS AppPool.

Helmut Obertanner
reply 4

You can use google to search for other answers

 

More Articles

Cross Project Reports
Recreate Reports
Printing Reports from within Team Explorer
Why there is a fork icon in my report folder?
Can't find links between Work item and test in the TfsWarehouse
Failed to generate reports
Error in Customising a existing report
Reuse query definition in reports ?
Creating an OLTP datasource for writing reports
Work Item Details Report
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Error when trying to display a report
Report Checked Out Items and Changed Items
Turning a Work Item Query Into a Report
Adding custom parameters in Work Item re…
Unable to access any of the reports.
Daily wise resource allocation in MS Pro…
Scenarios With No Tasks
Reports not accessible through project p…
How can I create Dynamic Query between t…
How do I fix the TfsOlapReportDS user pr…
How to recreate the TFSWarehouse Databas…
Error accessing http://(server)/Reports …
Description of WorkItems
Filter on #current work items
Setting default parameter for project in…

Hot Articles

Reports not accessible through project p…
How do I set default value for a dimensi…
Render and Create PDF File directly from…
Did report updating frequency change sin…
Reports against Version Control
Where are the Models?
Passing new parameters to Microsoft VB.N…
urgent: Connection Problems
Source Control Reporting
Churn report
Unable to generate a model from the OLAP…
Create Report Problems
Only Team Sytem cube is visible
Filter on #current work items
Getting TFS Reports working again after …

Recommend Articles

msmdsrv using 50% cpu for minutes
is there any where, where i can get how …
Warehouse error question?
reports not showing up on home page
how to install report designer?
Another TFS Warehouse problem...
The synchronization issue of the reporting
Datawarehouse, how can I do?
Report server error
Trouble with VSTS / Sharepoint remoting …
How "State Change Count" Measu…
TFS Analysys Services service stops all …
error uploading reports
Only one CUBE in Team Foundation Server
Related WOrk Items With Code files?