Partager via


Settings File for VSSConverter

There is some problem with VSSConverter documentation at https://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

  • Anonymous
    May 19, 2006
    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
  • Anonymous
    May 29, 2006
    Cool - Thanks dude yr blog post really helped me out!
  • Anonymous
    May 29, 2006
    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
  • Anonymous
    February 26, 2007
    PingBack from http://www.grokdev.com/Blogs/Scott/PermaLink,guid,ed6c8488-fae2-42be-848e-eabb760e8bf7.aspx