<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SQL Slayer &#187; SQL 2005</title>
	<atom:link href="http://www.sqlslayer.com/wp/category/sql-2005/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sqlslayer.com/wp</link>
	<description>Making SQL do what we want it to do.</description>
	<lastBuildDate>Mon, 12 Dec 2011 13:53:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Scripting out agent jobs that call DTS packages in SSMS 2008</title>
		<link>http://www.sqlslayer.com/wp/2010/01/13/scripting-out-agent-jobs-that-call-dts-packages-in-ssms-2008/</link>
		<comments>http://www.sqlslayer.com/wp/2010/01/13/scripting-out-agent-jobs-that-call-dts-packages-in-ssms-2008/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 15:29:51 +0000</pubDate>
		<dc:creator>Adam Bean</dc:creator>
				<category><![CDATA[DTS]]></category>
		<category><![CDATA[Management Studio]]></category>
		<category><![CDATA[SQL 2000]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL 2008]]></category>

		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=191</guid>
		<description><![CDATA[<p>Experienced a rather odd problem today &#8230; I scripted out multiple jobs from a SQL2000 environment using SSMS 2008 that call DTS packages. The command line for the jobs looked like DTSRUN /S &#8220;Server\Instance&#8221; /N &#8220;PackageName&#8221; /E. When I ran the jobs, they continually returned:
DTSRun: Loading&#8230;
Error: -2147467259 (80004005); Provider Error: 17 (11)
Error string: [DBNETLIB][ConnectionOpen (Connect()).]SQL [...]]]></description>
			<content:encoded><![CDATA[<p>Experienced a rather odd problem today &#8230; I scripted out multiple jobs from a SQL2000 environment using SSMS 2008 that call DTS packages. The command line for the jobs looked like <em>DTSRUN /S &#8220;Server\Instance&#8221; /N &#8220;PackageName&#8221; /E</em>. When I ran the jobs, they continually returned:<br />
<em>DTSRun: Loading&#8230;<br />
Error: -2147467259 (80004005); Provider Error: 17 (11)<br />
Error string: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.<br />
Error source: Microsoft OLE DB Provider for SQL Server<br />
Help file:<br />
Help context: 0</em></p>
<p>I then took the command to a command prompt locally on the server, and the same error presented itself. Without going into all the other troubleshooting I did to find resolution, the problem ended up being that when using SSMS 2008, somehow there were hidden ascii characters in the command line. I found resolution by simply retyping the command. I then verified that the problem was indeed SSMS 2008 as I used SSMS 2005 to script and recreate the job again, and it worked without problem.</p>
<p>Hope others find this helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlslayer.com/wp/2010/01/13/scripting-out-agent-jobs-that-call-dts-packages-in-ssms-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

