Settings File for VSSConverter


There is some problem with VSSConverter documentation at http://msdn2.microsoft.com/en-us/library/ms181247. It has some bogus <i> </i> inserted in all XML snippets. For details on how to migrate see Akash's blog.


 


If you are just stuck on settings file you can use following settings file.

<?xml version="1.0" encoding="utf-8" ?>
 <SourceControlConverter>
 <ConverterSpecificSetting>
            <Source name="VSS">
                  <VSSDatabase name="e:\myrepository"></VSSDatabase>


                  < UserMap name="e:\Migrate\Usermap.xml" />



<!-- uncomment it if you want to specify a SQL server by default we use SQL express installed on you system -->
<!--    <SQL Server="my sql server" /> -->
            </Source>



 <ProjectMap>
  <Project Source="$/my folder1" Destination="$/my Team Project/my folder1"></Project> 
<Project Source="$/my folder2" Destination="$/my Team Project/my folder2"></Project>
<!-- u can add more mappings depending on number of folders you want to migrate -->
 </ProjectMap>


  </ConverterSpecificSetting>


 <Settings>
   <TeamFoundationServer name="My TFS name" port="8080" protocol="http"></TeamFoundationServer>
<!-- assuming your server is set for http protocol and port is 8080 change this according to your install -->

<!-- you can specify the name of output report file here. it should be an xml-->

<Output file="VSSMigrationReport.xml" />
  </Settings>
</SourceControlConverter>

Comments (4)

  1. Anonymous says:

    Hi ankur,

           While mgrating vss to vsts I got tf60022 error: unable to connect to microsoft sql server.  I installed sql express later and not with VS. Do i need to mention the complete path of the server . Also i have all the sql services are running.

    thanks in advance,

    bharath

    mail me at bharath@apppoint.com

  2. Anonymous says:

    Cool – Thanks dude yr blog post really helped me out!

  3. MSDN Archive says:

    Thanks JEelz.

    And here is the reply i gave to Bharath for got to paste it here.

    Hi Bharat,

    If you have SQL Express installed you don’t need to specify anything in the settings file. We use SQL Express by default. Its same as specifying

    <SQL Server=".SQLExpress" />

    If you have named instance of SQL (Express) you may need to specify that like

    <SQL Server="<ServerName>[<InstanceName>]" />

    <ServerName> = Name of the server hosting SQL Service (use "." for local machine).

    <InstanceName> = Name of the instance you have used. This is optional and to be used only if you are using SQL Express or have explicitly given an Instance name.

    Thanks,

    Ankur

Skip to main content