Fail during validating database state on FILESTREAM table

finiteresourcefiniteresource Posts: 3
edited August 21, 2015 7:28AM in SQL CI 2
It appears that when I try to run a Red Gate SQL CI Build step in TeamCity against my database which includes FILESTREAM columns.

SQL CI seems to skip running the FILESTREAM CREATE FILEGROUP and CREATE FILE steps when validating database state. This causes the CREATE TABLE to fail because there is no FILESTREAM filegroup. If I break the connection and manually create these, I am able to execute the CREATE table.

Has anyone had success with CI on a database with FILESTREAM?

I have described the problem in more detail in this stackoverflow question


  • Hi,

    I recommend that you create a database on your server specifically for the validation step and pre-populate it with the appropriate filegroups. Then you can use it by using the /temporaryDatabaseServer and /temporaryDatabaseName command line switches. If you're using SQL authentication you'll also need /temporaryDatabaseUserName and /temporaryDatabasePassword - see here for more information.

    Software Engineer
    Redgate Software
  • Thanks @Robert - That did the trick.

    Sorry for the late reply - spam filter migration may have swallowed the notification.
Sign In or Register to comment.