SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Weird Depolyment issue with package with a script task.


Weird Depolyment issue with package with a script task.

Author
Message
Harold Buckner
Harold Buckner
Hall of Fame
Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)

Group: General Forum Members
Points: 3399 Visits: 471
We are in the middle of a BI upgrade project and was testing the script task.

We are having a weird issue with a deployed package using a vb script task.
To recreate the issue
We created a new package in SSDT 17.3 build 14.0.61709.290 targeted 2016 with a script task and a mail task .. I have a read\write variable named date, I create the VB script task to assign the date variable current date time. I then mail the new value.

When we test on our developers machines (more then one testing) the scripts run fine no issues.
When we deploy to our SQL 2016 server the VB script is not running and not setting the variable.

If I copy the package to the server and then deploy from the server, the scripts runs as expected.

Can anyone direct me to what is going on and what the issue is?
Harold Buckner
Harold Buckner
Hall of Fame
Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)

Group: General Forum Members
Points: 3399 Visits: 471
Found out I have to use the SQL Server 2016 isdeploymentwizard.exe to deploy rather then deploying within SSTD. I thought MS was making the tools backward compatible. We may have to step back to SSDT 16.5 and see if that works.
frederico_fonseca
frederico_fonseca
SSCrazy Eights
SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)

Group: General Forum Members
Points: 9872 Visits: 5417
did you find out your self or did you find something on the net?

We have a similar problem on our shop at the moment.

Thanks
Harold Buckner
Harold Buckner
Hall of Fame
Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)

Group: General Forum Members
Points: 3399 Visits: 471
frederico_fonseca - Tuesday, December 12, 2017 1:03 PM
did you find out your self or did you find something on the net?

We have a similar problem on our shop at the moment.

Thanks


Been doing a lot of testing and posting on the MS forums. Here is what I found. If your Integration Services Server is 2016 then you need to stay with SSDT 16.5. You also need SSMS 16.5 installed as well. When You deploy a package within SSDT it needs to use the 2016 isdeploymentwizard.exe .
if you want to read some of my testing details. Here is a link. https://social.microsoft.com/Forums/en-US/2710aac7-e896-48b1-9904-49dac98506e1/weird-depolyment-issue-with-package-with-a-script-task?forum=sqlintegrationservices

but for everything to work correctly I downgraded SSDT to 16.5, install SSMS 16.5 and if you install SSMS 17.x + there is no issues but you have to keep 16.5 installed.

Ok I have downgraded to SSDT 16.5 and Currently have SSMS 16.5 and I can deploy Packages now from SSDT.

If I deploy the Project in SSDT 16.5 the script executes

If I deploy the package in SSDT 16.5 the script execute

If I deploy the package with SQL 2016 isdeploymentwizard.exe the script executes.

So this is exactly what I want to work. Shame upgrading the SSDT breaks the package deployment for Integrations Services 2016.


Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search