SQL Server data tool installation stuck after 80% of installation since 5 hours - sql-server

Recently I have installed sql server then was not able to create sql server integration project using sql server integration import project wizard.so uninstalled Visual studio, sql server data tools.
Now I have installed visual studio 2019. which was installed successfully and then started to installed sql server data tools. Which downloaded successfully and stuck after 80% of installation.
Please check below screenshot

After 5 hours, I looked in task manager and I don't know how their were 2 .exe was running.I changed priority to high for first one and ended second .exe task and sql server data tools installed successfully.

An alternate answer.
My corporate antivirus was likely fighting with the ssis Installer. After watching each of the executables peek the cpu on my machine back and fourth for 60 minutes and trying a reboot..ect.. I decided to disconnect from the internet.
This seemed to calm the security software and allow the installer to do it's thing.

Related

Running flat file SSIS package via .Net throws "To run a ssis package outside of sql server....install integration services"

I am trying to run a flatfile SSIS package via .Net code using the Microsoft.SqlServer.Dts.Runtime DLL version 14.0.0.0.
Upon executing I get "To run a SSIS package outside of SQL Server Data Tools you must install Standard edition of Integration Services or higher"
I have SSIS for Visual studio 2017 installed, along with with SQL server 2017 both have the SSIS extension installed.
There are a number of questions relating to this error when trying to run via the DTExe directly; but haven't found any questions regarding troubleshooting the Dts.Runtime DLL.
I presume that the DLL calls DTExe, but I don't know to tell which DTExe it will call. Using the "wrong" DTExe is the solution to many other questions regarding this error.
Whether you're using the managed object model or using the tooling, both are going to check to see whether the SSIS Service is installed on the machine. It is a requirement of licensing to run an SSIS package that the server running the package be a licensed SQL Server instance. So, the application you've written hopefully is targeted for running on a machine that already has a SQL Server server standard license or above.
For development, that runs you about 50 bucks last I checked. For production, we're talking tens to hundreds of thousands of dollars.
For completeness, SQL Server 2005 and 2008 SSIS packages would run on machines that had the data tooling installed (then called the Business Intelligence Design Studio, or BIDS) because the only way to acquire the installation media was to have the ISO images of SQL Server, Developer edition or above.
With 2012, you could now download the SQL Server Data Tools, SSDT without having the SQL Server product but you lost the ability to run packages outside of the Visual Studio debugger - which is a shame as the debugger can severely impact the throughput of a package.
If you check the licensing requirements - scaling out SSIS to different machines is not included in the Enterprise edition license.
SQL Server does not need SSDT installed to run an SSIS package. The option for installing the tools to run and interactive with it (dtutil, dtexec, ssisdeploymentwizard) .. might exist or not depending on version. But that's running packages. Development is where SSDT comes into play. SSDT designs and runs packages within the context of development (Visual Studio debugger). Anything else is going to get blocked by that licensing check.

Script Task Corrupt - SSISDB execution error after upgrading from SQL Server 2016 to SQL Server 2016 SP2

We recently updated our production SQL Server 2016 Enterprise instance from SP1 to SP2. We are currently on version 13.0.5026. Prior to the upgrade, a user with connect rights to SSISDB and proper rights on the Integration Services Catalog folder could deploy an ISPAC file successfully.
After the upgrade, the same users can still deploy to the SSISDB, but when you execute the .DTSX, the script task inside fails validation. If I deploy the exact same ISPAC as a sysadmin, there's no issue. The usual solution I've seen is to confirm that SSDT Configuration Properties are set to SQL Server 2016. We have verified this is set correctly prior to building the ISPAC.
I saw a similar issue when migrating from SQL Server 2014 to 2016 a couple years back, but the solution at that time was to give the Proxy account that runs the package modify rights to the C:\Windows\Temp folder so it can generate temp files. This new issue is hard to pin down, and I don't want to give out sysadmin just so others can do the simple deployment steps.
Any thoughts or suggestions are appreciated.
*******Update/edit************:
The server has a SQL Server 2016 deployment tool located under SQL Server/130/DTS/Binn - ISDeploymentWizard.exe. This deployment tool works. There is another identical wizard under the 140/DTS/Binn location, same name but 1 KB larger (assuming this is because SSMS is a separate install now, and I installed latest and greatest on server). This one fails deployment. I'm banging my head against the wall as to why one works but the other doesn't. Locally we all use SSMS 2017, and with that we get the 140/DTS/Binn ISDeployment file, not the 130 (since that's SQL Server 2016 and we're using SSMS 2017, which I thought was backwards compatible). Either way, this problem just started occurring and we've been on the same version of SSMS for a few months.
Image of the Execution information report from SSMS
Had resolved a similar issue with C# scripts recently. In short: don't use 140 version of ISDeploymentWizard.exe with MS SQL 2016. It apparently mangles something in C# code, or components' properties, and 2016 runtime stops recognising them.
In my case, a package with C# script source has started to throw the following error during the validation phase:
Error: Microsoft.SqlServer.Dts.Pipeline.ComponentVersionMismatchException:
The version of C# source component name is not compatible with this
version of the DataFlow. [[The version or pipeline version or both for
the specified component is higher than the current version. This
package was probably created on a new version of DTS or the component
than is installed on the current PC.]]
at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostCheckAndPerformUpgrade(IDTSManagedComponentWrapper100
wrapper, Int32 lPipelineVersion)
The first comment here has helped me to ultimately identify the cause.

SQL Server Installation freezes

I am currently trying to install SQL Server 2017 Enterprise on Windows Server 2016 Datacenter.
When the installation reaches "Install Setupfiles", the window freezes.
I have tried to install SQL Server 2016 Enterprise and SQL Server 2016 Developer, but no difference.
I also have installed .Net Framework 4.7 to meet the requirements of the setup, but nothing changed.
There is also no information from the setup, despite the fact that it skips downloading and extracting the installation files (which is fine, due to the fact that I downloaded a full ISO), but it also skips "installing installation files".
Did I forget any crucial software or setting ?
Did anyone face the same problem ?
Best regards,

what do I do to enable my Microsoft SQL Server 2008 install and run on my windows7 computer

I tried Installing Microsoft SQL Server 2008 at first, Its installation was going smoothly until I closed my computer to attend to an occasion. Before I tried installing it for a second time, I compressed my C drive(C:) so as to create more storage space. On Installing it again, It couldn't install as a dialog box displayed showing that my attributes doesn't match.
I uncompressed my C: drive and tried installing it again yet it couldn't install. Finally I tried for the last time just to see the image below.
What do I do? My computer is a 32bit OS. and window 7 Ultimate.
You should take a look at the Hardware and Software Requirements for Installing SQL Server 2008, some conditions are:
SQL Server Setup will block installations on read-only or compressed drives.
For minimum version requirements to install SQL Server 2008 on Windows Server 2012 or Windows 8, see Installing SQL Server on Windows Server 2012 or Windows 8 (http://support.microsoft.com/kb/2681562).
So please read it carefully, you can found it in the MSDN here

Deploying SQL server with VS 2012 application

I'm working on a winform application using VS2012 (.NET 4). I use SQL Server for my database affairs, I can run this application smoothly on my development systems (which have VS 2012 installed) but when I give EXE and my MDF files to someone who don't have VS2012 installed, they get an SQL server exception (also program runs but they cannot use database features), I think problem is that they don't have SQL server installed, how can I solve this problem? what should I give to my users? Is there any difference between Debug and Release versions? I deploy Debug EXE which runs but as mentioned SQL server features are not usable

Resources