A deployment problem with the GDR release for Database Pro and MSS2008<p align=left><font face=Arial size=2></font> </p> <p>I am having problems getting my project to deply.  When I click deploy the following is all that happens</p> <p> </p> <p align=left>t------ Build started: Project: DBStorefront, Configuration: Localhost Any CPU ------<br>Verifying project state.<br>Finished verifying project state.<br>  DBStorefront -&gt; C:\Amphire.Data\DBStorefront\Localhost\DBStorefront.dbschema<br>------ Deploy started: Project: DBStorefront, Configuration: Localhost Any CPU ------<br>    Deployment script DBStorefront.sql generated<br>========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========<br>========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========</p> <p align=left> </p> <p align=left>Why isnt it deploying to the database?  What can I look at to trouble shoot this?</p>© 2009 Microsoft Corporation. All rights reserved.Sat, 12 Sep 2009 20:17:53 Z6e3db7e0-55e1-414f-8a8a-4c733d2f3649http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#6e3db7e0-55e1-414f-8a8a-4c733d2f3649http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#6e3db7e0-55e1-414f-8a8a-4c733d2f3649bgoombahttp://social.msdn.microsoft.com/Profile/en-US/?user=bgoombaA deployment problem with the GDR release for Database Pro and MSS2008<p align=left><font face=Arial size=2></font> </p> <p>I am having problems getting my project to deply.  When I click deploy the following is all that happens</p> <p> </p> <p align=left>t------ Build started: Project: DBStorefront, Configuration: Localhost Any CPU ------<br>Verifying project state.<br>Finished verifying project state.<br>  DBStorefront -&gt; C:\Amphire.Data\DBStorefront\Localhost\DBStorefront.dbschema<br>------ Deploy started: Project: DBStorefront, Configuration: Localhost Any CPU ------<br>    Deployment script DBStorefront.sql generated<br>========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========<br>========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========</p> <p align=left> </p> <p align=left>Why isnt it deploying to the database?  What can I look at to trouble shoot this?</p>Fri, 06 Jun 2008 20:43:07 Z2008-06-12T13:33:07Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#587f4755-2bab-4cd9-b44e-10c79a4f3967http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#587f4755-2bab-4cd9-b44e-10c79a4f3967Genevieve Orchardhttp://social.msdn.microsoft.com/Profile/en-US/?user=Genevieve%20OrchardA deployment problem with the GDR release for Database Pro and MSS2008<p>If you right-click on your project in Solution Explorer, select Properties, and then click on the Deploy tab, what does it show in the &quot;Deploy action&quot; drop-down? It sounds like it is set to 'Create a deployment script' and not 'Create a deployment script and deploy to database'.</p> <p align=left> </p> <p align=left>Hope that helps.</p>Mon, 09 Jun 2008 16:39:31 Z2008-06-09T16:39:31Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#ec8ce5d4-a7ca-42f3-97b4-93593d043bf7http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#ec8ce5d4-a7ca-42f3-97b4-93593d043bf7bgoombahttp://social.msdn.microsoft.com/Profile/en-US/?user=bgoombaA deployment problem with the GDR release for Database Pro and MSS2008<p>Its set to 'Create a deployment script and deploy to database'</p> <p align=left> </p> <p align=left>I also have the 'Always re-create Database' check selected in the DeploymentConfiguration.deploymentconfig.</p> <p align=left> </p> <p align=left>The only non-standard thing I am doing is H ave created 3 different SqlCommandVariables.sqlcmdvars files.  1 For each configuration I have defined.</p> <p align=left> </p> <p align=left>I deleted the Debug and Release configurations and added 3 new ones: Localhost,Development and QA.  I made sure the 3 new configurations are defined in the solution file and the project files.</p> <p align=left><font face=Arial size=2></font> </p>Mon, 09 Jun 2008 16:44:33 Z2008-06-09T16:44:33Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#78d960f6-9b51-4a51-987b-ad76a9374103http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#78d960f6-9b51-4a51-987b-ad76a9374103Grant Fritcheyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Grant%20FritcheyA deployment problem with the GDR release for Database Pro and MSS2008<p>I'm getting the same problem with roughly the same type of configuration. It is absolutely set to &quot;Create a deployment script (sql) and deploy to database.&quot; It just wouldn't deploy to the server, but it wouldn't error out either.</p> <p align=left> </p> <p align=left>I switched to the command line of msbuild and I'm getting a warning: &quot;Deploy warning TSD00258: The project and target databases have different collation settings, deployment errors might result.</p> <p align=left> </p> <p align=left>&quot;Treat warnings as errors&quot; is not checked, so I don't know why a warning would halt deployment.</p> <p align=left> </p> <p align=left>I put 00258 into the &quot;Suppress Warnings:&quot; box to see what will happen. It didn't make a bit of difference. I've also changed the collation and I've deleted the database from the server I'm trying to deploy to. Nothing. </p> <p align=left> </p> <p align=left>No errors. Just this warning. No deployments.</p> <p align=left><font face=Arial size=2></font> </p>Tue, 10 Jun 2008 17:29:03 Z2008-06-10T17:29:03Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#f44aa4e0-57b1-4d07-826c-313a578f563dhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#f44aa4e0-57b1-4d07-826c-313a578f563dJamie Laflen MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Jamie%20Laflen%20MSFTA deployment problem with the GDR release for Database Pro and MSS2008<font face=Arial size=2><font face=Verdana> <p class=MsoNormal style="margin:0in 0in 0pt">Yes, something does not sound right here.<span style="">  </span>In most cases, if a connection string is not defined we will generate an error message saying that a valid connection string was not specified.</p> <p class=MsoNormal style="margin:0in 0in 0pt"> </p> <p class=MsoNormal style="margin:0in 0in 0pt">Could you post the contents of your *.deploymanifest file?<span style="">  </span>When a build is performed we take a snap-shot of your current configuration and place it in this file.<span style="">  </span>For instance, my deploymanifest looks like this for a simple project:</p> <p class=MsoNormal style="margin:0in 0in 0pt"> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'">&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">Project</span><span style="font-size:8pt;color:blue;font-family:'Courier New'"> </span><span style="font-size:8pt;color:red;font-family:'Courier New'">DefaultTargets</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">=</span><span style="font-size:8pt;font-family:'Courier New'">&quot;<span style="color:blue">DspDeploy</span>&quot;<span style="color:blue"> </span><span style="color:red">ToolsVersion</span><span style="color:blue">=</span>&quot;<span style="color:blue">3.5</span>&quot;<span style="color:blue"> </span><span style="color:red">xmlns</span><span style="color:blue">=</span>&quot;<span style="color:blue">http://schemas.microsoft.com/developer/msbuild/2003</span>&quot;<span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">  </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">PropertyGroup</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">    </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">TargetConnectionString</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span><span style="font-size:8pt;font-family:'Courier New'">Data Source=(local)\sql2005;Integrated Security=True;Pooling=False<span style="color:blue">&lt;/</span><span style="color:#a31515">TargetConnectionString</span><span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">    </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">TargetDatabase</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span><span style="font-size:8pt;font-family:'Courier New'">Database1<span style="color:blue">&lt;/</span><span style="color:#a31515">TargetDatabase</span><span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">    </span><span style="background:yellow">&lt;</span></span><span style="font-size:8pt;background:yellow;color:#a31515;font-family:'Courier New'">DeployToDatabase</span><span style="font-size:8pt;background:yellow;color:blue;font-family:'Courier New'">&gt;</span><span style="font-size:8pt;background:yellow;font-family:'Courier New'">True<span style="color:blue">&lt;/</span><span style="color:#a31515">DeployToDatabase</span><span style="color:blue">&gt;</span></span><span style="font-size:8pt;color:blue;font-family:'Courier New'"></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">    </span><span style="background:yellow">&lt;</span></span><span style="font-size:8pt;background:yellow;color:#a31515;font-family:'Courier New'">DeployToScript</span><span style="font-size:8pt;background:yellow;color:blue;font-family:'Courier New'">&gt;</span><span style="font-size:8pt;background:yellow;font-family:'Courier New'">True<span style="color:blue">&lt;/</span><span style="color:#a31515">DeployToScript</span><span style="color:blue">&gt;</span></span><span style="font-size:8pt;color:blue;font-family:'Courier New'"></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">    </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">OutputPath</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span><span style="font-size:8pt;font-family:'Courier New'">.<span style="color:blue">&lt;/</span><span style="color:#a31515">OutputPath</span><span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">    </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">DeployScriptFileName</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span><span style="font-size:8pt;font-family:'Courier New'">Database1.sql<span style="color:blue">&lt;/</span><span style="color:#a31515">DeployScriptFileName</span><span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">    </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">DeploymentConfigurationFile</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span><span style="font-size:8pt;font-family:'Courier New'">DeploymentConfiguration.deploymentconfig<span style="color:blue">&lt;/</span><span style="color:#a31515">DeploymentConfigurationFile</span><span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">  </span>&lt;/</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">PropertyGroup</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">  </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">ItemGroup</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">    </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">DeploymentExtensionConfiguration</span><span style="font-size:8pt;color:blue;font-family:'Courier New'"> </span><span style="font-size:8pt;color:red;font-family:'Courier New'">Include</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">=</span><span style="font-size:8pt;font-family:'Courier New'">&quot;<span style="color:blue">Script.PostDeployment.sql</span>&quot;<span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">      </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">__PostdeploymentMetadata</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">      </span>&lt;/</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">__PostdeploymentMetadata</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">    </span>&lt;/</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">DeploymentExtensionConfiguration</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">    </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">DeploymentExtensionConfiguration</span><span style="font-size:8pt;color:blue;font-family:'Courier New'"> </span><span style="font-size:8pt;color:red;font-family:'Courier New'">Include</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">=</span><span style="font-size:8pt;font-family:'Courier New'">&quot;<span style="color:blue">Script.PreDeployment.sql</span>&quot;<span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">      </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">__PredeploymentMetadata</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">      </span>&lt;/</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">__PredeploymentMetadata</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">    </span>&lt;/</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">DeploymentExtensionConfiguration</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">    </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">SourceModel</span><span style="font-size:8pt;color:blue;font-family:'Courier New'"> </span><span style="font-size:8pt;color:red;font-family:'Courier New'">Include</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">=</span><span style="font-size:8pt;font-family:'Courier New'">&quot;<span style="color:blue">Database1.dbschema</span>&quot;<span style="color:blue"> /&gt;</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">  </span>&lt;/</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">ItemGroup</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">  </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">Import</span><span style="font-size:8pt;color:blue;font-family:'Courier New'"> </span><span style="font-size:8pt;color:red;font-family:'Courier New'">Project</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">=</span><span style="font-size:8pt;font-family:'Courier New'">&quot;<span style="color:blue">C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\TeamData\Microsoft.Data.Schema.SqlTasks.targets</span>&quot;<span style="color:blue"> /&gt;</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">  </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">PropertyGroup</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">    </span>&lt;</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">SqlCommandVariablesFile</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span><span style="font-size:8pt;font-family:'Courier New'">SqlCommandVariables.sqlcmdvars<span style="color:blue">&lt;/</span><span style="color:#a31515">SqlCommandVariablesFile</span><span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'"><span style="">  </span>&lt;/</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">PropertyGroup</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:blue;font-family:'Courier New'">&lt;/</span><span style="font-size:8pt;color:#a31515;font-family:'Courier New'">Project</span><span style="font-size:8pt;color:blue;font-family:'Courier New'">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"> </p> <p class=MsoNormal style="margin:0in 0in 0pt">The two high-lighted options above control the actions taken during deployment.<span style="">  </span>Does deployment work correctly if you just try deploying a project with a “Standard” debug or release configuration?</p> <p class=MsoNormal style="margin:0in 0in 0pt"></font></p> <p align=left></font> </p>Tue, 10 Jun 2008 22:54:15 Z2008-06-10T22:54:15Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#f0f09630-0084-4907-95ca-834a1707ea89http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#f0f09630-0084-4907-95ca-834a1707ea89Grant Fritcheyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Grant%20FritcheyA deployment problem with the GDR release for Database Pro and MSS2008<p align=left>I created a new project and reimported the database objects for the database was I working on before. This time I didn't create any custom configurations. I just set the Target Connection to a server. This time, I got farther. The deploy started, but failed multiple times because some of the foreign keys that I had just reverse engineered from an existing database (built through the 2008 version btw) had their columns arranged differently than the primary keys with which they were associated. Once I cleaned those up, the deploy succeeded.</p> <p align=left> </p> <p align=left>I'm going to go on and begin creating custom configurations now to see if I can figure out what I did wrong the last time. </p>Wed, 11 Jun 2008 18:36:05 Z2008-06-11T18:36:05Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#448dbf57-a5e5-4f69-9cad-f9629b04d3c9http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#448dbf57-a5e5-4f69-9cad-f9629b04d3c9Grant Fritcheyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Grant%20FritcheyA deployment problem with the GDR release for Database Pro and MSS2008<p align=left><font face=Arial size=2>I don't know what went wrong yesterday, but I'm just about back to where I was. I've created three custom configurations and I've got it deploying to more than one server. Thanks for your help.</font></p> <p align=left> </p> <p align=left>One question I still have. Where are the connection strings stored? If I check this project into source control and the database developer next to me decides to deploy it, will he see the same server connections that I created for the configurations?</p>Wed, 11 Jun 2008 20:32:18 Z2008-06-11T20:32:18Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#92da611e-a921-4274-9fef-e22595e79b97http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#92da611e-a921-4274-9fef-e22595e79b97bgoombahttp://social.msdn.microsoft.com/Profile/en-US/?user=bgoombaA deployment problem with the GDR release for Database Pro and MSS2008<p><font face=Arial size=2>I did some investigation and this is what I found.</font></p> <p align=left> </p> <p align=left>In the dbproj file, the DeployToDatabase tag was dorked up.  It looked like the following</p> <p align=left> </p> <p align=left>&lt;DeployToDatabaseAddToServerExplorer&gt;False&lt;/DeployToDatabaseAddToServerExplorer&gt;</p> <p align=left> </p> <p align=left>I have no idea how it got messed up.  The deploy worked when I changed the project script and removed</p> <p align=left>the &lt;DeployToDatabaseAddToServerExplorer&gt;False&lt;/DeployToDatabaseAddToServerExplorer&gt;</p> <p align=left>and replaced it with a</p> <p align=left>&lt;DeployToDatabase&gt;False&lt;/DeployToDatabase&gt;</p>Wed, 11 Jun 2008 21:29:42 Z2008-06-11T21:29:42Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#b24300c2-0f27-43a0-9118-693105ed4d4dhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#b24300c2-0f27-43a0-9118-693105ed4d4dJamie Laflen MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Jamie%20Laflen%20MSFTA deployment problem with the GDR release for Database Pro and MSS2008<p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana>You have a choice where to store the connection strings.<span style="">  </span>If you look at the deployment configuration page there is a “Configure deployment settings” drop-down.<span style="">  </span>By default it is set to “My project settings” which means the connection string is stored in the .dbproj file.<span style="">  </span>If you change this drop-down to be “isolated environment” we should write the connection string out to the .user file.</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana>The idea (similar to previous versions) is that the .user file is your isolated developer sandbox whereas the project is your team settings.<span style="">  </span>There was confusion about this in previous versions and this is our attempt to make the two different scenarios cleaner.</font></p>Thu, 12 Jun 2008 00:15:08 Z2008-06-12T00:15:08Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#baa22350-d069-4984-aec3-40da9725b1echttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#baa22350-d069-4984-aec3-40da9725b1ecJamie Laflen MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Jamie%20Laflen%20MSFTA deployment problem with the GDR release for Database Pro and MSS2008<p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana>Can you reproduce this deployment problem?<span style="">  </span>If so, it would be great if we could get a snapshot of the source/target .dbschema files to reproduced/fix the problem.</font></p> <p align=left><font face=Arial size=2></font> </p>Thu, 12 Jun 2008 00:17:15 Z2008-06-12T00:17:15Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#361627c7-8899-4362-b018-e379d96ff7afhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#361627c7-8899-4362-b018-e379d96ff7afbgoombahttp://social.msdn.microsoft.com/Profile/en-US/?user=bgoombaA deployment problem with the GDR release for Database Pro and MSS2008<p align=left><font face=Arial size=2>Looks like my problem has nothing to do with my database schema.</font></p> <p align=left> </p> <p align=left>I have no idea how my project files were messed up.  I am working now so all is good.  I played with my project for a while and had trouble re-created my problem.  Go figure.  If I get more time I will try to go through what I did a step at a time to see if I can re-create my problems.</p>Thu, 12 Jun 2008 13:32:52 Z2008-06-12T13:33:07Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#0ca462fd-b117-438c-8d8d-5b05b6953697http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#0ca462fd-b117-438c-8d8d-5b05b6953697Grant Fritcheyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Grant%20FritcheyA deployment problem with the GDR release for Database Pro and MSS2008<p align=left><font face=Arial size=2>Excellent. I just tested it all by setting up a build and checking the project into TFS. I then deleted the entire project off my desktop then retrieved it from TFS. All the settings are still there. YEE HA!</font></p> <p align=left> </p> <p align=left>This sure beats checking in the .user file and then checking it out &amp; overwriting the local one every time I wanted to work on a project.</p> <p align=left> </p> <p align=left>Thank you very much and please pass on to the team that they did a good job. This really makes a difference for us.</p> <p align=left> </p> <p align=left>Now, when is it coming out?</p>Thu, 12 Jun 2008 18:18:46 Z2008-06-12T18:18:46Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#1ca9e64b-459c-44e5-a71e-0843a614fb8chttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#1ca9e64b-459c-44e5-a71e-0843a614fb8cJamie Laflen MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Jamie%20Laflen%20MSFTA deployment problem with the GDR release for Database Pro and MSS2008<font face=Arial size=2> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana>Cool, glad to hear it is working well for you!</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana>The GDR delivers support for offline development targeting Katmai databases.<span style="">  </span>Right now, we are estimating delivering the GDR ~8 weeks after Katmai is released.</font></font></p>Sat, 14 Jun 2008 16:53:15 Z2008-06-14T16:53:15Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#81f0cc15-3146-41e5-a7df-e18c4a2c0543http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#81f0cc15-3146-41e5-a7df-e18c4a2c0543DocWabakihttp://social.msdn.microsoft.com/Profile/en-US/?user=DocWabakiA deployment problem with the GDR release for Database Pro and MSS2008<p>I am actually deploying to SQL Server 2005 and I'm getting this:</p> <p>Warning TSD00258: The project and target databases have different collation settings<br/><br/>I'm intentionally generating the script only because we just upgraded.  However, why do I get this warning when I deploy despite the fact that both DB and project are set to this collation:<br/>SQL_Latin1_General_CP1_CI_AS</p><hr class="sig">The DoctorSat, 12 Sep 2009 19:51:47 Z2009-09-12T19:51:47Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#c7687630-66ac-4460-8ebd-f965ae4d1b81http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/6e3db7e0-55e1-414f-8a8a-4c733d2f3649#c7687630-66ac-4460-8ebd-f965ae4d1b81DocWabakihttp://social.msdn.microsoft.com/Profile/en-US/?user=DocWabakiA deployment problem with the GDR release for Database Pro and MSS2008Never mind, I figured it out.  I had a typo in the target DB name.  You will get this warning if deploying to a new DB.  It's kind of silly, but not inaccurate since a non-existent DB would have no collation setting.<hr class="sig">The DoctorSat, 12 Sep 2009 20:17:53 Z2009-09-12T20:17:53Z