Action Microsoft.crm.setup.shared.analyzerbase+collectaction failed - sql-server

I tried to install the Microsoft Dynamics CRM 2013 Report Authoring Extension (with SQL Server Data Tools support) after I successfully installed the Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2012 but an error came out saying I didnĀ“t have the requisites, which was Visual Studio 2010.... and I have 2012... so, I downloaded the 2015 version, and once I tried to install it, after the updates and some downloads the setup does, the error: Action Microsoft.crm.setup.shared.analyzerbase+collectaction failed appeared and it wouldn't let me go any further.
I found this article but is not exactly the same error:
https://support.microsoft.com/en-us/kb/2988630
And it lead me to delete some register files.... which is not always the best practice. If I could find something better.
I'm running Windows 8.1.
Anyhelp would be appreciated.

Ok..... I found the solution, as it is documented in this link:
I took a chance and deleted the specified registry.
"Expand the Windows Registry tree to the following registry directory:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\0EF1E6B4EFCDA2649B26A424D56DAACD"
The installation ran smoothly afterwards. Thanks for your time.

I got encountered this error while uninstall the MSCRM and I searched a lot but anything not helped.
At last I got resolved this issue when stopped the Microsof CRM Asynchronous Service from service.msc

Related

Microsoft Visual Studio 2017 Shell (Isolated) - Cannot find one or more components. Please reinstall the application

Cannot find one or more components. Please reinstall the application.
I unstalled all the C++ redistributables, repaired the Microsoft Visual Studio 2017 Shell (Isolated) and again installed the redistributables but no success found.
This error message pops up when I try to open Microsoft SQL Server Management Studio 2018.
I tried in every single possible way. Also reinstalled SQL Server and also the SSMS multiple times. They were installed without any error.
What should I do now?
In my case I found out that this problem is related to the Windows insider program.
The following page helped me solve this problem:
https://feedback.azure.com/d365community/idea/6b7d06dc-9bec-ec11-a81b-6045bd7ac9f9
On this page Erin Stellato wrote:
We have a workaround:
Download from https://github.com/thebookisclosed/ViVe/releases
Run (from elevated cmd prompt):
vivetool /disable /name:SV2Navpane
shutdown -r -t0
same issue. switched from Beta Channel to Release Preview Channel
KB5014959 seems to break ssms 18.12.1 and ssms 19. I uninstall it, but it keeps coming back and ssms still does not work. What is going on with Windows 11 and SSMS?
It seemed like it was working before, but the stupid update doesn't let me run SSMS, even if I uninstall it and pause updates, it still comes back, or maybe it doesn't actually uninstall like it says it does.
Check this:
Windows 11 Insider Preview Build 22621.586 and 22622.586
A fix for this issue is now available.

Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2019.IDTSApplication160'

I am using SSIS with Visual Studio 2019 for creating and deploying packages on SQL Server 2019. Initially when my package was running on SSDT I deployed it on SSMS Integration server but there was no output.
So, I Checked in Visual Studio 2019: Project -> Project Properties -> Configuration Properties -> General -> Target Version, which was set to SQL Server 2022, So I changed it to SQL Server 2019.
When I tried to run the package again in Visual Studio 2019 I got this error:
Failed to load the package "Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2019.IDTSApplication160'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{037FE238-12C5-4313-AE13-9E116E90ACEA}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).".
I tried registering the C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\DTS.dll using regsvr32 which shows success, but I am still getting the same error.
I also tried registering Microsoft.SqlServer.DTSRuntimeWrap.dll using gacutil.exe, still no luck.
Can someone tell me why am I getting this error and how to solve this.
Thank you in advance.
here is the workaround.
Here is the workaround: Solution Explorer -> right click project ->properties->debugging->Run64bitRuntime->set to false.
taken from https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects#:~:text=SSIS%20Execute%20Package,set%20to%20false.
I had the same problem with my VS 2019 after update to SSIS Projects 4.0. If possible, uninstall this version and install the latest general availability (GA) version 3.16, which can be downloaded here:
https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects
https://ssis.gallerycdn.vsassets.io/extensions/ssis/sqlserverintegrationservicesprojects/3.16/1645603822968/Microsoft.DataTools.IntegrationServices.exe
It solved the problem, you can run in 64bit runtime after downgrade.
I have only updated SSIS extension 3.16 to 4.0. I got same error. You should change configuration properties from right click project ->properties->debugging->Run64bitRuntime->set to false.
After that when i want to initiate VS, i got this warning '../Visual Studio 2019.lnk side by side configuration is incorrect'. I resolved the problem through repairing of SQL Server Integration Services Projects on Control Panel-->Programs and Properties.
I had the same problem start after updating Microsoft Data Tools Integration Services VS extension because of prompt by VS. The upgrade was to v4.0 which is not yet generally available.
https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects
On that page it states that "Version 3.16 is the latest general availability (GA) version, which does not support target server version SqlServer2022." There you will find a link to v3.16.
Uninstall v4.0 which, given how recently it was released, is probably still in your downloads folder, otherwise use Extension Manager. Then download and install 3.16. Be warned, both the uninstall and retro install were extremely slow.
Without a reboot, I opened the project and the package that failed with v.4.0, ran first time without problem.
Hope this helps somebody.

Microsoft SQL Server Express: this version of the installer is no longer supported

I'm trying to install Microsoft SQL Server 2019 Express but I keep running into the above error message.
I was originally running into a separate error message when trying to install that said
A required file could not be downloaded
I followed the instructions on the following thread, which solved the original issue, but now I have a new error: A required file could not be downloaded while installing SQL Server 2019 Developer
There doesn't seem to be much info about this online, only thread I've found is brand new and I'll be monitoring it for a solution:
https://learn.microsoft.com/en-us/answers/questions/816770/sql-express-2019-the-version-of-the-installer-is-n.html
I have already tried restarting my computer.
Thanks to anyone who can help.
I had the same issue, I executed the Powershell script as mentioned in the other thread (run powershell as an administrator), restarted my PC and used the re-downloaded installer (from the url in the error message). This time the installer went through. Hope it helps!
I tried again today with a new download and it worked! They must have fixed the issue. Hopefully everyone else can get it running today.

SQL Server Data Tools 2017 for Visual Studio 2017 - Unable to start debugger error

I'm having trouble with the debugger when trying to run a simple SSIS project involving importing a small sample CSV file into SQL Server.
I have searched StackOverflow with "debugger error Microsoft.DataTransformationServices.VsIntegration" and looked at all the search results.
It looks like someone else had the same issue with VS2015 about a year ago, but it never got resolved.
Microsft SQL Server Data Tools for Visual Studio 2015 giving debugging error
I've tried looking at the Event Viewer and generated Visual Studio Logs but there's nothing there.
I get 2 error messages when I try to execute the SSIS job.
Error 1:
Unable to start debugging.
The debugger is not properly installed.
Run setup to install or repair the debugger. (Microsoft.DataTransformationServices.VsIntegration)
Program Location:
at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.LaunchVsDebugger(IVsDebugger iVsDebugger, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.ValidateAndRunDebugger(Int32 flags, IOutputWindow outputWindow, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions, ProjectItem startupProjItem, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchActivePackage(Int32 launchOptions)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.Launch(Int32 launchOptions, DataTransformationsProjectConfigurationOptions options)
Error 2:
Unable to start program 'DTS'.
The debugger is not properly installed. Cannot debug the requested type of code. Run setup to install or repair the debugger. (Microsoft Visual Studio Debugger)
Program Location:
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.LaunchVsDebugger(IVsDebugger iVsDebugger, DataTransformationsProjectConfigurationOptions options)
I had a lot of trouble getting SSDT installed and working with Visual Studio 2017 and had to resort to the solution here to get it working.
SSDT installation issue (Failed to execute EXE package.)
Has anyone come across this issue and manage to overcome it?
In the meantime, I will try reinstalling the packages in the payload folder and see if that will fix this issue.
Excuse my necromancy
I know this is an old-ish question, but there are still enough people out there that haven't transitioned to VS 2019 yet for it to be relevant. I ran into this problem again for the second time, but it was a very long time in between occurrences. I completely forgot what the issue and solutions were.
Long answer
I have documented it all here.
Short answer
Here is the short version of what I documented:
Don't rush to uninstall/reinstall Visual Studio 2017
Very carefully read the blue box on the VS 2017 SSDT download page. This is critical.
Download SSDT for Visual Studio 2017
Run the installer and pay attention to the installer to see if it warns you about older extensions or installers that may exist already. Follow the instructions provided.
Assuming you have this problem, close the installer.
Uninstall the Visual Studio SSIS, SSRS and SSAS extensions (VSIX)
Run the SSDT installer - make sure it is warning free
Proceed with the installation
This should work and solve the problem, but this is a complex issue so I cannot make a guarantee. This has worked for me twice now on two entirely separate machines (work and home).
I did able to solve the issue with SQL server 2016 and Visual studio 2015 and respective SSDT 2015. I made sure I install every time as administrator (Right click on EXE and Run as Administrator).
I followed these steps:
I uninstalled all SQL Server Management Studio, SQL Server 2017, Visual Studio 2017 with SSDT.
Deleted the folders
C:\Users\me\AppData\Local\Microsoft\VisualStudio\14.0
C:\Users\me\AppData\Roaming\Microsoft\VisualStudio\14.0
Installed SQL Server 2016 (as administrator)
Installed SQL Server Management Studio latest version (as administrator)
Installed Visual Studio 2015 (for me VS 2015 gave some missing DLL and I did repair - it started working fine)
Finally I installed Visual Studio Data Tools for 2015.
Please find the exes for installing VS2015, SSDT-2015 and SQL Server 2016 from here and you can also download them from official sites through search.
and SSMS from here
I hope this will be useful to someone.
I solved this issue by filling in the required fields in the Execute SQL Task. I was missing the value in the SQL Statement field.
The other way I got rid of this error is to set the "DelayValidation" property from False to True. But that is only a workaround until you fix the real issue.
This page was also helpful.
http://www.jamesserra.com/archive/2011/07/ssis-package-taking-forever-to-load-when-you-open-it/
DelayValidation <-- find this property in Control Flow tasks
ValidateExternalMetadata <-- find this property in Data Flow tasks
I was using VS2019 for SSIS. Just go to Debug and use option: start without debugging.
If you have to see the error where it gets failed then read logs coming in command prompt.

SSRS - Uninstall Trial Version of VS Business Intelligence

I want to know how to fully uninstall MSSQL 2005.
I've been using the Trial version of SQL Server Reporting Services for a while now. My company finally purchased the software from an online distributor, and for support of Oracle, we needed to upgrade to MSSQL 2005 SP2. Anyway, the "full" version of the software would not install, as it was already installed (It seems the installer doesn't recognize what was installed was the trial version). So I tried uninstalling MSSQL 2005, and everything related (including visual studio), I can not seem to get it reinstalled. The error is a vague error message, and when i click the link to get more information, the usual "no information about this error was found" error.
Microsoft SQL Server 2005 Setup
There was an unexpected failure during
the setup wizard. You may review the
setup logs and/or click the help
button for more information.
For help, click:
http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.06&EvtSrc=setup.rll&EvtID=50000&EvtType=packageengine%5cinstallpackageaction.cpp%40InstallToolsAction.11%40sqls%3a%3aInstallPackageAction%3a%3aperform%400x643
BUTTONS:
OK
#Mark Struzinski
I actually discovered that it was a problem with the installer, when installing the "Full Version". I discovered, since the product was downloaded, instead of delivered on CD/DVD, that the installer was looking for information in a path that was not correct. There was a MS Knowledge Base article on the topic. Thanks for your reply, tho
I had the exact same problem, and this article helped me clean up all the related files from my system and do a fresh install of both Visual Studio and the SQL client components. Give it a try and let me know if it helps you out:
http://support.citrix.com/article/CTX115270

Resources