SSIS - Remove configuration on project deployment model - ssis

I have converted my project to Project deployment model. When I was converting there was a checkbox which said “Remove configurations from all packages after conversion" and I did not check it when I shouldn't have. Now all the configurations are part of my local project. Is there a way I could remove all the configurations after the conversion is complete?
Thanks

You can try this and let me know if it works:
Double click on package to open and see its properties in right
side.
Click three dots in configuration as shown in image.
Now
enable the package configuration. It should show your config which
you can simply delete.

I know this is old, but I came across the same issue and hoping this will help someone. I am using Visual Studio 2017 v15.9.11 and SSDT v15.9.0 on Windows 10 Enterprise. This was done for a package destined for SQL 2016, but I believe it would work on any package for SQL 2012+.
You can remove/disable package configurations after conversion by doing the following:
Find your dtsx file in Solution Explorer
Press F7 (or right-click the package > View Code)
Search for the <DTS:Configurations> element and remove the entire section
Save the file and re-open in designer view. Right-click the package and "Package Configurations..." should no longer be in the context menu.
Example from one of my packages - this is what was deleted:
<DTS:Configurations>
<DTS:Configuration
DTS:ConfigurationString=""CONFIG";"[dbo].[SSIS_CONFIG]";"YourConfigName1";"
DTS:ConfigurationType="7"
DTS:CreationName=""
DTS:DTSID="{C2C3EDFC-392A-401F-AC75-4D4C82A9CD68}"
DTS:ObjectName="Configuration 1" />
<DTS:Configuration
DTS:ConfigurationString=""CONFIG";"[dbo].[SSIS_CONFIG]";"YourConfigName2";"
DTS:ConfigurationType="7"
DTS:CreationName=""
DTS:DTSID="{A7F0C4DD-4891-44E1-817A-AB8431DA6509}"
DTS:ObjectName="Configuration 2" />
</DTS:Configurations>

Related

Missing some components in SSIS toolbox in Visual Studio 2017

I am using Visual Studio Community 2017 for developing SSIS packages and I use SQL Server 2016.
Some of components are not in SSIS Toolbox.
This is that I have now:
and this is my colleges have(They don't have the same version of Visual Studio that I have):
For example: I need to add a XML Source component to one of my Data Flow but there is not anymore in Other Sources sector in SSIS Toolbox.
I tried to add the missing components (Tools -> Choose Toolbox Items ->) but I don't have the tab for SSIS component.
How can I add those components (For example XML Source) to my Toolbox?
I have found the cause of this problem.
By changing the TargetServerVersion to SQL Server 2016 in Project properties. My project has been converted and now i have this component in my ToolBox.
Now, I have XML Source component in my SSIS ToolBox.
I can confirm the answer given by Ardalan Shahgoli resolved my missing component. I have captured a screenshot demonstrating the problem and the resolution. In my example, I was missing a component 'Excel Source Plus' from the 'CozyRoc' addin
PROBLEM:
Missing some components. The data flow has the component on the canvas, but there are of error messages in the Error List window, and you are unable to edit the component. For example, you might see an error message such as this:
Severity Code Description Project File Line Suppression State
Error Validation error. Alt Data Flow_Merge Data Task: Alt Data
Flow_Merge Data Task: The component metadata for "Lookup Plus, clsid
{8DC69D45-2AD5-40C6-AAEC-25722F92D6FC}" could not be upgraded to the
newer version of the component. The PerformUpgrade method
failed. SSASUsageStats.dtsx 0
RESOLUTION:
Changing the TargetServerVersion will effect which components are available in the 'SSIS Toolbox'. As seen in the screenshot, there are tons more components after changing the project property TargetServerVersion. For example, 'Excel Source Plus' is found. The Data Flow canvas now has an image by the icon. And the component now has an 'EDIT' option.

Renamed SSIS Package and Now Don't Have Access to my Solutions

I made a goof and renamed my SSIS package without fully understanding what I was doing. Now I get "one or more solutions couldn't be added..." I then go to my solution explorer and no solutions are there. Please note that I've been working on this project for 6 months. I checked the project obj folder and all my solutions are there. I'm pretty sure I have to rename something else. Will somebody please help me. I am an intern and am FREAKING OUT.
Let's examine what's happening. I am using SSIS 2012 in this example but the steps will be the same for 2005 to 2014. This assumes you have turned off "hide file extensions".
Visual Studio is an Integrated Development Environment, IDE, for developing software. The outermost concept is a Solution. See 1 below. Solutions solve a problem as a whole. A solution might need multiple tools to solve a problem. A tool in this case, is a Project (#2). Depending on the type of project, different folders and such will appear in section 3. This is an example of an SSIS project.
If you don't see your solution, there's a question for that Solution Folder Not Showing in Visual Studio 2010 - How Can I Make It Visible?
If I Rename the project JeffOrris to JeffOrris2 and close Visual Studio, it will prompt me to save changes to JeffOrris.sln (and optionally, the project). If I click No, when I reopen the solution, I am greeted with the following error message along with Visual Studio indicating that my project JeffOrris is unavailable. :'(
---------------------------
Microsoft Visual Studio
---------------------------
One or more projects in the solution were not loaded correctly.
Please see the Output Window for details.
---------------------------
OK
---------------------------
To start fixing things, you have to get Visual Studio to play ball. You can do this one of two routes. The first is to Add the renamed project back into the solution. Add... Existing Project... and then find your .dtproj file (or .whatever it was with 2005/2008) Assuming that loads fine, you can right click on the one that isn't loading and select Remove. Then click "Save All" or Ctrl-Shift-S
Option 2, which is what I do is to go mucking about with files. Find where your .SLN is. If your project is still open, it will indicate it under properties but once it's bolloxed then you'd need to right click and choose Open Folder in File Explorer.
However you get here, look at what you have.
A solution is represented on disk by a .sln file. That's a text file, might be UTF-8 but it's human readable text. The .suo file is binary that keeps track of what you have open and such. It doesn't matter, the .sln does.
Take a peek inside your solution file. Knowledge is only good for you
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{159641D6-6404-4A2A-AE62-294DE0FE8301}") = "JeffOrris", "JeffOrris\JeffOrris.dtproj", "{631559E9-5ED5-4F63-B74E-BFB6CBAE89C5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Development|Default = Development|Default
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{631559E9-5ED5-4F63-B74E-BFB6CBAE89C5}.Development|Default.ActiveCfg = Development
{631559E9-5ED5-4F63-B74E-BFB6CBAE89C5}.Development|Default.Build.0 = Development
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Of importance is the line starting with Project. That says I, the Solution, have a Project called JeffOrris and the project file can be found, relative to my location, at Folder called JeffOrris and inside there a file named JeffOrris.dtproj
The "trick" then is to make your subject and verbs agree. Or in this case, make your Solution and your .dtproj file agree. That'd be #6 below. After saving the solution file, Visual Studio should prompt you to reload it and whoosh, your project is back.
If you have inadvertently renamed the .dtproj file, then you can rename it back. Again, save all

BIDS "Start Debugging" button not working

This is a very strange issue. In BIDS/Visual Studio, the "Start Debugging" button does not run the active package that I am working on. Instead it opens another package in the project (always the same one) and runs that one instead. I can only run the active package by right clicking on it in Solution Explorer and selecting "Execute Package". I run BIDS on three separate machines and the other two machines do not do this. Is this button programmable? I have not found any setting for this button.
Has anyone else seen this?
In your Project Properties (right click on the project), under the Debugging tab you should have an option for setting a StartObjectID. By Default, this is <Active Package> but if you have an actual package selected here, then that would correlate with the behaviour you are describing.
you can also try this.
open a new ssis project,then import this package which is not debugging into the project.
steps.
create new project->SSIS packages->right click->add existing packages.
You can also right-click the package you want to use as the main package and set it up to be the starting project. Right-click the package in Solution Explorer and select "Set as StartUp Object" from the menu.

Is it possible to get code-hinting in JetBrains WebStorm for a non-core node package?

Is it possible to get code-hinting in JetBrains WebStorm for a non-core node package? Specifically, I'd like to get hinting/completion working for buster. I can't seem to find any information on this. Thanks much!
For buster.js, download buster-test.js and save it somewhere the WebStorm/PyCharm project can see it. Hinting should show up immediately.
WebStorm 2020.1
There's a trick to getting "coding assistance" for 3rd party packages that support community stubs (AKA Typescript definition files):
Open the project's package.json
Position the cursor on the package (within the dependencies section)
Press alt+enter (or click the light bulb)
Choose Install '#types/name' (where name is the dependency)
For example:

How to package a HTML/Metro App for deployment outside Visual Studio 2012

Does anyone know how to package an app for deployment of a HTML/JS Metro Application outside Visual Studio. I keep hearing reference to a "Store" Menu Item, but I am using Visual Studio 2012 RC Ultimate Edition, and there is no such Top level Menu Item.
I've also tried using the command line tool with a given manifest file (the one built automatically within a build) to create an appx file, but get some esoteric error message at the end of the packaging.
Update: Command line error message
MakeAppx pack /d .\Release\AppX /p generic.AppX
The package path (/p) parameter is: "generic.AppX"
The content directory (/d) parameter is: ".\Release\AppX"
Enumerating files from directory ".\Release\AppX"
Packing 52 file(s) in ".\Release\AppX" (content directory) to "generic.AppX" (p ackage name).
Using ".\Release\AppX\AppxManifest.xml" as the manifest for the package.
Adding ".\Release\AppX\images\splashscreen.png" to the package as a payload file. Its path in the package is "images\splashscreen.png".
Adding ".\Release\AppX\images\logo.png" to the package as a payload file. Its path in the package is "images\logo.png".
Adding ".\Release\AppX\images\smalllogo.png" to the package as a payload file. Its path in the package is "images\smalllogo.png".
Adding ".\Release\AppX\images\storelogo.png" to the package as a payload file. Its path in the package is "images\storelogo.png".
.........{Cut for brevity's sake}.........
MakeAppx : error: Package creation failed.
MakeAppx : error: 0x8007007b - The filename, directory name, or volume label syntax is incorrect.
Update: Figured It out (Sort of)!
I dont know what happened, but I create a blank XAML/C# Metro App. When you right click on the project, you get a Store option. It still wasnt showing up on my HTML/JS Metro app project, So i created a clean HTML/JS Metro Project....and there it was, a "Store" Option.
So I opened my current, non-working project again, right clicked on the project and there it was, the "store" option. I don't know if this was a 2012 RC bug, but I will leave this question here just in case someone else runs into this.
it is under the "Project" menu.
like you had said, it might be a bug. VS2012 is still buggy at the moment.
I hit this issue too, don't know the reason, but file mapping works for me, try call:
makeappx pack /v /o /f mappingfile.txt /p yourapp.appx
Content of mappingfile.txt:
[Files]
"App.xaml" "App.xaml"
"AppxManifest.xml" "AppxManifest.xml"
"folder\file.ext" "folder\file.ext"
"***.***" "***.***"