StrataFrame Forum

Deployment Errors when changing database name

http://forum.strataframe.net/Topic5336.aspx

By Tim Dol - 12/15/2006

There are errors generated in the deployment log file when you use the change database name feature, however it does appear that everything is updated correctly.

Log file is attached.

By Trent L. Taylor - 12/15/2006

It looks like you modifed an existing project before the database rename was added.  If you'll notice, the error indicates that the MDF file could not be overwritten:

AVSQLDSN.mdf

Make sure that the data file in all of your FileGroups begin with the $DbName$ so that the MDF changes with the database renames.

If you are going to support multiple instances on the same server, then you MUST have dynamic file group names as well.