﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Haidong Ji / Article Discussions / Article Discussions by Author  / Automate DTS Logging / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 07:13:35 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Automate DTS Logging</title><link>http://www.sqlservercentral.com/Forums/Topic15806-102-1.aspx</link><description>Hi,Thanks for reading my article and offering questions and comments and pointing out my mistakes.I am in China on vacation now. I'll be able to better respond to your questions/comments when I come back, if they are not answered at that time.Cheers and thanks again.Haidong</description><pubDate>Sun, 14 Sep 2003 20:40:00 GMT</pubDate><dc:creator>Haidong Ji</dc:creator></item><item><title>RE: Automate DTS Logging</title><link>http://www.sqlservercentral.com/Forums/Topic15806-102-1.aspx</link><description>&lt;BLOCKQUOTE id=quote&gt;&lt;font size=1 face="Verdana, Arial, Helvetica" id=quote&gt;quote:&lt;hr height=1 noshade id=quote&gt;Do you know where I can find the meaning of the error codes logged in sysdtssteplog?&lt;hr height=1 noshade id=quote&gt;&lt;/BLOCKQUOTE id=quote&gt;&lt;/font id=quote&gt;&lt;font face="Verdana, Arial, Helvetica" size=2 id=quote&gt;The errorcode column just logs the standard windows/dts error code. There is no definative list as they are defined it lots of different places. These are the same as you will see in the designer, or get example the VB(Script) Err.Number property.Best thing I find is to just search the MS KB or Google Groups for the exact error number and see what comes up. The description is normally more meaningfull, but searching often works best on the number.--Darren Greenhttp://www.sqldts.com/</description><pubDate>Thu, 11 Sep 2003 12:32:00 GMT</pubDate><dc:creator>darren.green</dc:creator></item><item><title>RE: Automate DTS Logging</title><link>http://www.sqlservercentral.com/Forums/Topic15806-102-1.aspx</link><description>&lt;BLOCKQUOTE id=quote&gt;&lt;font size=1 face="Verdana, Arial, Helvetica" id=quote&gt;quote:&lt;hr height=1 noshade id=quote&gt;I ran it in our dev environment after copying some of our most complex DTS packages there.  They were completely reorganized after I ran the script in your article.&lt;hr height=1 noshade id=quote&gt;&lt;/BLOCKQUOTE id=quote&gt;&lt;/font id=quote&gt;&lt;font face="Verdana, Arial, Helvetica" size=2 id=quote&gt;As per the article "Another thing you will notice is that the visual layout of various package components will change after this is run, but the components remain the same. " this is expected behaviour. It is not nice, but a known limitation of using the DTS object model. When using the save methods (e.g. SaveToSQLServer) you loose the layout information and any annotations. The object model just throws this information away as it cannot maintain it, since this infromation is only available in the designer itself.--Darren Greenhttp://www.sqldts.com/</description><pubDate>Thu, 11 Sep 2003 12:27:00 GMT</pubDate><dc:creator>darren.green</dc:creator></item><item><title>RE: Automate DTS Logging</title><link>http://www.sqlservercentral.com/Forums/Topic15806-102-1.aspx</link><description>Good article, although I agree with darren.green, its the DTS Object model that reveals all.I like your use of the EnumPackageInfos functionality. A number of people don't know about these extra bits. Pity there isn't much info to be found about how to use them effectively.Also, it would be worth noting that after running your script, all the packages would be set to connect to the server using SQL Security. Therefore if you have the server setup to Windows Only, not only will you get an error when you save the package, you won't get any logs either!Hope this helpsPhill Carter--------------------Colt 45 - the original point and click interface &lt;img src=icon_smile_wink.gif border=0 align=middle&gt;</description><pubDate>Wed, 10 Sep 2003 17:33:00 GMT</pubDate><dc:creator>philcart</dc:creator></item><item><title>RE: Automate DTS Logging</title><link>http://www.sqlservercentral.com/Forums/Topic15806-102-1.aspx</link><description>I like your article.  I am constantly trying to learn more VBScript to use in DTS packages.I ran it in our dev environment after copying some of our most complex DTS packages there.  They were completely reorganized after I ran the script in your article.  Forgive me if I ask a dumb question, but do you have any idea why it reorganizes the tasks in the package?  I wonder if there is a way to keep it from reorganizing them.Do you know where I can find the meaning of the error codes logged in sysdtssteplog?Robert W. MardaSQL Programmerbigdough.comThe world’s leading capital markets contact database and software platform.</description><pubDate>Wed, 10 Sep 2003 09:14:00 GMT</pubDate><dc:creator>Robert W Marda</dc:creator></item><item><title>RE: Automate DTS Logging</title><link>http://www.sqlservercentral.com/Forums/Topic15806-102-1.aspx</link><description>"With DTS package automation, we naturally turn to SQL-DMO.". We actually turn to the DTSPackage Object library as opposed to the SQLDMO Object library. SQL-DMO offers no DTS control at all. </description><pubDate>Tue, 09 Sep 2003 10:30:00 GMT</pubDate><dc:creator>darren.green</dc:creator></item><item><title>Automate DTS Logging</title><link>http://www.sqlservercentral.com/Forums/Topic15806-102-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF=http://www.sqlservercentral.com/columnists/hji/automatedtslogging.asp&gt;http://www.sqlservercentral.com/columnists/hji/automatedtslogging.asp&lt;/A&gt;</description><pubDate>Fri, 29 Aug 2003 00:00:00 GMT</pubDate><dc:creator>Haidong Ji</dc:creator></item></channel></rss>