Thursday, March 8, 2012

Redirect TFS 2010 Reports


A few days ago I has to move the databases from TFS 2010and Sharepoint, It was complicated but I did it. But I get a small problem, and was that when I try to view the reports in the Sharepoint web site it was redirected to the old RS Server.

Looking in Internet I found this  Post to solve the problem, and the cause was because Sharepoint save a cache for the redirect address, so I need to clear the cache and the problem was solved.
In the post said that the way to clear the cache was use the following address in the explorer

http:////_layouts/TfsRedirect.aspx?tf:Type=ReportList&tf:ClearCache=1&tf:Test=1



Where is the address for the Sharepoint that we use, is the collection for the TFS used for our site and is the name of the project. With this, Sharepoint clear the cache and the Reports are redirected to the correct server in the Sharepoint site for our TFS Project. You need to do this for all projects created in the TFS.

Regards,