SolvedPrivate

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

Posted on 2014-01-20
7
46 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Query Syntax 17 36
sql select record as one long string 21 24
sql server query 6 9
syntax sql error 2 13
My client sends data in an Excel file to me to load them into Staging database. The file contains many sheets that they have same structure. In this article, I would like to share the simple way to load data of multiple sheets by using SSIS.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

810 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