SSIS Package Script Component Won't Show - visual-studio

I have a strange bug, I have a loop in my control flow, amongst other things in the loop I have two data flow tasks, each of these has a script component in it. When I use the Edit Script button the new window opens but the Solution Explorer is blank and no script ever shows, nothing is frozen it just doesn't appear. There are other script components within this same package and within the other packages we use and the scripts for them all seem to open fine. I was having this issue initially with VS 2017. I had no luck fixing the issue so I uninstalled/reinstalled, but no luck. I downloaded 2019 and those two scripts still will not appear for me in it. I've had several co-workers open these and everyone else sees these scripts fine regardless of the VS version.

Because you reinstalled VS 2019 I guess that you downloaded the newest version (16.9) of Visual Studio.
Version 16.9 have a big problem with script component and everybody trying to fix this bug.
Unfortunately, you can only downgrade VS to version 16.8 or wait for 16.10.
On link below, you can read that "issue has been fixed in 16.10 which will be released soon", as developers said.
Read common issues here:
https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects
From my experiences (I had same issues), the easiest way is to downgrade version.
Maybe version 16.10 will bring some other issues.

Related

Why VS2019 get suddenly very slow and laggy while trying to debug a c# application?

I am working on a c# code for the last couple of weeks and I debug it very often.
VS 2019 was working properly but suddenly it got very slow and laggy when I tried to debug my code.
I checked all resources on my machine. All seem as before and are available enough.
Even I checked the same IDE with other codes. All runs and debugs fast enough as before.
I also updated my IDE to the last version (currently 16.8.5 by the end of February 2021).
Did anybody has the same experience with the VS2019 ever?
Thanks in advance.
Not sure whether the issue is caused your code with IDE environment together. Please try the following suggestions:
1) disable any third party installed extensions under Extensions-->Manage Extensions-->Installed to check whether an extension caused that.
2) reset settings under Tools-->Import and Export Settings-->Reset all settings and you can also make a backup of the settings
3) close VS, delete all files under C:\Users\xxx\AppData\Local\Microsoft\VisualStudio\16.0_xxx\ComponentModelCache
and also delete .vs hidden folder under your solution folder, bin and obj folder.
4) type devenv /safemode under Developer Command Prompt for VS to start a pure VS and then try your project.
5) create a new project with your same code and check if this works.
Besides, if all do not help, you could try a small reproducible sample with us.
If debugging suddenly becomes slow, you might consider checking your symbol settings and debugging settings. If you for example enable .NET framework source stepping, debugging can be slow, or if you do not cache symbols or disable for example Just My Code or enable other stuff, like IntelliTrace or install a bad extension.
It might not be an alternative for you, but I am pleased to inform you that I have been using Visual Studio 2022 and it is radically faster. Yes, this is not opinionated, this is an observation. It IS faster. Maybe it is because I do not have many extensions on it, but it is also a 64-bit application with less memory pressure on the GC. So you can first check your settings and then give VS 2022 Preview versions for a spin. I have used it for months and the amount of bugs are rather small if you do typically development. For a Preview version, I am impressed with what they are working for nextgen Visual Studio.
You should also clean your solution and delete and bin and obj folders via for example Powershell script to make sure your binaries are updated. Then rebuild.
If you have "live share" extension enabled, perhaps can try to disable / uninstall that. This one was causing my problem.
Ok, #Mr Qian no 3 did the trick for me.
Situation: After a "Cleanup" (Microsoft Visual Studio\Installer\InstallCleanup.exe) my VS2019 was partially gone. Good tool. :-(
After (re)install, I had 2 folders "ComponentModelCache" over 2 folders of 16.0_xxx : 16.0_4f678462 and 16.0_119826cb
I renamed both "ComponentModelCache" folders (you can delete later, when it has effect)
Build ran as never before...
Thank you, Mr Qian
My problems started as I upgraded to Visual Studio 2022 (from 2019) and upgraded to Windows 11 (naughty naughty, two major changes).
Turns out Windows Defender didn't preserve my exceptions. Using this PowerShell script as a template saved a bit of time:
https://gist.github.com/Braytiner/be2497d1a06f5a9d943dc7760693d460
Performance is back to where is was pre my Windows 11/Visual Studio 2022 upgrade.
Visual studio 2019 (16.8.5) has this problem in debugging. I have updated it into 16.11.8 and it works properly.

Installation appears to be corrupt [Unsupported] - Visual Studio Code

I have a problem with my Visual Studio Code. I have a popup that appears in the bottom right corner, to inform that my VS Code is damaged. So this week I uninstalled my VS Code from Windows. I then went to the official Visual Studio Code website to get the installation executable. Once done, I do the installation, everything works again correctly, then 5 min after, there is a new popup.
Is there a solution that allows me to fix this?
I have a pc on Windows 10 64bits.
Short answer - try vs-code extension Fix VSCode Checksums.
After installation, open command palette and run 'Fix Checksums: Apply'. Now, just restart your vs-code.
or
Alternatively, open command palette and write 'Developer: Reload Window'.
That's it.
This fixes the issue for me as well (If you ever have any problems/doubts and wanted to undo what you just did, open command palette and execute 'Fix Checksums: Restore').
Details - I was having the same issue after installing 'SynthWave 84 theme' and 'Enable Neon Dreams' (that glow effect), as mentioned by answers above.
I searched for it and even though vs-code documentation suggested to re-install the VS Code (as mentioned in the second answer), I was willing to search for another possible solution.
so, I found this section on 'SynthWave 84' extension official page.
thus, just wanted to add another possibility to this question, which may help someone.
I will be following this and if it causes any issue in VS Code updates or anything related, I will provide an update.
JFYI - I am on macOS Catalina, but I am sure it will be the same for windows as well and vs-code September 2020 (version 1.50)
Maybe you installed an unsupported theme or extension, i.e. JS CSS loader and themes like SynthWave '84, this theme and extension are not supported by Visual Studio Code or change protected files that VScode uses.
I got this issue after installing "SynthWave 84" extension.
Official documentation is recommending the reinstallation of VSCode!
However, Took the following steps to resolve this issue as I never wanted to reinstall VSCode!
Uninstall "SynthWave 84" extension and this restarts VSCode
Restart VSCode manually again by closing all the VSCode projects
Update VSCode (Click on Settings -> Check for Updates) and this restarts VSCode.
Voila, the issue got resolved without having to reinstall VSCode.
It is possible your anti-virus software is removing necessary vscode files.
Try navigating to your anti-virus software settings and
finding the quarantined files.
If there are vscode files listed restore them.

PTVS - general IntelliSense problems - no error highlighting, no recognition of modules from other projects

I have used PTVS for two years now, and I remember (am I going crazy?) that PTVS always highlighted errors when working on a .py file in Visual Studio.
As of ~ Oct 10th (possible connected with v15.4 of VS2017), there have been issues with PTVS. In my frustration, I have completely reinstalled windows and wiped the entire computer clean. After installing drivers, I installed VS using the Visual Studio 2017 Community installer with the following options:
I then open Visual Studio, create a new empty python project, and type some garbage. No. Error. Correcting.
Am I going mad?
My python environment autocompletion / intellisense database is refreshed, by the way.
Meanwhile, the "View->Error List" window shows errors, even though they aren't highlighted.
Uninstalled the "Python native development tools" extension, still does not work. Installed with bare minimum python options (python language support, python 3.6, templates). Doesn't work.
Not sure if this is related (it probably is), Intellisense fails to recognize modules from other projects using any method. This was fine a week ago: (note green squiggles are Intellisense "Cannot resolve" errors)
I got the same issue as yours, but it could show the Red color in VS2015.
For this issue, I help you report this issue to the developer community site:
https://developercommunity.visualstudio.com/content/problem/132688/ptvs-general-intellisense-problems-no-error-highli.html
You could add your comment there.
For the second issue, about the module reference. Not the real Python team members, but maybe you could find a way here:
How to import functions from other projects in Python?
One thread for one issue, maybe you could start a new python issue for it.
This is a bug that fixed on 31 October 2017 with Update 15.4.2
Source
There was a bug in VS 2017 15.4, and apparently it will be fixed upon next release. For anyone experiencing these issues, VS 2015's Python Tools work if you need any of these functionalities.

Visual Studio hangs downloading Cordova Geolocation plugin

I have created a Cordova project in Visual Studio 2015. By using cordova --version on my project folder, I could see that I am using Cordova 4.2.0.
Next thing I wanted to do is installing Geolocation plugin. So I did this by editing `config.xml via VS UI. The problem is that, once I hit, "Add", VS hangs.
It stays in this condition forever.
Please note
I spotted other questions about people not being able to download the same plugin, but that was not VS hanging, it was VS reporting an error. The reported error should have been fixed.
FYI I installed VS2015 Enterprise (full installation).
It looks like it just takes a lot of time! I left Visual Studio in that state for 4 hours. And now I have the plug-in downloaded and everything is fine!
It is pretty strange though. My network was fine and up during all the time. However it might be some network issue concerning me. Unfortunately hard to say.
So basically the procedure is fine. If anybody else runs into this again, then i think Visual Studio is having troubles downloading these plug-ins.

Visual Studio runs comments

For some reason VS 2013 is completely ignoring my changes to the file.
Namely, even if I comment a whole section out it would still execute it!
I tried:
Clean build
restart computer
removing and including the same file again
Note: I am developing a cross platform application using Xamarin and VS.
Would appreciate any help!
Thanks
Probably you have compiled the project for Release, change that to Debug and build it again.
I doubt this question or answer would help anyone but here goes...
Solution: I had to update my SDK from the Android SDK Manager:
Open Android SDK Manager
Under Tools tick the checkbox next to the most recent Rev. ( I installed 23.0.5)
Click "Install packages..."
Background
After having the problem I described I noticed few other really strange things. For example VS would not let me modify any of my drawables. If I tried to delete, add or rename any drawable VS would get stuck and the only way to solve this was to force stop it.
Here is the bug for this issue Visual Studio hangs when including, excluding, or saving files in Android resource folders.
Once I installed the latest SDK everything was well.
Hope this helps

Resources