VS 2022 for SSIS not showing checkbox against properties to export - ssis

I have installed VS 2022 with SSIS extension. I am able to work with SSIS packages in VS 2022 & run them.
I want to export some properties to XML configuration (package configuration). However, it is not showing the checkbox against properties as shown in image. It is also not allowing me to select the checkbox at the task level.
Why are the checkboxes missing against properties, any idea?

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.

SSIS - Remove configuration on project deployment model

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>

AX2012 - How to unlink business logic from report?

I'm creating a new SSRS report in AX2012. At first, I added some Data Methods through Visual Studio, but later I found another way to get what I wanted without using those data methods. Consequently, I deleted the Data Methods and the Business Logic project.
Now, everytime I build the report, I get a warning :
Could not resolve 'projectname' from the AOT. If the reference is required in your code, you may get compilation errors.
How do I delete the reference to the business logic project? My report runs without problems, but I would like to stop getting this warning...
Thanks!
It should just be a project dependency.
See here: https://msdn.microsoft.com/en-us/library/et61xzb3.aspx
To remove:
In Solution Explorer, select a project. On the Project menu, choose
Project Dependencies. The Project Dependencies dialog box opens. On
the Dependencies tab, select a project from the Project drop-down
menu. In the Depends on field, clear the check boxes beside any other
projects that are no longer dependencies of this project.
EDIT: Another option is to export the XPO and edit it in there, and reimport.

Building an SSIS 2008 solution using TFS 2008

I am trying to build an SSIS 2008 solution using TFS 2008. I created a 'TFSBuild.proj' file using the build definition wizard. My build appears to work, but fails at the final step with the error...
(0,0): warning MSB4126: The specified solution configuration "Release|Any CPU" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration.
I've tried...
Leaving the 'FlavorToBuild' & 'PlatformToBuild' values blank in the 'TFSBuild.proj'
Amend the 'FlavorToBuild' & 'PlatformToBuild' values in the 'TFSBuild.proj' file to various other strings
Any ideas?
Apparently you can't build SSIS project files, out of the box, because they are not in MSBuild format. Great!! - Sarcasm overload.

Redeploying Custom Control flow component SSIS

I have developed a custom control flow task component, just want to check if there is any specific process or way in which if we redeploy the second/later versions of the component then we need not reset toolbox and add the component manually to the Toolbox? As of now if I make any changes to the custom component and redeploy, I have to reset toolbox and readd the component in BIDS.Which is causing problems.
Thanks in advance
Sai
Fix the assembly version, so it does not change with every deployment.
I.e. if your AssemblyInfo.cs specifies assembly version 1.0.*, make it e.g. 1.1.0.0, and don't change it, except between major incompatible releases.