Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

181 Posts

Posted - 07/30/2014 :  08:42:34  Show Profile  Reply with Quote
I have a problem I need to resolve. or indeed if I am on the right forum.

We build a dtsx with VS2012 on a SQL2014 server. I need to execute that dtsx from a SQL 2008R2 Stored Procedure.

Is it possible to run the sp from vs2008 to run the dtsx or would I need to call a sp on the SQL2014 server to execute the dtsx.

because of the components used in the dtsx for CRM I cannot build the dtsx on the 2008 Rs server

Almighty SQL Goddess

38200 Posts

Posted - 07/30/2014 :  12:39:37  Show Profile  Visit tkizer's Homepage  Reply with Quote
Can it be done asynchronously? If so, you could have the stored procedure start a job that executes the package. If it needs to be synchronous, you could have the stored procedure pause and keep checking the status of the job. Alternatively, you can run the package via xp_cmdshell, but that's highly against best security practices.

Tara Kizer
SQL Server MVP since 2007
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000