Installation of Report Server 2014 freezes - sql-server-2014

Asked by:
Avatar of Renato G Sabo
Hi, im having a issue trying to install SSRS 2014 on my Windows 2012 Standard Server.
I was having trouble trying to install SQL 2014 Standard (downloaded from my partner account), and was failing. So i started it again, installed core features, plus manager, but without SSRS and it installed without issues.
When after i try to add SSRS to the instance, it freeze at same point. The installation runs thru, until it goes to sqlRsConfigAction_install_confignonrc_cpu64. In this moment, the installation freezes and dont go anywhere further. If i cancel the installation its the same, it remains frozen, i need to kill the process.
When i check it seen the SSRS is installed, in one attempt it even started the service but it was clearly not running as it should. When i try to use the repair feature of installation it says it couldnt be repaired because it never was properly installed.
When i check the logs, at program files\Microsoft SQL Server\120\Setup Bootstrap\Log\20150406\SQL_rs_Cpu64_1.log
It seen the installation was completed, but its not working at all. I was thinking this was somewhat related to IIS, since there is nothing configured on IIS when i open IIS manager. I tried to install with IIS stopped, and also with FastCGI stopped (used for PHP), and also the mysql server stopped, but nothing solved the issue.
Anyone have any idea what can i do? Reinstalling the server isnt a option, it would require a lot of work to put the mySQL/php website working back, and also several other issues reconfiguring filezilla server that is being used for other services, plus i cant allow those services to be suspended. I need SQL Server to publish a asp.net application that is currently running on other server.
MSI (s) (D4:88) [15:30:33:880]: Note: 1: 1707 MSI (s) (D4:88) [15:30:33:880]: Product: SQL Server 2014 Reporting Services -- Installation completed successfully.
MSI (s) (D4:88) [15:30:33:880]: Windows Installer installed the product. Product Name: SQL Server 2014 Reporting Services. Product Version: 12.0.2000.8. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0.
MSI (s) (D4:88) [15:30:34:912]: Deferring clean up of packages/files, if any exist
MSI (s) (D4:88) [15:30:34:912]: MainEngineThread is returning 0
MSI (s) (D4:7C) [15:30:34:912]: RESTART MANAGER: Session closed.
MSI (s) (D4:7C) [15:30:34:912]: No System Restore sequence number for this installation.
=== Logging stopped: 06/04/2015 15:30:33 ===
MSI (s) (D4:7C) [15:30:35:021]: User policy value 'DisableRollback' is 0
MSI (s) (D4:7C) [15:30:35:021]: Machine policy value 'DisableRollback' is 0
MSI (s) (D4:7C) [15:30:35:021]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (D4:7C) [15:30:35:021]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (D4:7C) [15:30:35:100]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (D4:7C) [15:30:35:100]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (D4:7C) [15:30:35:100]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (D4:7C) [15:30:35:342]: Destroying RemoteAPI object.
MSI (s) (D4:40) [15:30:35:342]: Custom Action Manager thread ending.
MSI (c) (38:10) [15:30:35:342]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (38:10) [15:30:35:342]: MainEngineThread is returning 0
=== Verbose logging stopped: 06/04/2015 15:30:35 ===

I hit the same issue minutes ago - found out, that installer freezes, when another windows installer (any) is running at the same time. Check your process-manager and kill the other installers running. This also seems to be the case for trying to enable or disable Windows features (e.g. enabling IIS, et.c.) while installing SSRS and SQL Server.

Surely IIS is running. You are running a project and forgot to install sql server. You were smart enough to identify the error and detected you didn't install sql server, so you started doing that. But with IIS running. Close the project that is running. You don't have to reinstall sql server cause all it's features were installed already. Install management studio to test the installation of sql server, and then you can run visual studio.

Related

Why do I get the error: "cannot communicate with the debug host process" when attempting to execute an SSIS package?

I create a new package in SSIS and when I try to run the package, SSIS returns the following error (displayed in a Visual Studio Error Dialog):
"Cannot communicate with the debug host process. The IDtsHost interface is not registered. (Microsoft.DataTransformationServices.VsIntegration"
Environment: VS 2019 with newest SSIS Extension Installed. The package appears to be created correctly and the build succeeds.
The error happens even if the package is trivial "hello world" type of package.
I found no solution to this after a fairly extensive search.
Thanks to EmersioN (https://stackoverflow.com/users/707267/emersion) for the solution. The problem in this case was the selected targeted version of SQL Server. My project was configured to target "SQL Server 2017", but was connected to a server running SQL Server 2012.
If you're seeing this error, this may be the reason.
Go to the properties page of the Integration Services project that contains the affected package. In the Property Pages dialog, navigate to Configuration Properties > General. Under the property group, Deployment Target Version, in the TargetServerVersion property drop-down, select the SQL Server version that matches the one you're connected to.
I just came across this as well in VS2019 SSDT. In my case it was a working SSIS package that after going to sleep for the night, the machine woke up and wouldn't execute the same scripts. These were my steps. Hope they help you or someone else who stumbles across this.
Open each connection within the script, Test Connection and Save
Clean the solution
Rebuild the solution
My context
Working through an SSIS tutorial using SQL Server 2019 Developer (v15.0.2080.9) and VS2019 Community (v16.11.9) to create packages using SSDT (SSIS Projects v3.15).
Packages in VS have executed without issue in the past. I then upgraded my machine from Windows 10 Pro to 11. Now, when running the same - possibly any - package I get the following error:
===================================
Failed to start project (Microsoft Visual Studio)
===================================
Cannot create a debug host for the package. (Microsoft.DataTransformationServices.VsIntegration)
------------------------------
Program Location:
at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.LaunchVsDebugger(Boolean isRemoteTest, 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)
===================================
Cannot communicate with the debug host process. The IDtsHost interface is not registered. (Microsoft.DataTransformationServices.VsIntegration)
------------------------------
Program Location:
at Microsoft.DataTransformationServices.Project.DebugEngine.DebugEngine.LaunchDtsDebugHost(Process& process, Boolean run64bit)
at Microsoft.DataTransformationServices.Project.DebugEngine.DtsProgramNode.CreateRuntimePackageInternal(IDtsHost& host, Process& process, Package& dtsPackage)
...and the package does not execute.
What was tried
I tried/checked all 3 answers posted here.
Error persists.
This VS Dev Community's post recommended upgrading the VS extension, SSIS Projects. Since I had the most recent version installed an upgrade was not applicable, so I chose the repair option from the installer.
Error persists.
I then ran a repair on the VS2019 install. This, in turn, required another repair on SSIS Projects. (I still had both installers on my machine which made this easy.)
Error persists.
This MSDN post recommended re-registering DtsDebugHost.exe, failing that, re-installing SQL Server.
I ran the DtsDebugHost.exe /regserver command.
Error persists.
My Solution
I then chose to repair my SQL Server installation instead of re-installing. This was accomplished via the SQL Server Installation Center > Maintenance > Repair option. In my case, I chose the default instance, MSSQLSERVER.
VS now runs without the error and successfully executes the package.
I couldn't say whether my solution was solely based on the repaired SQL Server instance or a combination of other things tried and my last action. So I offer the path I took in the case of the latter.
Aside: The other choices during the SQL Server repair on my system were (1) another server instance, SQLSERVER2019, and (2) "shared components". Selecting either of those may have resolved the issue as well, but I couldn't confirm that.
In Project Property, turn off Azure-Enabled as seen in the image below. Your package will execute afterwards.
I encountered this error after upgrading to Windows 11.
I referred to the post by #steveb and went straight to his solution of repairing SQL Server (SQL Server Installation Center > Maintenance > Repair), without doing any of the other steps he tried.
And that solution worked.
I'm posting this because #steveb said he was unsure if any of his previous steps had affected the ultimate solution, and in my experience they were not necessarily needed.

MySQL for Visual studio 1.2.7 setup wizard ended prematurely

Created a proj from VS2013 installed mysql plugin 1.1.1, can update. But after I transferred to VS2017, it wont update Model from Database on edmx file. So I am installing mysql plugin 1.2.7 but i get this error..
I found this solution from the MySQL Windows Experience Team
I've identified that the installation is rolling back whenever it tries to execute the command "devenv /updateconfiguration /log", which is the last step of the installation. This command signals Visual Studio to reload the extensions, including the MySQL for Visual Studio plugin, however for some strange reason (probably due to one of the recent VS updates) execution of said command is failing.
The current workaround is to remove the execution of the failing command from the MSI and after installation of the plugin proceed to execute the command manually. Steps to achieve that are as follows:
Download and install Orca. Orca is a light Windows Installer Development tool that allows to edit MSIs.
In Windows explorer, right click the MySQL for Visual Studio MSI file and select "Edit with Orca".
Click the "InstallExecuteSequence" item located under the "Tables" section on the left side of the window.
If you're trying to install in VS Community right click the "SetVS15Setup_Custom" action and select "Drop Row" option. Do the same for "VS15Setup_Custom". Similar elements exist for VS Professional/Enterprise.
Save changes and retry installation of MySQL for Visual Studio.
Once installation completes, open the "Developer Command Prompt for VS 2017". It can be found in VS 2017's start menu folder.
In the command prompt execute the command "devenv /updateconfiguration /log" and wait for it to complete.
I hope that the steps provided are of help.
Credit goes to:
Marco Barnabò (for reporting the bug) &
Jose Maria Ramirez (for solving the issue)
The solution was obtained from the mySQL forums:
https://forums.mysql.com/read.php?174,660549,661819#msg-661819

MySQL 5.7.19 not installing. Giving same error

I have been trying to install MYSQL 5.7.19 but it gives me the following error while installing the "MYSQL SERVER 5.7.19" although the rest of the things are installed perfectly.
1: Action 14:02:10: INSTALL.
1: 1: MySQL Server 5.7 2: {EC09D203-422B-4C9F-B623-230EF57EE709}
1: Action 14:02:10: FindRelatedProducts. Searching for related applications
1: Action 14:02:10: AppSearch. Searching for installed applications
1: Action 14:02:10: LaunchConditions. Evaluating launch conditions
1: This application requires Visual Studio 2013 Redistributable. Please install the Redistributable then run this installer again.
1: 1: MySQL Server 5.7 2: {EC09D203-422B-4C9F-B623-230EF57EE709} 3: 3
1: The action 'Install' for product 'MySQL Server 5.7.19' failed.
After this, I installed the "VISUAL C++ Redistributable 2013" as I could not find the "Visual Studio 2013 Redistributable". First thing I want to ask is are these two the same? If not then where to find the "Visual Studio 2013 Redistributable". After installing the "VISUAL C++ Redistributable 2013", I still get the same error. Another thing is, if I don't install 'MySQL Server 5.7.19' and let it fail, will my MySQL not work properly?
This happened to me as well today actually.
What you need to do is to install the Visual C++ Redistributable Packages for Visual Studio 2013, doesn't matter if you have installed the ones of 2015 for some reason. Install both x86 and x64 versions. Here's the link to the installers. Hope it works for you, it did for me.
Simple workaround (there's a bug in msi install sequence file):
download and install the server through the web installer and let it failed
open C:\ProgramData\MySQL\MySQL Installer for Windows\Product Cache\mysql-5.7.20-winx64.exe or download msi installer from CDN (you can take the correct url from the installer logs)
install the mysql-5.7.20-winx64.exe but exclude "Server Data Files"
re-run the web installer and click "Quick Action / Reconfigure" and configure you mysql instance
add the required packages
I had the same problem with MySQL Server 5.7.19 x64.
I installed Visual Studio 2013 Redistributable x64 but it does not works, so you have to install Update for Visual C++ 2013 and Visual C++ Redistributable Package
wich can be found here https://support.microsoft.com/en-us/help/3179560/update-for-visual-c-2013-and-visual-c-redistributable-package.
With this solution you can install v5.7 instead of v5.6.
Credits goes for Jafeth Carrillo Salas, https://forums.mysql.com/profile.php?169,11205311
This seems duplicate of MySql 5.7 installer fails to detect VS 2013 redistributable.
I had a same issue, I tried multiple times, even removed multiple version of the Visual Studio Redistribute 2013, but MySql V5.7 didn't get install. I tried both x86 and 64 bit, but result was same.
Solution: I have downloaded MySql Version 5.6 instead of 5.7, then its gets installed like a charm.
Note:
Seems like there must be some issue with the MySql V 5.7 installer.
Simple workaround (there's a bug in msi install sequence file):
download and install the server through the web installer and let it failed
open C:\ProgramData\MySQL\MySQL Installer for Windows\Product Cache\mysql-5.7.20-winx64.exe or download msi installer from CDN (you can take the correct url from the installer logs)
install the mysql-5.7.20-winx64.exe but exclude "Server Data Files"
re-run the web installer and click "Quick Action / Reconfigure" and configure you mysql instance
add the required packages
Thanks. It works for me.!!!
You can find answers to your question at the install instructions at mysql.com. To install the server you need the Visual Studio C++ 2013 Redistributable, which you can find at Microsoft.
If your MySQL will work properly, if you don't install the server depends on your needs. If you just connect to another server somewhere else I don't see any problems.
Remove mysql server and install Visual C++ Redistributable Packages 32bit and 64bit both version after that resolve the issue.
https://www.microsoft.com/en-in/download/confirmation.aspx?id=40784
vcredist_x64.exe
vcredist_x86.exe

MySQLInstallerConsole suddenly failing due to "failing dependencies"

I have been using a script for installing MySQL Server that suddenly stopped working... I am installing like this:
MySQLInstallerConsole community install -silent server;5.7.14;x64:*:type=config;servertype=Server;openfirewall=true;generallog=true;serverid=3306;enable_tcpip=true;port=3306;rootpasswd=%1;installdir="C:\MySQL\MySQLServer-5.7":type=user;username=jlawyer;password=%1;role=DBManager
Now I am suddenly getting this:
=================== Start Initialization ===================
MySQL Installer is running in Community mode
Attempting to update manifest.
Initializing product requirements
Loading product catalog
Checking for product catalog snippets
Checking for product packages in the bundle
Categorizing product catalog
Finding all installed packages.
Your product catalog was last updated at 01.03.2017 22:48:34
=================== End Initialization ===================
Package MySQL Server 5.7.14 cannot be installed due to failing requirement.
Product installations done.
When I run the installer in GUI mode, it automatically downloads and installs dependencies, but how can I get the MySQLInstallerConsole to do this?
You have to check requirements by launching installation from given installer manually. I had the same problem and it was just because Visual C++ 2013 64bits was not installed.
FYI, Visual C++ 2013 can be installed silently with vcredist_x64.exe /q /norestart
In The user configuration section add the following :-
auth_plugin=mysql_native_password (or whatever authentication type you would like
So you would have the following :-
MySQLInstallerConsole community install -silent server;5.7.14;x64:*:type=config;servertype=Server;openfirewall=true;generallog=true;serverid=3306;enable_tcpip=true;port=3306;rootpasswd=%1;installdir="C:\MySQL\MySQLServer-5.7":type=user;username=jlawyer;password=%1;role=DBManager;auth_plugin=mysql_native_password

"Unauthorized operation" error when installing Express Edition

Microsoft Outlook 2010 with Business Contact Manager worked on my Vista laptop but, laptop died. Now, have Windows 7 Ultimate x64 tower since November. Loaded Office 2010 x86 just fine but, trying to install BCM, failed to install SQL Server Express.
So, now I can't get SQL Server 2008 to install; the Engine, that is, all supporting files install fine. I read that if you can install SQL Server 2008 with the ID=MSSMLBIZ, BCM will pass over the server install, and continue with install. I read that the issue may be SQL Server x86 on Win 7 x64. So, I tried SQL Server x64. Every time I get an Attempted to perform an unauthorized operation.
Install always fails at step SqlBrowserConfigAction_install_ConfigNonRC_Cpu32. So, ran as Admin, from Admin log-in, from the root directory in the Admin log-in, changing permissions on the Security Registry KEY, turned off firewall, all suggestions still failed.
Coincidentally, I have an Update for Windows 7 for x64-based systems (KB2732487) that has failed to install, as well.
I think your Windows 7 is not proper installed, perhaps while installing Windows Updates.
But as for the
SqlBrowserConfigAction_install_ConfigNonRC_Cpu32
I dont understand: ConfigNonRC , in Microsoft terms stands the RC for Release Candidate.
If i was you i should try this:
Open CMD as Admin
Typ: "sfc /scannow"
When that's ready your pc may restart.
Now at CMD typ: "sfc /verifyonly"
If it shows any errors, try "sfc /scannow" again.
If it does not show any errors, try to install Windows Updates. All of them.
If this works, delete all existing SQL apps. And install the Core first.
If the updates can't install, You can try to re-install Windows 7 what i basically should not do and just use MySQL. A lot faster & reliable these days.
I hope this will fix your problems!