Edit Script... button in SSDT 2013 won't work - ssis

I've been doing some self directed learning in SSDT 2013 and for some reason the Edit Script button won't work.
I've read through some threads, the closest being this one and also took up some advice about opening the software as Administrator but still it won't work.
Moreover, I tried to install SSDT 2012 but apparently I have that already loaded but can't find it in my apps bar.
Does anyone have any further ideas or suggestions?

Related

Opening Biml Solution Crashes VS2019

Yesterday I built a Biml solution in Visual Studio 2019 that worked fine. Today I opened Visual Studio to the same solution and I get a message box saying "Unable to load one or more breakpoints". I click 'Ok' and the solution continues to load. Once all of the SSIS packages finish loading, Visual Studio crashes. Not sure if I even have a breakpoint in any of the packages, but even if I did, I don't know how to delete it if VS keeps crashing before I can start editing any package. If I try to open the solution again, I see this warning:
A previous session ended unexpectedly. Disabling this extension BimlExpress 5.0.64108.0 might help.
I've tried uninstalling and reinstalling BimlExpress but that has no effect on the problem. Any ideas on how to fix this? So frustrated.
I copied the Biml files to another solution and the problem seems to have resolved. Not sure what got corrupted but at least it's working now.
I had the same issue with BIML Express 5.0.64108.0 in Visual Studio 2019. I deleted the ".vs" directory in the solution, which resolved it for me. Prior to that, I did delete the "bin" and "obj" directories in the project directory, which did not seem to help.

Paste special (json to a class) missing VS2019 - with all web dev tools installed

A very valuable tool is the ability to quickly grab json and create a class. Paste Special in previous versions of VS was a great feature, but I can't locate it in Visual Studio 2019.
According to this forum thread, you just need to add the ASP web development tools. I've installed everything, paste special nowhere to be found.
How/where do I go to enable this or what is the new alternative provided in Visual Studio 2019?
I've combed through all the options & individual components in Visual Studio Installer, and I've enabled just about everything where this might live. But it's still not showing up in menu.
I met the same problems in here too with 2019 visual studio and found out how to fix it.
Go to Visual Studio Installer > Modify > Individual Components > Web development Tools
It should be under the Edit menu:
If you've installed the ASP.NET tools and still don't see this, send feedback so the product team can investigate why.
If you don't do it often, just use an online JSON to class converter
The "Paste JSON as Classes" option doesn't display when in debug. Just in case you had the option, but it seemed to disappear.
Try restarting your computer. My Paste special disappeared after altering some extensions. I updated Web Essentials 2019 and then uninstalled CodeMaid. When the option disappeared, I tried restarting Visual Studio and it didnt work, but after I restarted my machine, the option came back

SSIS VSTA Script Editor Not Displaying in VS2015

I recently created a new SSIS project from within VS2015. I added a script task and when I click on the "Edit Script" button. Visual Studio opens; however, there's no solution
I'm running VS as administrator. I've tried re-installing Microsoft Visual Studio Tools for Applications 2015. With no luck. I did once get the solution to pull up after I re-installed Microsoft Visual Studio Tools for Applications 2015; however, the next time I clicked "Edit Script" there was nothing.
Is this a bug withing VSTA or has anyone else came across this issue?
"Edit Script" buttion from within the Script Component:
No solution when clicking "Edit Script":
Ok, for me this problem was due to Resharper - if I go under Tools | Options | Resharper and Suspend Now it allows the VSTA editor to display each time. Hope this helps
I've solved the exact same problem today. In my case it was most likely caused by installing and removing several versions of VS/SSDT without some proper clean-up.
Go to Control Panel -> Uninstall or change a program -> "Microsft SQL Server Data Tools for Visual Studio 2015" -> Change -> Repair.
Repeat the steps for "Visual Studio Tools for Applications 2015".
This should only fix your installation and not affect any of your projects.
After restarting my Windows the problem was fixed!
I have VS 2013 (with VSTA 2012) and VS 2015 (with VSTA 2015). I had the same problem: If I tried to edit a Script Task (both in VS 2013 SSIS or VS 2015 SSIS project), the VS 2015 shell opened, but was empty.
I tried the solution described by Rae: Uninstalling "Visual Studio Tools for Applications 2015" and subsequently repairing "Visual Studio Tools for Applications 2012". This solution worked for VS 2013, after that, all scripts are opened in VS 2012. But after that, in VS 2015 SSIS Projects, I could no longer edit Script Tasks. (Error message "Could not load file or assembly 'Microsoft.VisualStudio.Tools.Applications, Version=14.0.0.0,...")
The solution was:
- Repair "Microsoft SQL Server Data Tools - Visual Studio 2015" (which re-installed VSTA 2015). After that I had the same problems like at the beginning, VS 2015 Shell opened empty, without source code file.
- Install VS 2015 Update 3 (like recommended by Rob Nicholson). This was the fix...
After that, I can edit Script Tasks both in VS 2013 SSIS and VS 2015 SSIS projects, both open the VS 2015 shell.
I was experiencing this issue with an SSIS 2012 project.
Uninstalling "Visual Studio Tools for Applications 2015" and subsequently repairing "Visual Studio Tools for Applications 2012" got it for me.
My SSIS project in VS2012 would try opening scripts in a VS2015 instance. After uninstalling VSTA 2015, VS2012 now successfully opens the scripts in a VS2012 instance.
For reference, I have both Visual Studio 2012 and Visual Studio 2015 installed. I also have SQL Server Data Tools v11.1 and v14.0 installed.
I'm guessing this issue comes down to clashing versions of Visual Studio Tools for Applications.
I tried many of the proposed solution but could not get this working. After I updated SQL Data Tools to 14.0.61707.300 (the highest version of available for Visual Studio 2015 available) and applied Visual Studio Update 3 (14.0.25420.01) the code inside the Script Task / VstaProjects now populates correctly. As a side note my SQL/SSIS version is 2016 and Visual Studio Tools for Applications 2015 is at 14.0.23829. Hope this helps
I've encounted the same problem as well.
Since no solution to repair VisualStudio until now, I began to do the job by writting my own code directly in the DTSX file.
If your logic business was not very complex, this solution maybe suitable:
Firstly, add a "Scritp Task" in your package of SSIS project. It will generate lots of code in the DTSX file, and save our work.
Open DTSX file of the package in Notepad++/SublimeText, as your wish, and look for "// TODO: Add your code here", which was in a public void Main().
Fun Coding!
I've uploaded a project of TestScriptTask, in case of making coding easier in visual studio. It needs SQL Server Developer edition installed at least (Express edition probably would not work, didn't test).
Restart VS 2015, then it will load the next time you try.
Every time it fails, restart VS.
Yes simple/tedious... but works. Just write everything correctly the first/1 time you edit the script ;) easy
I came across this issue and it was driving me crazy. GIT is definitely what is causing this. When you take the solution out of the source control directory, the problem disappears.

Script Component in SSIS shows up as an empty 'VstaProjects' solution

I have SQL Server 2012 Client Tools installed on my Windows 8 machine. I am currently writing an SSIS project which has a lot of Script Tasks. When I double click on a Script Task and then click on the Edit Script... button, I observe the following:
Expected Result: The Script Task Project loads in Visual Studio 2010 shell
Actual Result: Empty Solution 'VstaProjects' opens up in Visual Studio 2010 shell
I was getting the expected results till the last day. I do not know what triggered this problem. I re-installed the SQL Server 2012 Client Tools and it did solve the problem but only temporarily, the issue appears again and it is very frustrating to work now.
This talks about the same problem as mine but I do not see a solution there that works reliably.
Can someone out there help me solve this problem?

Visual Studio Express: registration issue

I have downloaded and been using Visual Studio Express for last few weeks. All of a sudden today, it's forcing me to register. When I try to do so, the registration site appears to be unresponsive. This is horrible, and now I can not continue with my work because of Microsoft's broken site.
How can I fix this problem?
The easiest thing to do is download the offline installer and install that. If you do it this way, you don't have to register at all. You can find the offline installer at http://www.microsoft.com/express/download/default.aspx#download-offline