Поделиться через


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);

Comments

  • Anonymous
    August 09, 2007
    The comment has been removed
  • Anonymous
    August 09, 2007
    Thanks Jeff!  That happened when I copy/pasted into the blog editor.