neehar gollapudi
asked on
SSIS Script component error
I created the script component and when I tried to reopen it after couple of days I get the below error. See attachment. Is there any other setting that I am missing. I also found that the ScriptMain.vb file is pointing to a temp directory. Any suggestion.
6-23-2017-4-38-45-PM.png
6-23-2017-4-38-45-PM.png
I used to encounter something like this from time to time in older versions (they weren't old at the time). It could be triggered by supposedly unrelated uninstalls or installs, I think, or maybe by the phase of the moon. It hasn't happened to me for a good many years now, and I no longer remember exactly how I used to fix it, but it was with an uninstall and reinstall of something, probably SQL Server Client Tools or BIDS or whatever contained VSTA itself. I didn't need to manually do anything else.
I agree - in those couple of days between the time you created the script and are trying to edit it, what happened? Was anything uninstalled? You can try repairing VSTA from the original SQL Server disk/installation media (https://nakulvachhrajani.com/2016/02/01/0372-sql-server-ssis-vsta-could-not-load-file-or-assembly-microsoft-visualstudio-tools-applications-core/).
By the way, it's okay for the ScriptMain.vb file to point to a local directory. When you save the script and ultimately the script component, the whole thing gets embedded into your SSIS package file.
By the way, it's okay for the ScriptMain.vb file to point to a local directory. When you save the script and ultimately the script component, the whole thing gets embedded into your SSIS package file.
ASKER
nope nothing changed . I will try repairing the VSTA
ASKER
repair didn't work.
If you perform a repair as opposed to an uninstall and reinstall, that might not fix it. It's also important to reinstall the right option(s). I think it was either BIDS or SQL Server Management Tools or both, but it was a long time ago.
I came across one post that said to uninstall and reinstall SQL Server. That seems like overkill.
I came across one post that said to uninstall and reinstall SQL Server. That seems like overkill.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Open in new window
https://social.technet.microsoft.com/Forums/lync/en-US/e5337b0c-7f70-4603-859e-fbc7d0cf1c37/cannot-show-visual-studio-tools-for-application-editor?forum=sqlintegrationservices
you can try it step by step if you wish...