<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>ExpressMaint</title><link>http://www.codeplex.com/ExpressMaint/Project/ProjectRss.aspx</link><description></description><item><title>New Post: Sql Server 2008</title><link>http://www.codeplex.com/ExpressMaint/Thread/View.aspx?ThreadId=36139</link><description>&lt;div style="line-height: normal;"&gt;Hi&lt;br&gt;
&lt;br&gt;
I upgraded to 2008 recently and now I'm having some problems running the app against it.&lt;br&gt;
I followed the instructions and installed&amp;nbsp;&lt;a href="http://download.microsoft.com/download/2/7/c/27c60d49-6dbe-423e-9a9e-1c873f269484/SQLServer2005_XMO.msi"&gt;SMO 2005 Install Package (x86)&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
When I run the app I get the following error:&lt;br&gt;
&lt;br&gt;
C:\Backup&amp;gt;expressmaint -S juliosbox\sqlexpress10 -D school2 -T DB -R c:\backup -RU WEEKS -RV 1 -B c:\backup -BU DAYS -BV 1 -V -C&lt;br&gt;
Expressmaint error : Failed to connect to server juliosbox\sqlexpress10.&lt;br&gt;
Expressmaint error : This SQL Server version (10.0) is not supported.&lt;br&gt;
&lt;br&gt;
I verified the name of the instance and is OK.&lt;br&gt;
Any idea on making it run against 2008?&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
&lt;br&gt;
Julio
&lt;/div&gt;</description><author>julior77</author><pubDate>Sun, 21 Sep 2008 20:26:29 GMT</pubDate><guid isPermaLink="false">New Post: Sql Server 2008 20080921082629P</guid></item><item><title>New Post: Maintenance type for Shrink of database</title><link>http://www.codeplex.com/ExpressMaint/Thread/View.aspx?ThreadId=35805</link><description>&lt;div style="line-height: normal;"&gt;I put this in the issue tracker. I'm not sure which gets more attention quicker when the maintainer has time, issues or discussion, I would hope issues.&lt;br&gt;
My variation upon this request would be for separate shrinks of database and logs, sometimes one only wants to shrink the logs and not the databases.&lt;br&gt;
Thank you, Tom&lt;br&gt;
&lt;/div&gt;</description><author>tlyczko</author><pubDate>Wed, 17 Sep 2008 13:54:45 GMT</pubDate><guid isPermaLink="false">New Post: Maintenance type for Shrink of database 20080917015445P</guid></item><item><title>New Post: Maintenance type for Shrink of database</title><link>http://www.codeplex.com/ExpressMaint/Thread/View.aspx?ThreadId=35805</link><description>&lt;div style="line-height: normal;"&gt;Hi&lt;br&gt;
&lt;br&gt;
Was just wondering if there was any maintenance option for shrinking the database.&lt;br&gt;
&lt;br&gt;
Thanks&amp;nbsp;in advance.&lt;br&gt;
&lt;br&gt;
&amp;nbsp;Regards&lt;br&gt;
Graeme Andrew
&lt;/div&gt;</description><author>graemeandrew</author><pubDate>Wed, 17 Sep 2008 02:40:17 GMT</pubDate><guid isPermaLink="false">New Post: Maintenance type for Shrink of database 20080917024017A</guid></item><item><title>Created Issue: Suggested best practices??</title><link>http://www.codeplex.com/ExpressMaint/WorkItem/View.aspx?WorkItemId=6176</link><description>Would you please offer your suggestions for best practices with this app&amp;#63;&amp;#63;&lt;br /&gt;I was thinking the best way to do this would be to run the transaction log backups, say 2-4 times daily, then the database backup at the end of the day.&lt;br /&gt;With this method, restoring the database would require the previous day&amp;#39;s backup plus the current day&amp;#39;s most current log backup.&lt;br /&gt;Any other suggestion&amp;#63;&amp;#63;&lt;br /&gt;Thank you, Tom&lt;br /&gt;</description><author>tlyczko</author><pubDate>Tue, 16 Sep 2008 13:31:11 GMT</pubDate><guid isPermaLink="false">Created Issue: Suggested best practices?? 20080916013111P</guid></item><item><title>Created Issue: Shrink databases and logs??</title><link>http://www.codeplex.com/ExpressMaint/WorkItem/View.aspx?WorkItemId=6169</link><description>Please include the ability to shrink databases and logs, or document how we could do this with the current version.&lt;br /&gt;&lt;br /&gt;Thank you, Tom&lt;br /&gt;</description><author>tlyczko</author><pubDate>Mon, 15 Sep 2008 20:13:04 GMT</pubDate><guid isPermaLink="false">Created Issue: Shrink databases and logs?? 20080915081304P</guid></item><item><title>New Post: errors connecting to server</title><link>http://www.codeplex.com/ExpressMaint/Thread/View.aspx?ThreadId=34495</link><description>&lt;div style="line-height: normal;"&gt;I discovered today by reading some of the issue trackers that my original syntax was incorrect.&lt;br&gt;
I had parentheses around SERVERNAME\SQLEXPRESS.&lt;br&gt;
When I removed these, the batch files ran properly.&lt;br&gt;
Thank you, Tom&lt;br&gt;
&lt;/div&gt;</description><author>tlyczko</author><pubDate>Mon, 15 Sep 2008 20:11:44 GMT</pubDate><guid isPermaLink="false">New Post: errors connecting to server 20080915081144P</guid></item><item><title>New Post: errors connecting to server</title><link>http://www.codeplex.com/ExpressMaint/Thread/View.aspx?ThreadId=34495</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;My batch file statement is:&lt;/p&gt;
&lt;p&gt;expressmaint -S (local) -D ALL_USER -T DB -R d:\reports -RU WEEKS -RV 1 -B d:\Database_Backups -BU DAYS -BV 1 -V -C&lt;/p&gt;
&lt;p&gt;Expressmaint error: Failed to connect to server (SERVERNAME\SQLEXPRESS).&lt;br&gt;
OR&lt;br&gt;
Expressmaint error: Failed to connect to server (local).&lt;/p&gt;
&lt;p&gt;Expressmaint error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)&lt;/p&gt;
&lt;p&gt;Remote connections ARE set to be allowed in Surface Area Configuration, using both TCP/IP and named pipes.&lt;/p&gt;
&lt;p&gt;Batch file is being run locally and manually by local administrator account, which has SysAdmin rights on the instance.&lt;br&gt;
&lt;br&gt;
Hope you can help...&lt;br&gt;
&lt;br&gt;
Thank you, Tom&lt;/p&gt;
&lt;/div&gt;</description><author>tlyczko</author><pubDate>Fri, 12 Sep 2008 18:16:44 GMT</pubDate><guid isPermaLink="false">New Post: errors connecting to server 20080912061644P</guid></item><item><title>New Post: errors connecting to server</title><link>http://www.codeplex.com/ExpressMaint/Thread/View.aspx?ThreadId=34495</link><description>&lt;div style="line-height: normal;"&gt;I *was* starting the batch file manually, and it was a fairly standard error message about named pipes, TCP, etc., yet both of these items are enabled.$0I don't have access to the PC now.$0I will try again and post the exact error message with an example batch file statement.$0$0It has something to do with the ID/account specified in the batch file.$0$0The PC has only two local accounts: 1) local administrator; 2) local user.$0$0I'm first trying to get it working with the local administrator before scheduling it etc.$0$0Thank you, Tom$0$0&lt;/div&gt;</description><author>tlyczko</author><pubDate>Fri, 12 Sep 2008 00:25:16 GMT</pubDate><guid isPermaLink="false">New Post: errors connecting to server 20080912122516A</guid></item><item><title>New Post: errors connecting to server</title><link>http://www.codeplex.com/ExpressMaint/Thread/View.aspx?ThreadId=34495</link><description>&lt;div style="line-height: normal;"&gt;What error message are you getting? If&amp;nbsp;the exact same batch file&amp;nbsp;works manually it would seem to suggest a permissions issue for the account used to run the scheduled task
&lt;/div&gt;</description><author>jaspersmith</author><pubDate>Thu, 11 Sep 2008 20:51:30 GMT</pubDate><guid isPermaLink="false">New Post: errors connecting to server 20080911085130P</guid></item><item><title>New Post: BV variable questions</title><link>http://www.codeplex.com/ExpressMaint/Thread/View.aspx?ThreadId=34493</link><description>&lt;div style="line-height: normal;"&gt;Correct (as long as the BU parameter is DAYS). The BV parameter determines how may BU units (MINUTES,HOURS,DAYS,WEEKS) to keep backups for
&lt;/div&gt;</description><author>jaspersmith</author><pubDate>Thu, 11 Sep 2008 20:42:49 GMT</pubDate><guid isPermaLink="false">New Post: BV variable questions 20080911084249P</guid></item><item><title>New Post: errors connecting to server</title><link>http://www.codeplex.com/ExpressMaint/Thread/View.aspx?ThreadId=34495</link><description>&lt;div style="line-height: normal;"&gt;I have SQL Express set to allow local and remote connections with both named pipes and TCP/IP in Surface Area Configuration.&lt;br&gt;
&lt;br&gt;
Nevertheless ExpressMaint keeps being unable to connect to the server, and the batch file is presently being run manually with the local administrator account.&lt;br&gt;
&lt;br&gt;
I've tried using computername\sqlexpress, computername, and sqlexpress for the server name, no success.&lt;br&gt;
&lt;br&gt;
Any suggestions??&lt;br&gt;
&lt;br&gt;
Thank you, Tom&lt;br&gt;
&lt;/div&gt;</description><author>tlyczko</author><pubDate>Thu, 28 Aug 2008 20:03:28 GMT</pubDate><guid isPermaLink="false">New Post: errors connecting to server 20080828080328P</guid></item><item><title>New Post: BV variable questions</title><link>http://www.codeplex.com/ExpressMaint/Thread/View.aspx?ThreadId=34493</link><description>&lt;div style="line-height: normal;"&gt;To keep more than 1 day's backup of anything, BV should &amp;gt; 1??&lt;br&gt;
&lt;br&gt;
For now I am using the statements as they stand from the sqldbatips article.&lt;br&gt;
&lt;br&gt;
Thank you, Tom&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>tlyczko</author><pubDate>Thu, 28 Aug 2008 19:33:15 GMT</pubDate><guid isPermaLink="false">New Post: BV variable questions 20080828073315P</guid></item><item><title>Updated Release: ExpressMaint v1.5.0.0 (Jul 04, 2008)</title><link>http://www.codeplex.com/ExpressMaint/Release/ProjectReleases.aspx?ReleaseId=15015</link><description>&lt;div&gt;
Added new Statistics Update operations&lt;br&gt;Added new switch to allow multiple database operations to continue if some databases fail&lt;br&gt;Added fix for SMO Index Reorganize bug&lt;br&gt; &lt;br&gt;For more details and usage instructions see&lt;br&gt; &lt;br&gt;&lt;a href="http://www.sqldbatips.com/showarticle.asp?ID=29"&gt;Automating Database maintenance in SQL 2005 Express Edition Part II&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br&gt; &lt;br&gt;&lt;b&gt;Note&lt;/b&gt; To run against SQL 2008 instances you must install SQL 2005 SMO available &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=50b97994-8453-4998-8226-fa42ec403d17"&gt;here&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;</description><author></author><pubDate>Tue, 19 Aug 2008 20:29:03 GMT</pubDate><guid isPermaLink="false">Updated Release: ExpressMaint v1.5.0.0 (Jul 04, 2008) 20080819082903P</guid></item><item><title>New Post: Expressmaint.sql - dump to UNC?</title><link>http://www.codeplex.com/ExpressMaint/Thread/View.aspx?ThreadId=32540</link><description>&lt;div style="line-height: normal;"&gt;What you need to do is make sure that the SQL Service account (the account which will actually create the backup file) has read/write access to the remote share and use a UNC path (a mapped drive won't work because you're mapping the drive under your account but the SQL Service account won't know about it). You shouldn't have to change the stored procedure.
&lt;/div&gt;</description><author>jaspersmith</author><pubDate>Mon, 11 Aug 2008 20:59:44 GMT</pubDate><guid isPermaLink="false">New Post: Expressmaint.sql - dump to UNC? 20080811085944P</guid></item><item><title>New Post: Expressmaint.sql - dump to UNC?</title><link>http://www.codeplex.com/ExpressMaint/Thread/View.aspx?ThreadId=32540</link><description>&lt;div style="line-height: normal;"&gt;Hi there&lt;br&gt;
&lt;br&gt;
I'm still using the old 2004 version of expressmaint, saw that it has been updated a few days ago.&lt;br&gt;
&lt;br&gt;
Anyway, I'm wondering if there is any way to make the dump to another server, when i try to set @backupfldr to '\\server2\folder' i get an error, when i map \\server2\folder to m: and try to set @backupfldr to 'm:\' i get an error&lt;br&gt;
&lt;br&gt;
Msg 50000, Level 16, State 1, Server DB-SQL1, Procedure expressmaint, Line 165&lt;br&gt;
The folder n:\ does not exist on this server&lt;br&gt;
&lt;br&gt;
SQL-server isn't logging this error, i get it in the output logfile from expressmaint.&lt;br&gt;
&lt;br&gt;
I just thought i should ask here before i started writing a script to pull the dumps to server2, instead of using expressmaint to not only put the dumps on server2 but also manage the versions.&lt;br&gt;
&lt;br&gt;
Could i perhaps just comment out the &amp;quot;does this file/folder exist&amp;quot;-check and hope for the best?&lt;br&gt;
&lt;br&gt;
Windows Server 2008 x64&lt;br&gt;
Microsoft SQL 2005&lt;br&gt;
&lt;/div&gt;</description><author>underlig</author><pubDate>Wed, 30 Jul 2008 09:38:25 GMT</pubDate><guid isPermaLink="false">New Post: Expressmaint.sql - dump to UNC? 20080730093825A</guid></item><item><title>Updated Release: ExpressMaintTSQL v1.0 (Aug 18, 2007)</title><link>http://www.codeplex.com/ExpressMaint/Release/ProjectReleases.aspx?ReleaseId=6498</link><description>&lt;div&gt;
Initial TSQL release to Codeplex v1.0&lt;br&gt; &lt;br&gt;For more details and usage instructions see&lt;br&gt; &lt;br&gt;&lt;a href="http://www.sqldbatips.com/showarticle.asp?ID=27"&gt;Automating Database maintenance in SQL 2005 Express Edition Part I&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;</description><author></author><pubDate>Mon, 28 Jul 2008 20:34:29 GMT</pubDate><guid isPermaLink="false">Updated Release: ExpressMaintTSQL v1.0 (Aug 18, 2007) 20080728083429P</guid></item><item><title>New Post: 'fillfactor' is not a recognized ALTER INDEX REORGANIZE option</title><link>http://www.codeplex.com/ExpressMaint/Thread/View.aspx?ThreadId=27006</link><description>&lt;div style="line-height: normal;"&gt;Upgrading to expressmaint 1.5.0.0 seems to have done the trick so far - thanks!
&lt;/div&gt;</description><author>timr</author><pubDate>Wed, 09 Jul 2008 16:58:30 GMT</pubDate><guid isPermaLink="false">New Post: 'fillfactor' is not a recognized ALTER INDEX REORGANIZE option 20080709045830P</guid></item><item><title>Commented Issue: Unhandled Exception: System.Security.SecurityException</title><link>http://www.codeplex.com/ExpressMaint/WorkItem/View.aspx?WorkItemId=5217</link><description>When run from a network share it generates an exception&amp;#58;&lt;br /&gt;&lt;br /&gt;P&amp;#58;&amp;#92;&amp;#62; expressmaint -&amp;#63;&lt;br /&gt;Unhandled Exception&amp;#58; System.Security.SecurityException&amp;#58; Request for the permission of type &amp;#39;System.Security.Permissions.SecurityPermission, mscorlib, Version&amp;#61;2.0.0.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;b77a5c561934e089&amp;#39; failed.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;where &amp;#34;P&amp;#58;&amp;#34; is a network share.&lt;br /&gt;The work around is not to run it from a network share but this is not ideal for us.&lt;br /&gt;Comments: ** Comment from web user: jaspersmith ** &lt;p&gt;This is a .NET security issue not anything to do with the tool. By default, applications run from shares or UNC paths have limited permissions. You need to configure .NET to trust the assembly location. You can do this using the .NET 2.0 Configuration tool &amp;#40;Start&amp;#62;Programs&amp;#62;administrative Tools&amp;#62;.NET Framework 2.0 configuration. Expand My Computer and browse to Machine&amp;#62;Code Groups&amp;#62;All_Code. Right click and select New. Give it a name e.g. ExpressMaint and click Next. Select URL as the Condition Type and enter P&amp;#58;&amp;#92;expressmaint.exe as the URL and click Next. Accept the default on the next page &amp;#40;Full Trust&amp;#41; and click Next and then Finish. I have attached a picture to help clarify this.&lt;/p&gt;</description><author>jaspersmith</author><pubDate>Fri, 04 Jul 2008 11:16:19 GMT</pubDate><guid isPermaLink="false">Commented Issue: Unhandled Exception: System.Security.SecurityException 20080704111619A</guid></item><item><title>Commented Issue: fillfactor' is not a recognized ALTER INDEX REORGANIZE option</title><link>http://www.codeplex.com/ExpressMaint/WorkItem/View.aspx?WorkItemId=4664</link><description>While trying to run a reorg command against a user database, I get the following error.  This is happening on more then one server, on different databases. &lt;br /&gt;&lt;br /&gt;Reorganizing indexes for table dbo.dtproperties&lt;br /&gt;Reorganizing indexes for table dbo.Groups&lt;br /&gt;Reorganize failed for Index &amp;#39;PK_Groups&amp;#39;.&lt;br /&gt;An exception occurred while executing a Transact-SQL statement or batch.&lt;br /&gt;&amp;#39;fillfactor&amp;#39; is not a recognized ALTER INDEX REORGANIZE option.&lt;br /&gt;&lt;br /&gt;I seem to be able to manually run a rebuild or reorganize on the index from within SQL Management Studio Express.&lt;br /&gt;&lt;br /&gt;The database was originally created on a SQL 2000 Server, and was attached to SQL 2005 Express.&lt;br /&gt;&lt;br /&gt;Any suggestions&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: jaspersmith ** &lt;p&gt;I have added a fix for this SMO bug in version 1.5.0.0&lt;/p&gt;</description><author>jaspersmith</author><pubDate>Fri, 04 Jul 2008 10:58:22 GMT</pubDate><guid isPermaLink="false">Commented Issue: fillfactor' is not a recognized ALTER INDEX REORGANIZE option 20080704105822A</guid></item><item><title>Commented Feature: What about "Update statistics" / "sp_updatestats"</title><link>http://www.codeplex.com/ExpressMaint/WorkItem/View.aspx?WorkItemId=4348</link><description>Hi&lt;br /&gt;&lt;br /&gt;Could you consider adding &amp;#34;updatestats&amp;#34; as an extra maintenance operation&amp;#63;&lt;br /&gt;I can see that I can use &amp;#34;REINDEX&amp;#34; to rebuild indexes, and that will take care of the statistics as well, but since using WITH &amp;#40;ONLINE &amp;#61; ON&amp;#41; is not available in &amp;#34;SQL Express&amp;#34;, it means that each table will become inaccessible during the rebuild.&lt;br /&gt;&lt;br /&gt;But if I use &amp;#34;REORG&amp;#34;, there is no option to update statistics after that, and in many cases thats the best way to optimize query performance.&lt;br /&gt;On small databases, running &amp;#34;UPDATE STATISTICS tablename WITH FULLSCAN&amp;#34; on all tables, will not take too long &amp;#40;and will not lock the tables during the operation&amp;#41;.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Comments: ** Comment from web user: jaspersmith ** &lt;p&gt;This functionality has been added to version 1.5.0.0 with the new STATS and STATSFULL operations&lt;/p&gt;</description><author>jaspersmith</author><pubDate>Fri, 04 Jul 2008 10:57:10 GMT</pubDate><guid isPermaLink="false">Commented Feature: What about "Update statistics" / "sp_updatestats" 20080704105710A</guid></item></channel></rss>