What are the challenges you face when working across database platforms? Take the survey

SSDT Project synchronization

chadhattabaughchadhattabaugh Posts: 19
I am trying to use SQLCompare to synchronize a database project for a very large database (over 10K scripts) When I try to load the project in Visual Studio after the compare I receive the following error: " : error : Length cannot be less than zero.
Parameter name: length"

I am running VS2013 V. 12.0.30110.00
and SSDT V 12.0.40403.0


  • Options
    Eddie DEddie D Posts: 1,792 Rose Gold 5
    Thank you for your forum post.

    Are you able to reply with the complete details of the exception?

    I suspect that deployment phase of SQL Compare has modified a path to an object or folder that your Visual Studio project cannot find. Can you please explain in some more detail how you use SQL Compare?

    Many Thanks
    Eddie Davis
    Senior Product Support Engineer
    Redgate Software Ltd
    Email: support@red-gate.com
  • Options
    I am trying to populate a new SSDT project with objects using SQL Compare. I compare my source to the project and apply changes to the project. creates the objects, and adds them to the .sqlproj file, but when I try to open the project I get the following message:

    error : Length cannot be less than zero. Parameter name: length in the output window of SSDT

    I have screen shots but there is no way to add them to the forum

    Incidently, this is not an issue going the other way. I can compare an existing project to a database and push changes.

Sign In or Register to comment.