locked
View History: "Error in the application"

    Question

  • We updated from TFS 2012 Update 3 to TFS 2013 today. When I now try to view the history of a source control folder or file using the web interface I always get "Error in the application.". The history is shown and everything seems to work.

     TFS activity log shows that a command named "DiscussionThreadsBatch.PostGetThreads" fails with an "InvalidServiceVersionException".

    Any ideas?

    Friday, October 25, 2013 5:32 PM

Answers

  • Hi,

    I am a developer on the TFS team. I am sorry for the convenience that this have caused. This is a known issue and we are working on official fix for it. In the meantime, you can execute the following script in TFS collection databases to fix the problem. You don't need to take server/team project collections offline to run it.

    IF EXISTS ( SELECT *
                FROM    sys.extended_properties
                WHERE   name = 'TFS_SERVICE_LEVEL'
                        AND value = 'Dev12.M53') 
       AND
       EXISTS ( SELECT *
                FROM    sys.extended_properties
                WHERE   name = 'TFS_DATABASE_TYPE'
                        AND value = 'Collection')
    BEGIN
        EXEC prc_SetServiceVersion 'Discussion', 6
    END

    Thanks,
    --Vladimir

    Sunday, October 27, 2013 4:25 PM
    Moderator

All replies

  • Hi,

    I am a developer on the TFS team. I am sorry for the convenience that this have caused. This is a known issue and we are working on official fix for it. In the meantime, you can execute the following script in TFS collection databases to fix the problem. You don't need to take server/team project collections offline to run it.

    IF EXISTS ( SELECT *
                FROM    sys.extended_properties
                WHERE   name = 'TFS_SERVICE_LEVEL'
                        AND value = 'Dev12.M53') 
       AND
       EXISTS ( SELECT *
                FROM    sys.extended_properties
                WHERE   name = 'TFS_DATABASE_TYPE'
                        AND value = 'Collection')
    BEGIN
        EXEC prc_SetServiceVersion 'Discussion', 6
    END

    Thanks,
    --Vladimir

    Sunday, October 27, 2013 4:25 PM
    Moderator
  • That worked. Thank you very much for the quick response. 
    Monday, October 28, 2013 9:14 AM
  • We've also now released an updated installer with the fix so that new upgrades won't need to run the SQL Script: http://blogs.msdn.com/b/buckh/archive/2013/11/08/updated-team-foundation-server-2013-download-addressing-web-and-installation-path-issues.aspx.

    Sorry for the trouble.


    http://blogs.msdn.com/buckh

    Sunday, November 10, 2013 11:57 PM
    Moderator