The Freelance Programmer

November 4, 2009

Importing SQL Server Integration Service Packages

Filed under: technology — Tags: , , , — mydeveloperblog @ 5:04 pm

Due to waiting for answers to emails and for changes to the database server to be applied (exactly how long does it take IT Services to turn on SQL Server Agent???), I’m still waiting to complete the SQL Development work I started so many weeks ago. But I digress…

Part of the work is to create SSIS packages which I did using Visual Studio and then imported into Management Studio and ran them. Part of the package was to output the query to a file whose filename included todays date which is very easy to do using the Expression Builder (and this wiki proved very useful) but no matter what I did to the package it would run fine in Visual Studio, but when I imported it into Management Studio it would revert to using an old filename that I’d put in when I first created the package.

Quite a while later (being a bit slow today obviously!), it dawned on me to check where I was importing the new version of the package from. I had assumed that it was importing from the place that Visual Studio was saving to, but no it was using the SSIS folder where I’d exported a package with the same name much earlier. Doh!!! Changing to import from the file system and selected the new package and ta-da, it all worked! Oh what an idiot I am!

Note for the day – ALWAYS check the basics when things aren’t working!!

Advertisement

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Silver is the New Black. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.