<?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: SQL Packager Previous Versions</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>Wed, 22 May 2013 07:28:54 GMT</lastBuildDate>
 <pubDate>Wed, 22 May 2013 07:28:54 GMT</pubDate>
 <image>
  <url>http://www.red-gate.com/messageboard/templates/subRed/images/logo_phpBB.gif</url>
  <title>Red Gate forums: SQL Packager Previous Versions</title>
  <link>http://www.red-gate.com/MessageBoard/</link>
 </image>
 <item>
  <title>SQL Packager - Cancelling an executable?</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=35021#35021</link>
  <description>Is there anyway I can cancel the executable running a package if a value in the DB is set?
&lt;br /&gt;

&lt;br /&gt;
I see there is /presql however I don't know if I can cancel running the rest of the executable, is this possible?</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=9678</comments>
  <dc:creator>Jmaharman</dc:creator>
  <pubDate>Tue, 29 Sep 2009 08:39:22 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=35021#35021</guid>
 </item>
 <item>
  <title>RE: C# packager issues</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=28544#28544</link>
  <description>Hi jbrown,
&lt;br /&gt;

&lt;br /&gt;
If you haven't received the e-mail from Chris, this has been logged in our bug tracking software and will be reviewed for the next release.
&lt;br /&gt;

&lt;br /&gt;
Thanks,</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=7731</comments>
  <dc:creator>Matthew Flatt</dc:creator>
  <pubDate>Fri, 10 Oct 2008 09:43:16 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=28544#28544</guid>
 </item>
 <item>
  <title>RE: click once?</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=28328#28328</link>
  <description>Hi,
&lt;br /&gt;

&lt;br /&gt;
Here is my experience with ClickOnce and Packager. I output the package as a C# project so that I could use the &amp;quot;publish&amp;quot; menu item from Visual Studio, a fair shade easier than actually working out how ClickOnce actually works! After I published, I tried the &amp;quot;install&amp;quot; button on the website where I had published it. At that point it told me I needed RedGate.Compression.Zlib.dll in my GAC, so I did that.
&lt;br /&gt;

&lt;br /&gt;
Next I clicked Install again, and got the flashing command prompt, same as you.
&lt;br /&gt;

&lt;br /&gt;
I then went back into Visual Studio and edited PackageMain.Main() to put a Console.ReadLine right before &amp;quot;return&amp;quot;. Now I can see what is in the command window and it says &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;You don't have sufficient permissions to run an executable located on another machine&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
My guess is that in all likelyhood it's a matter of adjusting your zone security in the .NET Framework configuration wizard to allow assemblies to run across the Internet. Maybe there is another way around this issue, but at least you can find out what the problem might be.
&lt;br /&gt;

&lt;br /&gt;
I hope this helps!</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=7735</comments>
  <dc:creator>Brian Donahue</dc:creator>
  <pubDate>Fri, 03 Oct 2008 17:05:45 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=28328#28328</guid>
 </item>
 <item>
  <title>RE: Users created even if I uncheck them</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=28165#28165</link>
  <description>Hi,
&lt;br /&gt;

&lt;br /&gt;
Were you able to try out Michelle's suggestions and exclude the users and logins in the end? We’ve just released a version of SQL Packager 6 that allows you to edit a script before packaging, which may help.
&lt;br /&gt;
See &lt;a href=&quot;http://www.red-gate.com/MessageBoard/viewtopic.php?t=7743&quot; target=&quot;_blank&quot;&gt;http://www.red-gate.com/MessageBoard/viewtopic.php?t=7743&lt;/a&gt;
&lt;br /&gt;
Kind regards,
&lt;br /&gt;

&lt;br /&gt;
David Atkinson
&lt;br /&gt;
Product Manager
&lt;br /&gt;
Red Gate Software</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=7669</comments>
  <dc:creator>David Atkinson</dc:creator>
  <pubDate>Mon, 29 Sep 2008 16:42:40 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=28165#28165</guid>
 </item>
 <item>
  <title>RE: packaging scheduled jobs</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=28057#28057</link>
  <description>I just wanted to let you know that the new version of packager is available from our website.
&lt;br /&gt;

&lt;br /&gt;
You can download the update by using the 'check for updates' function within the tool.</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=7700</comments>
  <dc:creator>Chris Auckland</dc:creator>
  <pubDate>Wed, 24 Sep 2008 12:51:59 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=28057#28057</guid>
 </item>
 <item>
  <title>SQL Packager 6.0 has been released</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=28037#28037</link>
  <description>SQL Packager 6.0 has been released and is now available for download. This release enables two much requested features: 
&lt;br /&gt;

&lt;br /&gt;
•	packaging of externally generated SQL scripts into exe’s or C# projects 
&lt;br /&gt;
•	the ability to edit the SQL script generated by SQL Packager before it is deployed</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=7750</comments>
  <dc:creator>Ben Adderson</dc:creator>
  <pubDate>Tue, 23 Sep 2008 12:10:24 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=28037#28037</guid>
 </item>
 <item>
  <title>RE: C# packager issues</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=27994#27994</link>
  <description>#7
&lt;br /&gt;

&lt;br /&gt;
when editing the package templates (SQL Packager 5\SQL Packager Code Templates), you cannot open the designer for MessageBox.cs.   Error says &amp;quot;The variable 'messageBoxIcon1' is either undeclared or was never assigned. &amp;quot;
&lt;br /&gt;

&lt;br /&gt;
#8
&lt;br /&gt;

&lt;br /&gt;
if you encounter a SQL error when building a new database (e.g. a database the same name already exists, etc.) the application attempts a catch and then blows up at PackageExecutor.cs, Execute() at &amp;quot;throw;&amp;quot;:
&lt;br /&gt;

&lt;br /&gt;
		public void Execute()
&lt;br /&gt;
		{
&lt;br /&gt;
			try
&lt;br /&gt;
			{
&lt;br /&gt;
				OnStatus(new ProgressStatusEventArgs(&amp;quot;Connecting To Database&amp;quot;, 0));
&lt;br /&gt;
				ConnectToDatabase();										//Connect to database
&lt;br /&gt;
				ExecutePackage();
&lt;br /&gt;
			}
&lt;br /&gt;
			catch	//If any exception then potentially delete the database if I made it///
&lt;br /&gt;
			{
&lt;br /&gt;
				DeleteDatabaseIfMade();
&lt;br /&gt;
                throw;
&lt;br /&gt;
			}
&lt;br /&gt;
		}</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=7731</comments>
  <dc:creator>jbrown</dc:creator>
  <pubDate>Fri, 19 Sep 2008 21:51:21 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=27994#27994</guid>
 </item>
 <item>
  <title>click once?</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=27992#27992</link>
  <description>When we do a &amp;quot;click once&amp;quot; publish of our C# packager and try to run it, the user will briefly see the cmd prompt flash, and then the application just disappears - no form ever appears on the screen.
&lt;br /&gt;

&lt;br /&gt;
To get it working this far we had to set the RedGate dll's &amp;quot;copy local&amp;quot; to true, is there anything else we're missing?</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=7735</comments>
  <dc:creator>jbrown</dc:creator>
  <pubDate>Fri, 19 Sep 2008 18:29:30 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=27992#27992</guid>
 </item>
 <item>
  <title>C# packager issues</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=27986#27986</link>
  <description>I noticed a few annoyances in the C# packager.
&lt;br /&gt;

&lt;br /&gt;
#1
&lt;br /&gt;

&lt;br /&gt;
In FormAbout, linkLabel1_LinkClicked, if you change the hypertext to point to &amp;quot;yourcompany.com&amp;quot;, you must also change this:
&lt;br /&gt;

&lt;br /&gt;
string text2LookFor = &amp;quot;yourcompany.com&amp;quot;
&lt;br /&gt;

&lt;br /&gt;
if you don't, the click area will start at -1 because it's assumed that the &amp;quot;text to look for&amp;quot; is always found.  
&lt;br /&gt;

&lt;br /&gt;
#2
&lt;br /&gt;

&lt;br /&gt;
... then at run time you get a very weird error in packagemain.cs, showmsg:
&lt;br /&gt;

&lt;br /&gt;
			if(m_ConsoleMode) //Console
&lt;br /&gt;
			{
&lt;br /&gt;
				Console.WriteLine(&amp;quot;\n\n&amp;quot;+msgTypeText);
&lt;br /&gt;
				Console.Write(message + &amp;quot;\r\n&amp;quot;);
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
because the error is in the coding (string text2lookfor is never found), m_ConsoleMode is not properly initialized, the application thinks its running in console mode, and it throws an IOException.
&lt;br /&gt;

&lt;br /&gt;
#3
&lt;br /&gt;

&lt;br /&gt;
When you first open PackageExecutor.cs in VS, you'll receive an error stating that the line endings are inconsistent, and VS prompts you to convert all line endings to CR LF.
&lt;br /&gt;

&lt;br /&gt;
#4
&lt;br /&gt;

&lt;br /&gt;
In FormSelectDatabase, textBoxInformation, the Text property reads:
&lt;br /&gt;

&lt;br /&gt;
&amp;quot;This executable will upgrade an existing database or create a new database. Please choose the server and database you would like to upgrade or create.&amp;quot;
&lt;br /&gt;

&lt;br /&gt;
Changing it in the text box's properties does little good however, unless you deal with this:
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
			if(this.radioButtonUpgradeDatabase.Checked)
&lt;br /&gt;
				this.textBoxInformation.Text = &amp;quot;This executable will upgrade an existing database. Please choose the server and database you would like to upgrade.&amp;quot;;
&lt;br /&gt;
			else
&lt;br /&gt;
				this.textBoxInformation.Text = &amp;quot;This executable will create a new database. Please choose the server and database you would like to create.&amp;quot;;
&lt;br /&gt;

&lt;br /&gt;
(You never see the text that displays from the textBox's properties, in other words, because it's always overwritten by one or the other of these nearly identical variants).
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Not strictly C# issues:
&lt;br /&gt;

&lt;br /&gt;
# 5
&lt;br /&gt;

&lt;br /&gt;
if you include users in your package and you choose to &amp;quot;upgrade an existing database&amp;quot;, the package will error because the users already exist.
&lt;br /&gt;

&lt;br /&gt;
# 6 
&lt;br /&gt;

&lt;br /&gt;
the database settings are not available in the packager: specifically we need to be able to &amp;quot;SET trustworthy ON&amp;quot; during database creation.</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=7731</comments>
  <dc:creator>jbrown</dc:creator>
  <pubDate>Fri, 19 Sep 2008 17:07:22 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=27986#27986</guid>
 </item>
 <item>
  <title>RE: encrypted sprocs</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=27961#27961</link>
  <description>Hi,
&lt;br /&gt;

&lt;br /&gt;
I believe you are looking for the &amp;quot;add WITH ENCRYPTION option to stored procedures, etc&amp;quot; item in SQL Packager's Schema options. That will insert &amp;quot;WITH ENCRYPTION&amp;quot; to anything that can be encrypted.</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=7727</comments>
  <dc:creator>Brian Donahue</dc:creator>
  <pubDate>Fri, 19 Sep 2008 08:23:49 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=27961#27961</guid>
 </item>
 <item>
  <title>encrypted sprocs</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=27956#27956</link>
  <description>Would it be possible (current version or future version) to allow for encryption of sprocs/functions/etc at time of build?  
&lt;br /&gt;

&lt;br /&gt;
that way the developer can work from a non-encrypted database, but release an encrypted one.
&lt;br /&gt;

&lt;br /&gt;
or is there an easy way to do this I'm not thinking of?  &lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=7727</comments>
  <dc:creator>jbrown</dc:creator>
  <pubDate>Thu, 18 Sep 2008 21:13:53 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=27956#27956</guid>
 </item>
 <item>
  <title>RE: Package names</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=27887#27887</link>
  <description>The executable package name has to be a valid identifier in C# - so no whitespace, and only letters, numbers and underscores allowed. We've tried to lift as many restrictions as possible on the name in 6.0, but it will still have to obey the rules for C# identifiers for now.</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=7709</comments>
  <dc:creator>Michelle Taylor</dc:creator>
  <pubDate>Tue, 16 Sep 2008 11:00:43 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=27887#27887</guid>
 </item>
 <item>
  <title>Package names</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=27886#27886</link>
  <description>Is there any particular reason why the .NET Executable package name should be limited to alpha characters (ie no whitespaces or numbers)?
&lt;br /&gt;
I would prefer to be able to prefix the package name with the date eg:
&lt;br /&gt;

&lt;br /&gt;
2008 09 16 Packagname
&lt;br /&gt;

&lt;br /&gt;
but this is currently not possible.
&lt;br /&gt;

&lt;br /&gt;
Regards
&lt;br /&gt;

&lt;br /&gt;
Crispin</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=7709</comments>
  <dc:creator>CrispinH</dc:creator>
  <pubDate>Tue, 16 Sep 2008 10:05:44 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=27886#27886</guid>
 </item>
 <item>
  <title>RE: packaging scheduled jobs</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=27882#27882</link>
  <description>I've asked our support department to raise a ticket so you'll be notified when v6.0 has been released. It should be a matter of a few weeks now.
&lt;br /&gt;

&lt;br /&gt;
Kind regards,
&lt;br /&gt;

&lt;br /&gt;
David Atkinson
&lt;br /&gt;
Red Gate Software</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=7700</comments>
  <dc:creator>David Atkinson</dc:creator>
  <pubDate>Mon, 15 Sep 2008 21:40:56 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=27882#27882</guid>
 </item>
 <item>
  <title>RE: packaging scheduled jobs</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=27880#27880</link>
  <description>Yes, I believe that would be very helpful.  Thanks very much.</description>
  <category>SQL Packager Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=7700</comments>
  <dc:creator>jbrown</dc:creator>
  <pubDate>Mon, 15 Sep 2008 21:22:36 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=27880#27880</guid>
 </item>
</channel>
</rss>
