SQL Source Control 5

Failed to generate deployment script

When trying to Get Latest on a database and you see the error below (after a Smart Assembly window pops up), it means that there is a problem with the last migration script that was committed to the repository. 

Workaround

To fix this issue:

  1. Delete the last migration script in the repository. 
  2. Follow the steps to create historical migration scripts.

If you are still having problems contact Redgate support.

 

This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved


Didn't find what you were looking for?