SolvedPrivate

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

Posted on 2014-01-20
7
50 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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 43

Assisted Solution

by:Eugene Z
Eugene Z 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
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

622 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