SolvedPrivate

Copying  an SSIS Package from the MSDB databae to the File System in SQL Server 2008 .

Posted on 2014-01-20
7
45 Views
Last Modified: 2016-02-10
Hi,
I have a package stored in the MSDB database which I now want to move and execute from the file system.
I connected to SSIS in management studio,
Right click on the package in MSDB
Select export package,
Enter a package path to a folder I have created,
Click OK
And I get the following message
msdb-export.pngI am expecting the dtsx package to be copied to the folder I have created.
Any guidance appreciated,
Thanks
0
Comment
Question by:blossompark
7 Comments
 
LVL 16

Assisted Solution

by:Surendra Nath
Surendra Nath earned 25 total points
ID: 39795516
A similar question is asked by another user earlier and here is the answer to that question, check it out and let us know the results

http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SQL-Server-2005/Q_25095027.html
0
 

Author Comment

by:blossompark
ID: 39796165
Hi Surdra,
thank you for your response, I will update with results later
0
 

Author Comment

by:blossompark
ID: 39796376
Hi Surdra,
That does not resolve my issue unfortunately, also it is an abandoned question.

I have tried doing this on my windows 7 pro laptop and opened management studio as an administrator .
I   created  a folder c:\test on my local drive and tried to export the package from the MSDB database to this location and I got the following error

===================================

Cannot find folder "c:\test".


------------------------------
Program Location:

   at Microsoft.SqlServer.Dts.Runtime.Application.ExistsOnSqlServer(String packagePath, String serverName, String serverUserName, String serverPassword)
   at Microsoft.DataTransformationServices.Controls.PackageLocationControl.SavePackage(Package package)
   at Microsoft.SqlServer.Dts.ObjectExplorerUI.ExportPackageAction.OnSavePackage(Object sender, CancelEventArgs e)

===================================

Cannot find folder "c:\test".


------------------------------
Program Location:

   at Microsoft.SqlServer.Dts.Runtime.Wrapper.ApplicationClass.ExistsOnSQLServer(String bstrPackagePath, String bstrServerName, String bstrServerUserName, String bstrServerPassword)
   at Microsoft.SqlServer.Dts.Runtime.Application.ExistsOnSqlServer(String packagePath, String serverName, String serverUserName, String serverPassword)

0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

Author Comment

by:blossompark
ID: 39796501
Here is another attempt to extract a dtsx file from the msdb database on my windows 7 laptop
file transfer
Maybe I have misunderstood the functionality?
What I am expecting is the dtsx file of the File Watcher task to be copied to c:\test.
Is that a reasonable assumption?
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 400 total points
ID: 39796521
It may seem weird but you need to select File System as Package Location.  It refers to the destination, not the source...

Surendra: please read questions properly before posting, that link you posted doesn't have any relation to this question.
0
 
LVL 42

Assisted Solution

by:EugeneZ
EugeneZ earned 75 total points
ID: 39796522
is this sql server on your PC?

if not - you need full path  \\pcname, maybe create shared folder, etc.


also check if you have sql server permissions (for example SA, SSIS admin) and NTFS permissions on your PC

or ask DBA to get it for you
0
 

Author Closing Comment

by:blossompark
ID: 39796661
Thanks ValentinoV,
This is exactly the issue :-)
"It may seem weird but you need to select File System as Package Location.  It refers to the destination, not the source..."
I would never have "got" that...

Hi EugeneZ, thanks for your response,

Thanks Surendra for your initial response
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
I have a large data set and a SSIS package. How can I load this file in multi threading?
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now