Due to error 0x80070057" The parameter is incorrect." SSIS job failed to run
Asked Answered
T

4

6

I have a SSIS job which run well in SQL Server 2008 but no longer working in SQL Server 2017. The error message I get is:

Cannot create a task from XML for Task "Email", type "Microsoft.Script.Task" due to error 0x80070057" The parameter is incorrect

Kindly advise any solution for this problem. Thanks

Tridentum answered 29/6, 2019 at 7:6 Comment(6)
Are you using ActiveX scripting?Uproot
I think no, do you have any idea why it mentioned pass in parameter incorrect? Even though the config file is setup correctlyTridentum
SSIS engine in SQL Server is version specific and is known to have poor backward compatibility (i.e. total lack of backward compatibility). You need to upgrade your SSIS packages to the correct version before re-deploying them on newer SQL Server versions.Dactylology
This should get you started: learn.microsoft.com/en-us/sql/integration-services/…Dactylology
I have try to create new SSIS package file using script task with empty function and use sql server 2017 job to call on it and also faced same issues. Any idea how to deal with this?Tridentum
What version of SSDT tools are you using? Make sure that it is the right version for SQL Server 2017.Dactylology
W
3

SSIS solutions that have been used on SQL Server 2008 R2, must be migrated to work properly on 2016/2017. The XML structure of the ssis packages is completely different and I believe 2008 packages only was supported until 2012/2014.

The process of doing this is basically.

  1. Install VS2017 and newest version of SSDT
  2. Open SSIS project and run migration wizard
  3. Solve migration conflicts
  4. Build and deploy
Winer answered 4/7, 2019 at 19:4 Comment(0)
T
0

I'm posting here because I've struggled as well with this issue, but on my SCD and I believe this might help someone.

I managed to resolve it by removing the precision of my datetime2(7)by converting it to a DateTime before entering the SCD component.

You can also try to reduce your varchar type fields from eg 4000 to 200 if possible which will allow your flow to run successfully.

Good luck!

Termination answered 1/4, 2022 at 7:43 Comment(0)
G
0

I had the same issue and the server where the job was running was missing the SQL Server Integration Services (SSIS). Installing the SSIS feature on the server has fixed this problem for me.

Gaiter answered 3/2, 2023 at 17:5 Comment(0)
D
0

on my end when I get that error when changing SQL account on the sql service is go to services.msc and then change the parameters there then go back to the configuration manager then restart the service.

Discrete answered 16/5 at 15:32 Comment(1)
the author needs to use some commas and dot and break a long sentence into smaller onesBituminize

© 2022 - 2024 — McMap. All rights reserved.