Where are my SSIS packages stored on my server?

  • Hi, I saved a couple of import packages on my SQL Server. How do I go about finding these packages? I tried clicking on "Connect" in the "Object Explorer" panel then choosing the "Integration Services" package. I then try connecting to the same IP address that my SQL Server engine is running on. But then I get an error saying "The specified service does not exist as an installed service".

  • Did you try entering the server portion of the instance name instead of the IP address of the server?

    [font="Courier New"]Michael Connolly
    [/font]

  • Use the following to verify that it exists on the server and make sure that the integration services service is running to view via ssms

    SELECT

    COUNT(*)

    FROM

    msdb.dbo.sysdtspackages

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • Hi Ness,

    I ran your query and there were no results. I just saved a test package and didn't get a result after running your query. I am guessing the packages are being saved somewhere else? Also, how do you make sure integration services can be viewed through SSMS?

  • Hi,

    That should show you the packages if you used the option to save them into SQL rather than via the file system. Did you deploy and use a manifest file?

    If you saved them into the file system you should be able to find the default location and open them(to be able to run, not edit) from there.

    I was talking about tthe means of seeing them in object explorer that you were using but you need the service to be running. You can only run them from there not edit them.

    Gotta run

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • The package is being saved to the SQL Server. The query you mentioned doesn't return anything

  • I was able to open up the SSIS package using Visual Studio and run it from there

  • Sounds like you're saving the package inside the solution which is probably going to be on your local hard drive.

  • Ness (8/14/2012)


    Use the following to verify that it exists on the server and make sure that the integration services service is running to view via ssms

    SELECT

    COUNT(*)

    FROM

    msdb.dbo.sysdtspackages

    :blush: I humbly apologise. The above is incorrect. I knew you could find them in msdb, but I did not check for myself.

    I have now tested and this is the wrong table for SSIS packages (perhaps for the 2000 dts packages?). Below is correct taken from Zoltán Horváth at the technet pages..(http://gallery.technet.microsoft.com/List-all-SSIS-packages-in-901addce)

    SELECT PCK.name AS PackageName

    ,PCK.[description] AS [Description]

    ,FLD.foldername AS FolderName

    ,CASE PCK.packagetype

    WHEN 0 THEN 'Default client'

    WHEN 1 THEN 'I/O Wizard'

    WHEN 2 THEN 'DTS Designer'

    WHEN 3 THEN 'Replication'

    WHEN 5 THEN 'SSIS Designer'

    WHEN 6 THEN 'Maintenance Plan'

    ELSE 'Unknown' END AS PackageTye

    ,LG.name AS OwnerName

    ,PCK.isencrypted AS IsEncrypted

    ,PCK.createdate AS CreateDate

    ,CONVERT(varchar(10), vermajor)

    + '.' + CONVERT(varchar(10), verminor)

    + '.' + CONVERT(varchar(10), verbuild) AS Version

    ,PCK.vercomments AS VersionComment

    ,DATALENGTH(PCK.packagedata) AS PackageSize

    FROM msdb.dbo.sysssispackages AS PCK

    INNER JOIN msdb.dbo.sysssispackagefolders AS FLD

    ON PCK.folderid = FLD.folderid

    INNER JOIN sys.syslogins AS LG

    ON PCK.ownersid = LG.sid

    ORDER BY PCK.name;

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply