VSTA 2019 - Unable to build script task

Alex Kisiel 76 Reputation points
2021-03-05T15:49:02.677+00:00

Hi, I've recently been setting up a new machine, and after setting up VS2019, along with the SSIS Package extension, I am now unable to build SSIS Script Tasks from previously-existing packages. I also had to install VSTA 2019 separately, as that wasn't added by the SSIS extension.

When attempting to build mscorlib throws the following error:

Could not find part of path 'C:\Users\akisiel\AppData\Local\Temp\vsta\22a6604e4a064cbeaf73a4fe72e33158_out'

I'm unable to find any information about this error, and have tried repairing and even reinstalling the following:

  • VS 2019 SQL Projects
  • V2 2019 itself
  • SSIS Packages for VS2019 extension.

Has anybody experienced this previously and able to help?

Thanks,

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,626 questions
{count} votes

Accepted answer
  1. Myers,Brennan 116 Reputation points
    2021-03-07T20:12:57.317+00:00

    Update: reverting my VS2019 v16.9 install to v16.7 fixed the issue.
    Just noticed this note: https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects

    Common Issues
    There is a regression in VS 2019 16.9 that will cause script task/component not work properly when editing script. Please do NOT upgrade to 16.9 currently. If you have already upgraded to 16.9, please rollback to 16.8 or earlier version if you are using script task/component. VS team is working on the fix. Sorry for any inconvenience.

    I'm uninstalling v16.9 right now, then installing v16.7 (v16.8 isn't available in my VSS list).
    Will report back.

    7 people found this answer helpful.

7 additional answers

Sort by: Most helpful
  1. Hotbuk 6 Reputation points
    2021-03-25T10:59:23.207+00:00

    Upgrade of the VS2019 to 16.9.2 and repair of the SQL Server Integration Services Projects with a stand-alone installer, version 3.12.1 fixed the issue.

    1 person found this answer helpful.

  2. James 1 Reputation point
    2021-03-09T23:07:57.99+00:00

    I was also able to fix this issue by uninstalling 16.9 and installing 16.8, but got another issue then where the script tasks script button would not work.
    I had to reinstall Integration Services 3.12 to get the script button to work again (running the repair install option didn't help the script button issue, it needed to be uninstalled and then installed again).

    0 comments No comments

  3. Leandro Oliveira 1 Reputation point
    2021-03-11T13:32:38.393+00:00

    I have the same problem. I do not know what to do

    0 comments No comments

  4. Bart Bertolio 1 Reputation point
    2021-03-12T00:37:16.923+00:00

    It is probably a regression error in VS 2018 16.9. Microsoft support pointed me to this article

    https://learn.microsoft.com/en-us/answers/questions/301059/vsta-2019-unable-to-build-script-tasl.html

    They said to roll back to 16.8

    0 comments No comments