<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xml:base="http://www.red-gate.com/MessageBoard/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Red Gate forums: Deployment Manager</title>
 <link>http://www.red-gate.com/MessageBoard/</link>
 <description>Product Support and Discussion</description>
 <language>en</language>
 <copyright>Copyright Red Gate Software Ltd</copyright>
 <managingEditor>internalsupport@red-gate.com</managingEditor>
 <webMaster>internalsupport@red-gate.com</webMaster>
 <docs>http://blogs.law.harvard.edu/tech/rss</docs>
 <ttl>60</ttl>
 <lastBuildDate>Thu, 23 May 2013 07:19:20 GMT</lastBuildDate>
 <pubDate>Thu, 23 May 2013 07:19:20 GMT</pubDate>
 <image>
  <url>http://www.red-gate.com/messageboard/templates/subRed/images/logo_phpBB.gif</url>
  <title>Red Gate forums: Deployment Manager</title>
  <link>http://www.red-gate.com/MessageBoard/</link>
 </image>
 <item>
  <title>RE: NuGet Packaging multiple web.config transformations</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62091#62091</link>
  <description>Ok i've found!  
&lt;br /&gt;

&lt;br /&gt;
I just had to include all config transformation files in the .nuspec file and it worked!</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17225</comments>
  <dc:creator>fredendrix</dc:creator>
  <pubDate>Wed, 22 May 2013 15:53:10 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62091#62091</guid>
 </item>
 <item>
  <title>NuGet Packaging multiple web.config transformations</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62090#62090</link>
  <description>Hi!
&lt;br /&gt;

&lt;br /&gt;
Using TeamCity for build process and packaging, I don't know how to package (NuGet) all web.config transformation files, since the build need a specific system.Configuration specification.
&lt;br /&gt;

&lt;br /&gt;
So, if I set the variable to 'Dev', the NuGet Pack runner only include the Web.Dev.config file.
&lt;br /&gt;

&lt;br /&gt;
Then, DM cannot deploy correctly on other environments (ex.: 'Fonc') since there's no Web.Fonc.config in the package.
&lt;br /&gt;

&lt;br /&gt;
Seems that something is missing in TeamCity configurations
&lt;br /&gt;

&lt;br /&gt;
Thanks for help!!</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17225</comments>
  <dc:creator>fredendrix</dc:creator>
  <pubDate>Wed, 22 May 2013 15:24:39 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62090#62090</guid>
 </item>
 <item>
  <title>Renamed table columns cause build failure?</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62084#62084</link>
  <description>We use your TeamCity plugin (v. 1.0.0.1064) to package our database changes in a TeamCity build project.
&lt;br /&gt;

&lt;br /&gt;
This usually works like a charm, but today we ran into trouble and need some help in getting back on track.
&lt;br /&gt;

&lt;br /&gt;
The below error message indicates that the problem has to do with a column that we renamed today:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;[14:41:36][Generating 0.155 upgrade script] SQL Compare Command Line V10.3.8.406
&lt;br /&gt;
[14:41:36][Generating 0.155 upgrade script] ==============================================================================
&lt;br /&gt;
[14:41:36][Generating 0.155 upgrade script] Copyright ¸ Red Gate Software Ltd 1999-2012
&lt;br /&gt;
[14:41:36][Generating 0.155 upgrade script]
&lt;br /&gt;
[14:41:37][Generating 0.155 upgrade script] Registering data sources
&lt;br /&gt;
[14:41:51][Generating 0.155 upgrade script] Creating mappings
&lt;br /&gt;
[14:41:51][Generating 0.155 upgrade script] Comparing
&lt;br /&gt;
[14:41:51][Generating 0.155 upgrade script]
&lt;br /&gt;
[14:41:51][Generating 0.155 upgrade script] Applying Command Line Items
&lt;br /&gt;
[14:41:51][Generating 0.155 upgrade script]
&lt;br /&gt;
[14:41:53][Generating 0.155 upgrade script] Retrieving migration scripts
&lt;br /&gt;
[14:41:53][Generating 0.155 upgrade script] Checking for identical databases
&lt;br /&gt;
[14:41:54][Generating 0.155 upgrade script] Creating SQL
&lt;br /&gt;
[14:41:54][Generating 0.155 upgrade script] Inserting static data SQL into deployment script
&lt;br /&gt;
[14:41:54][Generating 0.155 upgrade script] Saving SQL
&lt;br /&gt;
[14:41:54][Generating 0.155 upgrade script] Error: Aborting due to High severity warning: Column [IsPEBag] on table
&lt;br /&gt;
[14:41:54][Generating 0.155 upgrade script] [dbo].[TblBaseLabel] could not be matched to a column in the source table. The
&lt;br /&gt;
[14:41:54][Generating 0.155 upgrade script] data in this column will be lost.
&lt;br /&gt;
[14:41:56][Generating 0.155 upgrade script] ##teamcity[buildStatus status='FAILURE' text='Generating 0.155 upgrade script failed with exit code 61']
&lt;br /&gt;
[14:42:08]sqlCI error occurred: RedGate.SQLCI.Engine.Error: Generating 0.155 upgrade script failed with exit code 61&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Might I be doing something wrong or is there perhaps a bug in the TeamCity plugin?
&lt;br /&gt;

&lt;br /&gt;
/Mattias</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17222</comments>
  <dc:creator>swinghouse</dc:creator>
  <pubDate>Wed, 22 May 2013 14:05:30 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62084#62084</guid>
 </item>
 <item>
  <title>RE: NuGet for Visual Studio AddIn?</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62030#62030</link>
  <description>Hi Alain,
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
 I have not got any specific documentation about deploying a VS add-in, so I do not have a ready answer to this question.
&lt;br /&gt;

&lt;br /&gt;
Typically deploying an add-in is just a matter of copying the DLL somewhere, then the .addin file, then adding the path to the .addin file to the list of paths where it will search for addins.
&lt;br /&gt;

&lt;br /&gt;
The newer &amp;quot;package&amp;quot; deployment is a bit different. You can probably get the list of steps to do this from Microsoft, then create a NuGet package and an appropriate PowerShell script that does the steps.</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17158</comments>
  <dc:creator>Brian Donahue</dc:creator>
  <pubDate>Mon, 20 May 2013 10:49:55 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62030#62030</guid>
 </item>
 <item>
  <title>NuGet for Visual Studio AddIn?</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61974#61974</link>
  <description>Hello all:
&lt;br /&gt;

&lt;br /&gt;
Is using NuGet appropriate to deploy a Visual Studio AddIn?  If so, any specifics I should be aware of?
&lt;br /&gt;

&lt;br /&gt;
Thanks
&lt;br /&gt;

&lt;br /&gt;
Alain</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17158</comments>
  <dc:creator>alavoie</dc:creator>
  <pubDate>Thu, 16 May 2013 16:22:49 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61974#61974</guid>
 </item>
 <item>
  <title>RE: Setting Variables on PreDeploy.ps1 for publishing</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61792#61792</link>
  <description>Hi Chris,
&lt;br /&gt;

&lt;br /&gt;
We want to deploy an internal API WCF service and for reverse compatibility when deploying the service with breaking changes, we use the current date in publish path (eg &lt;a href=&quot;http://demoserver/2013/05/07/service.svc&quot; target=&quot;_blank&quot;&gt;http://demoserver/2013/05/07/service.svc&lt;/a&gt;).
&lt;br /&gt;

&lt;br /&gt;
So I wanted to override the publish path in PreDeploy.ps1 depending on current date.
&lt;br /&gt;

&lt;br /&gt;
I've now disabled automatic IIS app creation of deployment manager and perform the Deployment of application in Deploy.ps1 completely on my own.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Regards,
&lt;br /&gt;
Markus</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17055</comments>
  <dc:creator>mbre</dc:creator>
  <pubDate>Tue, 07 May 2013 13:14:32 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61792#61792</guid>
 </item>
 <item>
  <title>RE: Problems running powershell script on 64 bit machine</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61791#61791</link>
  <description>Hi Chris,
&lt;br /&gt;

&lt;br /&gt;
thanks - I've found a solution using the Microsoft.Web.Administration. It's not as comfortable as WebAdministration module, but I've found a way to handle it.
&lt;br /&gt;

&lt;br /&gt;
We need some customization (eg versioning of application path, net.tcp binding, application pool settings...) so I don't think that we can use the default IIS creation of deployment manager.
&lt;br /&gt;

&lt;br /&gt;
Regards,
&lt;br /&gt;
Markus</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17056</comments>
  <dc:creator>mbre</dc:creator>
  <pubDate>Tue, 07 May 2013 13:10:46 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61791#61791</guid>
 </item>
 <item>
  <title>RE: Problems running powershell script on 64 bit machine</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61789#61789</link>
  <description>Hi Markus
&lt;br /&gt;

&lt;br /&gt;
There is a previous thread about this subject here: &lt;a href=&quot;http://www.red-gate.com/MessageBoard/viewtopic.php?t=16319.&quot; target=&quot;_blank&quot;&gt;www.red-gate.com/MessageBoard/viewtopic.php?t=16319.&lt;/a&gt; 
&lt;br /&gt;

&lt;br /&gt;
Although it's not ideal, the advice was to use Microsoft.Web.Administration rather than the WebAdministration module (see &lt;a href=&quot;http://www.mattwrock.com/post/2011/01/04/Nuget-and-Powershell-WebAdministration-Module-Issues.aspx&quot; target=&quot;_blank&quot;&gt;http://www.mattwrock.com/post/2011/01/04/Nuget-and-Powershell-WebAdministration-Module-Issues.aspx&lt;/a&gt;).
&lt;br /&gt;

&lt;br /&gt;
However, it may be that the next release of Deployment Manager will remove the need for you to add custom powershell at all because it will include functionality to create IIS applications. 
&lt;br /&gt;

&lt;br /&gt;
Basically, if the web application does not exist on the Deployment Agent when it's package is deployed, then it will be created in IIS (the web app will default to being on port 80, but this can be overridden with a variable). Does that sound like it will meet your requirement?
&lt;br /&gt;

&lt;br /&gt;
This next release should be out in the next week or so and will be announced on this forum.
&lt;br /&gt;

&lt;br /&gt;
Best regards,
&lt;br /&gt;
Chris</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17056</comments>
  <dc:creator>csmith</dc:creator>
  <pubDate>Tue, 07 May 2013 12:54:59 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61789#61789</guid>
 </item>
 <item>
  <title>RE: Setting Variables on PreDeploy.ps1 for publishing</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61788#61788</link>
  <description>Hi Markus
&lt;br /&gt;

&lt;br /&gt;
It's currently not possible to modify variable values from pre-deploy powershell scripts. 
&lt;br /&gt;

&lt;br /&gt;
So we understand the scenario, can I ask why you need to set the website name depending on the date of publish?
&lt;br /&gt;

&lt;br /&gt;
Best regards,
&lt;br /&gt;
Chris</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17055</comments>
  <dc:creator>csmith</dc:creator>
  <pubDate>Tue, 07 May 2013 12:46:29 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61788#61788</guid>
 </item>
 <item>
  <title>RE: Setting Variables on PreDeploy.ps1 for publishing</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61786#61786</link>
  <description>I've found out that I can read variables in powershell script, but I can't modify them. For our scenario it is needed to change the Output Directory for package (eg in PreDeploy.ps1). 
&lt;br /&gt;

&lt;br /&gt;
But if I set the Variable in powershell, it seems to me that value is lost when completing the script. Could this be correct? 
&lt;br /&gt;

&lt;br /&gt;
Regards,
&lt;br /&gt;
Markus</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17055</comments>
  <dc:creator>mbre</dc:creator>
  <pubDate>Tue, 07 May 2013 10:09:43 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61786#61786</guid>
 </item>
 <item>
  <title>Problems running powershell script on 64 bit machine</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61768#61768</link>
  <description>Hi again,
&lt;br /&gt;

&lt;br /&gt;
I'm trying to create an IIS Application using WebAdministration Module and came to the point that the redgate agent is 32bit and can't install module WebAdministration.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Set-Location : Retrieving the COM class factory for component with CLSID {688EEEE5-6A7E-422F-B2E1-6AF00DC944A6} failed
&lt;br /&gt;
due to the following error: 80040154.
&lt;br /&gt;
At line:1 char:3
&lt;br /&gt;
+ Cd &amp;lt;&amp;lt;&amp;lt;&amp;lt;  IIS:\Sites
&lt;br /&gt;
    + CategoryInfo          : NotSpecified: (&lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt; [Set-Location], COMException
&lt;br /&gt;
    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.PowerShell.Commands.SetLocationCom
&lt;br /&gt;
   mand
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Is there already any solution for that?
&lt;br /&gt;

&lt;br /&gt;
Regards,
&lt;br /&gt;
Markus</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17056</comments>
  <dc:creator>mbre</dc:creator>
  <pubDate>Mon, 06 May 2013 14:01:05 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61768#61768</guid>
 </item>
 <item>
  <title>Setting Variables on PreDeploy.ps1 for publishing</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61764#61764</link>
  <description>Hi Team,
&lt;br /&gt;

&lt;br /&gt;
Is it possible and if yes then how can I override eg the &amp;quot;RedGateWebSiteName&amp;quot; variable in my predeploy.ps1 file?
&lt;br /&gt;

&lt;br /&gt;
Our Website name is depend on the date of publish and because of that I need to set it dynamically.
&lt;br /&gt;

&lt;br /&gt;
Thanks,
&lt;br /&gt;
Markus</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17055</comments>
  <dc:creator>mbre</dc:creator>
  <pubDate>Mon, 06 May 2013 11:31:26 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61764#61764</guid>
 </item>
 <item>
  <title>RE: Publishing to NuGet Package Feed with RgPublish</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61695#61695</link>
  <description>Hi
&lt;br /&gt;

&lt;br /&gt;
I think you need to add &amp;quot;/api/v2/package&amp;quot; to the end of your package feed URL.
&lt;br /&gt;

&lt;br /&gt;
&lt;a href=&quot;http://packagefeed.bluestonesolutions.local/&quot; target=&quot;_blank&quot;&gt;http://packagefeed.bluestonesolutions.local/&lt;/a&gt; is the root url of the nuget server - the actual 'service endpoint' is probably at &lt;a href=&quot;http://packagefeed.bluestonesolutions.local/api/v2/package.&quot; target=&quot;_blank&quot;&gt;http://packagefeed.bluestonesolutions.local/api/v2/package.&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;Further info...&lt;/span&gt;
&lt;br /&gt;
NuGet.exe recognizes root urls and automatically appends &amp;quot;/api/v2/package&amp;quot; to the end and tries that. So, that is why nuget.exe is still working.
&lt;br /&gt;

&lt;br /&gt;
With rgpublish we took the decision not to automatically append the default service endpoint path to any root url specified because we can't always know that the path actually exists (it's not &amp;quot;/api/v2/package&amp;quot; on all Nuget feeds - like the embedded feed in Deployment Manager itself). 
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;The future&lt;/span&gt;
&lt;br /&gt;
In the next month, we plan to add to the rgpublish commandline so you don't need to specify the root or path of the nuget feed at all. Instead, you'll simply be able to specify the name of the feed (that you have specified in DM) and rgpublish will contact your DM server to retrieve the feed's location and any API key.
&lt;br /&gt;

&lt;br /&gt;
Best regards,
&lt;br /&gt;
Chris</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17016</comments>
  <dc:creator>csmith</dc:creator>
  <pubDate>Thu, 02 May 2013 09:52:27 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61695#61695</guid>
 </item>
 <item>
  <title>Publishing to NuGet Package Feed with RgPublish</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61676#61676</link>
  <description>I'm having difficulty getting the RgPublish tool to actualy publish a package to a local NuGet Package Feed server.
&lt;br /&gt;

&lt;br /&gt;
It validates and writes the package just fine, but whenever it attempts to publish to the package feed it just returns an error:
&lt;br /&gt;

&lt;br /&gt;
The package feed at 'http://packagefeed.bluestonesolutions.local/' was not found. (The server responded with: [1] Not Found)
&lt;br /&gt;

&lt;br /&gt;
The URL is correct, and if I use the NuGet GUI to manually create the package and post it to the feed folder, Deployment Manager will find and deploy it just fine.  The same location is used in the Depoyment Manager.
&lt;br /&gt;

&lt;br /&gt;
The feed server is a standard app, downloaded directly from NuGet site, compiled, and deployed.  It does, however, use a custom package path.</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17016</comments>
  <dc:creator>jkraft</dc:creator>
  <pubDate>Wed, 01 May 2013 14:31:28 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61676#61676</guid>
 </item>
 <item>
  <title>RE: Nuget Package Creator</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61494#61494</link>
  <description>Hi all
&lt;br /&gt;

&lt;br /&gt;
Just wanted to let you know that we have just released the first version of the command line tool I mentioned in my earlier post.  See this thread for details of &lt;span style=&quot;font-style: italic&quot;&gt;what's new in Deployment Manager v1.1.8&lt;/span&gt;: &lt;a href=&quot;http://www.red-gate.com/MessageBoard/viewtopic.php?t=16927.&quot; target=&quot;_blank&quot;&gt;http://www.red-gate.com/MessageBoard/viewtopic.php?t=16927.&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;
At the moment, the command line tool will package up the entire contents of a folder, or allow you to configure the contents of the package using a nuspec file. Please visit our &lt;a href=&quot;https://documentation.red-gate.com/display/DM11/Creating+and+publishing+application+packages&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;online documentation&lt;/a&gt; for more information regarding how to use rgpublish to create packages to deploy using DM.
&lt;br /&gt;

&lt;br /&gt;
Over the coming weeks we plan to add dedicated web application and database package types to the tool. When creating these packages the tool will understand how to extract and package the appropriate content.
&lt;br /&gt;

&lt;br /&gt;
Thanks
&lt;br /&gt;
Chris</description>
  <category>Deployment Manager</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16691</comments>
  <dc:creator>csmith</dc:creator>
  <pubDate>Tue, 23 Apr 2013 12:19:56 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61494#61494</guid>
 </item>
</channel>
</rss>
