Welcome to MSDN Blogs Sign in | Join | Help

Fix for Reports showing up properly on WSS 2.0 for Team Foundation Server 2008 Beta 2

If you are experiencing problems with viewing TFS reports on a WSS 2.0 server and the message is describing a problem about reading the registry key "HKLM\Software\Microsoft\Visual Studio\9.0\TeamFoundation\ReportServer\80\_layouts", then the fix below should address your problem.

You will need to update tfsredirect.aspx on your WSS 2.0 machine.  This file is installed to %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\LAYOUTS

This line:

   string[] uriPathParts = Request.RawUrl.Split(new char[] { '/','\\' }, 2, StringSplitOptions.RemoveEmptyEntries);

Must be replaced with these two lines:

   string uriBasis = Request.Params["HTTP_VTI_SCRIPT_NAME"] ?? Request.RawUrl;

   string[] uriPathParts = uriBasis.Split(new char[] { '/','\\' }, 2, StringSplitOptions.RemoveEmptyEntries);

Published Tuesday, July 31, 2007 2:34 PM by hippietim

Comments

Thursday, August 09, 2007 9:38 AM by Jeff Lynch

# re: Fix for Reports showing up properly on WSS 2.0 for Team Foundation Server 2008 Beta 2

Your second line should read:

string[] uriPathParts = uriBasis.Split(new char[] { '/','\\' }, 2, StringSplitOptions.RemoveEmptyEntries);

Thursday, August 09, 2007 9:46 AM by hippietim

# re: Fix for Reports showing up properly on WSS 2.0 for Team Foundation Server 2008 Beta 2

Thanks Jeff!  That happened when I copy/pasted into the blog editor.

Anonymous comments are disabled
 
Page view tracker