SSMS 17.9.1 crashes on "connect" - ssms-2017

I installed SSMS 17.9.1.
When I start SSMS it crashes when I try to connect to the database server.
See this 5 second video
https://vimeo.com/302442420/2ed86b92d8
My only action is to click on the "connect" button.
Then the object explorer appears quickly followed by SSMS shutdown.
How can I get SSMS to work properly ?

I asked the same question on the Microsoft Developer Network.
This is the solution that worked:
Uninstall SSMS
Uninstall Visual Studio 2015 IsoShell
Uninstall Microsoft Visual C++ 2015(or 2017 if you are using it) Redistributable. Uninstall both x86 and x64 if they're on your computer.
Reinstall Visual Studio 2015 IsoShell
Reinstall SSMS
Reinstall Microsoft Visual C++ Redistributable
It took a long time!
See this thread.

Related

Failed to connect with PostgreSQL from PowerBI Desktop

I've installed the followings
PowerBI desktop
PostgreSQL
Npgsql v4.1.1 (from https://github.com/npgsql/Npgsql/releases)
Visual Studio 2019 (community)
Even after installing all the above, still I am getting
This connector requires one or more additional components to be installed before it can be used.
Is there anything else, I've to install?
I've re-installed the Visual Studio 2019 and it works.

While installing PostgreSQL on windows getting an popup "Microsoft Visual C++ 2013 Redistributable (x64)-12.0.40660 has stopped working"

I am trying to install the PostgresSQL on windows7 (64-bit). I have referred the installation steps, downloaded the postgresql-9.4.12-1-windows-x64.exe file.
But when I am running this file, an popup occurs and installation gets interrupted.
getting this pop up
Then I tried to install the postgresql-9.6.3-3-windows-x64.exe also but facing same error.
After searching for the solution and then I tried several ways like
"Run as administrator",
modified the file name to "postgresql-9.4.12-1-windows-x64.exe --install_runtimes 0",
installed the other visual c++ packages from microsoft support.
But still facing the same error popup.
Could someone help me to understand why I am getting this and suggest any solution for this.
You get this message because you are on an unsupported state (Windows 7 RTM without Sp1 and any update with the version 6.1.7600.16385).
To be able to install new Visual C++ Runtimes, you need to install the Windows 7 Sp1, next the April Servicing Stack update and June 2016 Rollup, reboot, run Windows Update, scan for new updates and install all offered updated.
Reboot and now install postgresql-9.4.12-1-windows-x64.exe.

Remote debug UWP app on Windows Server 2016

The goal
I would like to use a Windows Server 2016 (x64) for remote debugging of UWP applications. The reason? My working PC still runs a Windows 7 instance and it is not possible to deploy an UWP app on a Windows 7 machine.
The problem
I have already installed the Remote Tools For Visual Studio 2015 on the Windows Server 2016 machine and started it on port 4020. Authentication mode was set to "None". I have enabled Developer mode on the server as well. Also I have set up my project in Visual Studio to use the remote machine for debugging.
The problem is, whenever I try to deploy (just deploy, not even debug) my solution to the server, the following happens:
Visual Studio shows the following output:
Deploy started: Project: MyProject.UI.Uwp, Configuration: Debug x86
Starting remote deployment...
Reading package recipe file "C:\SourceCode\MyProject\MyProject.UI.Uwp\bin\x86\Debug\MyProject.UI.Uwp.build.appxrecipe"...
and then hangs forever.
In the meantime, remote tools on the server show the following output:
UserAbc connected.
This indicates there must be at least some communication between my Windows 7 PC and the target Windows Server 2016 machine.
No error message is displayed whatsoever (neither in Visual Studio, nor in the Remote Debugger).
The question
Any idea why the deployment hangs forever without an error message? Or am I trying to achieve an impossible task? Is the Windows Server 2016 capable of running UWP apps at all?
Update
I installed VS 2015 Update 3 directly on the Windows Server 2016. I was able to create and debug a simple UWP app directly on the server so the server is clearly able to run an UWP app. However I am still unable to make the remote debugging working. Maybe the problem is completely on my local Windows 7 PC and has nothing to do with the Windows Server. It is strange that the process hangs while "Reading package recipe file". Could it be that an antivirus is intercepting?
Thanks for your feedback. There is a similar issue when I try to deploy the UWP project to a remote machine on Windows 7. We have communicated about this using our internal channel. Unfortunately, Visual Studio 2015 or Visual Studio 2017 doing UWP development on Windows 7 is not a recommend scenario.
For Visual Studio 2017, using Tools for UWP App Development is not applicable on Windows 7. See Visual Studio 2017 Support for Windows Development.
For Visual Studio 2015, the official support for Windows Universal is "Build only". We can use Visual Studio 2015 to build UWP apps on Windows 7, but some other Visual Studio features for Windows Universal development may be degraded. See Visual Studio 2015 Support for Windows Universal, Windows Store, and Windows Phone App Development.
To develop Windows Universal Apps, Windows 10 is strongly recommended. With Windows 10, you can get the best experience of UWP development.

Easyphp : msvcr110.dll is missing

I've installed easyphp-devserver on windows 10. When I launch easyphp, the message "msvcr110.dll is missing" appears.
I've searched on internet and found out I must install the Redistribuable Visual C++ for Visual Studio 2015 [https://www.microsoft.com/en-us/download/details.aspx?id=48145][1]
After that, I installed Visual C++ and reboot my computer.
But that doesn"t work. There is the same error message.
Have you any idea to solve the problem ?
I assume you're referring to the Windows 7/8/10 VC14 version with PHP 7 support (v16.1.1 at the time of this post).
The EasyPHP Devserver download page states that Visual C++ Redistributable for Visual Studio 2015 x86 or x64 is required, which should come installed on Windows 10 already.
What it doesn't mention is that apparently Visual C++ Redistributable for Visual Studio 2012 is also required, and doesn't come installed on Windows 10. Here's the download link for that one:
https://www.microsoft.com/en-us/download/details.aspx?id=30679
Installing the x86 executable got it working for me. No need for the x64 one it seems.
As highlighted by Adam C try downloading the 32bit (e.g. x86) version of Visual C++ Redistributable for Visual Studio 2012 it should resolve the issue... as I had the 64bit Win7 installed I tried to use the 64bit Redistributable file and it did not help fix the issue... but, used the 32bit version and vola it worked.

setup software with visual studio 2012 and install shield 2010

I have developed an application with Visual Studio 2012. I have also created a setup.exe with Install Shield 2010 Premium for my application. My development environment is Windows 8 64-bit, the application is compiled under Release Win32. The developing language is C++.
After building setup.exe, I ran it on another computer that is running on Windows 7 64-bit. An error message box pops up saying MSVCP110.dll is missing or not configured to run on Windows. Any ideas as to why this may be?
I tried installing Visual C++ Redistributable for Visual Studio 2012 (http://www.microsoft.com/en-au/download/details.aspx?id=30679), but it still gives the same error.
Any help would be appreciated.
MSVCP110.dll is really part of VC++ Redistributable package.
Try to install both versions of them: x86 and x64 if your machine is 64 bit.
For 32bit machine you need only x86 package.