Întrebare How to use CQMigrationConfigGenerator

  • 1 martie 2012 14:29
     
     

    Hello,

    I tried to use the ClearQuest Migration Config Generator in order to extract the CQ record type schema and to generate a default matching TFS WITD, as advertised in the tools shipped with the TFS Integration Tools.

    When I call ClearQuestMigrationConfigGenerator.exe from the command line, I got the following error:

    C:\Program Files (x86)\Microsoft Team Foundation Server Integration Tools>ClearQuestMigrationConfigGenerator.exe -?

    Copyright © Microsoft Corporation.  All Rights Reserved.
    This code released under the terms of the
    Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)

    {Total Errors 1} ERROR: The application is unable to handle exception: Could not load file or assembly 'Microsoft.TeamFoundation.Common, Version=9.0.0.0, Cultur
    e=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

    Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TeamFoundation.Common, Version=9.0.0.0, Culture=neutral, Public
    KeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
    File name: 'Microsoft.TeamFoundation.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
       at Microsoft.TeamFoundation.Converters.Utility.CommandLineParser.Parse(String[] args, String escape, Char separator)
       at Microsoft.TeamFoundation.Converters.WorkItemTracking.Common.ConverterMain.Main(String[] args)

    It seems that a required file is missing (Microsoft.TeamFoundation.Common).

    I have Windows 7 (x64) system, VS2008 and VS2010 installed and my TFS is 2010.

    Any ideas, how to solve this?

    Regards,
    Robert

Toate mesajele

  • 5 martie 2012 08:08
    Moderator
     
     

    Hi Robert, 

    Thanks for your post.

    According the error message: Could not load the assembly ‘Microsoft.TeamFoundation.Common, Version 9.0.0.0 …’, it seems that to execute that .exe program, it need to load the Microsoft.TeamFoundation.Common(Version 9.0.0.0) dll from your machine, please ensure you installed the Team Explorer 2008 on your machine. And I suggest you install the below components in mentioned order:

             Install Visual Studio 2008

             Install Team Explorer 2008

             Install Visual Studio 2008 SP1(This will upgrade both VS2008 and Team Explorer 2008 to SP1)

             Install VSTS 2008 Forward Compatibility Update


    John Qiao [MSFT]
    MSDN Community Support | Feedback to us


  • 6 martie 2012 10:45
     
     

    Hi John,

    Thanks for your answer.

    I installed Team Explorer 2008 on top of the VS2008 SP1, because we started to use TFS just a few weeks ago. After installing Team Explorer, I followed your recommended order but could not find the file with this particular version 9.0.0.0. I found two files named Microsoft.TeamFoundation.Common.dll, both with version 9.0.30729.4413.

  • 7 martie 2012 02:29
    Moderator
     
     

    Hi Robert, 

    Thanks for your reply.

    After installed Team Explorer 2008,  did you reinstall the VS 2008 SP1? If not, please reinstall the VS 2008 SP1, then try to execute that .exe program again. 

    Please refer to the similar issue in this feedback: http://connect.microsoft.com/VisualStudio/feedback/details/356083/could-not-load-type-microsoft-teamfoundation-workitemtracking-client-workitemtypedeniedornotexistexception#details.   


    John Qiao [MSFT]
    MSDN Community Support | Feedback to us

  • 9 martie 2012 14:21
     
     

    Hi John,

    Yes, I did reinstall the VS 2008 SP1, but no luck either.

    Actually, in the meantime I found a way to progress without that tool, so it is not urgent anymore to get it solved or not.

    Thanks and regards,

    Robert