Visual Styles-related operation resulted in an error because no visual style is currently active. (System.Windows.Forms) - ssms

I have installed the latest version of the SQL Server Management Studio 2016 in order to test the Always Encrypted feature. It is opened from this menu here:
but always throw the following error:
and then the studio stops working.
Has anyone idea what is causing this behavior?

This issue was addressed in SSMS 16.3 (August 2016) Release. Please, upgrade your SSMS to the latest version of SSMS, available at https://msdn.microsoft.com/en-us/library/mt588477.aspx, if you still observe this issue. Alternatively, make sure you are not using the Classic Windows theme or a high-contrast theme.

Related

Error when trying to install SSMS 18.4 version

Not sure if anyone has came across this problem but any help is greatly appreciated.
I have SSMS 18.0 Preview 4 installed on my local machine. Whenever I am trying to install any new released version of SSMS I get below error.
Error: The Generally Available (GA) version of SQL Server Management Studio (SSMS) v18.0 cannot be installed because a pre-release version of SSMS is installed on your computer. Uninstall the pre-release version of SSMS from 'Add/Remove Programs' in the Control Panel and run SSMS setup again.
SO i followed the Error and completely removed Preview version. And when i am running new SSMS set up file it still showing same error though i do not have Preview version installed on. I restarted machine after uninstall as well.
Though in error image it says set up is blocked but when i run the SSMS 18 prview 4 it doesn't give me this error and take me to install click.
Any thoughts or solution will highly helpful.
Thank you.
If you encounter this error with the reason being "ssms is currently running", check the file name of the setup exe. If it's ssms.exe, rename it to anything else, I suspect the setup is detecting itself as being management studio based on file name. This worked for me.
Just FYI... This tool helped me to remove the SSMS for SSAS and SSRS which wasn't showing up during regular uninstall.
Tried the MS removal tool and it was showing 4 different SSMS which i uninstalled and finally i was able to install SSMS 18.4.
https://support.microsoft.com/en-sg/help/17588/windows-fix-problems-that-block-programs-being-installed-or-removed
Thank you Dedmon Dai from Microsoft Support.
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/c4e73534-8371-4557-b653-25f87b1c9cbe/ssms-18-installation-error?forum=sqldatabaseengine
In my case, I was getting the error "SSMSCurrentlyRunning = SSMS is currently running. Please close any open instances of SSMS and run this installer again."
I downloaded the file again and it worked.
I had this problem, reinstalled version 18 public preview 7 on https://cloudblogs.microsoft.com/sqlserver/2019/03/01/sql-server-management-studio-18-0-public-preview-7-released/
and then uninstalled and installed the updated version.

Why the SSMS-setup-ENU for version 17.8.1 isn't running?

I have successfully downloaded and installed the developer version of SQL server 2017. Then I went to the SSMS website and downloaded the latest version of SSMS, which is 17.8.1. The exe file was properly downloaded and it is not damaged at all. When I double-clicked it, windows ask me if I am allowing this app to change my device. I clicked yes. Then nothing happened. The installation process just won't begin. My system is 64bit win10, and it is updated to the latest version. I have also downloaded some earlier versions of SSMS such as 17.5 and 17.3 and I encountered the exact same problem. I'd like to know if it has anything to do with my visual studio? I have downloaded and installed the latest visual studio 2017, and it doesn't help.
This happens when the latest dot net framework is not installed. The setup does not show what is its missing it just do not run.
You can try installing 4.6.2 net
Go to this link.
https://www.microsoft.com/en-us/download/details.aspx?id=53344
After finishing installation.
Run SSMS setup and it will show the installation screen.

Intellij idea ultimate not connecting to Visual Studio Online

I'm getting the following error when connecting to visual studio online with tfs plugin:
org.apache.axis2.databinding.AFBException: Unexpected subelement InheritLevel
It seems like it does connect to VSO and this problem occurs when its loading the project information. I'm using the alternate connection method, which is already enabled on VSO. How can I fix this problem or do I have to switch to eclipse?
The IntelliJ plugin for TFS is based on the 2010 api and is not well supported. As TFS and VS 2010 are now no longer supported I would expect breakages. Other than putting pressure on JetBrains to fix it you can:
use Eclipse that has fully supported first part plugin
Use the command line out side of IntelliJ
Nether will be what you want, but it may be the best that you can get without Jet Brains fixing it.

Visual Studio 2013: Database Project MSBuild error

I've got a database project as part of my solution in Visual Studio 2013. Been working perfectly for the last 3 weeks and now suddenly today it won't build and so I cannot publish any changes. I'm getting an MSBuild error:
"C:\Program Files
(x86)\MSBuild\Microsoft\VisualStudio\v12.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets(513,5):
Error: MSB4018: The "SqlBuildTask" task failed unexpectedly.
System.MethodAccessException: Attempt by method 'Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.OnCreateCustomSchemaData(System.String,
System.Collections.Generic.Dictionary`2)'
to access method
'Microsoft.Data.Tools.Components.Diagnostics.SqlTracer.ShouldTrace(System.Diagnostics.TraceEventType)'
failed."
Anyone got any ideas? All I did this morning was pull down the latest changes from source control. I can't see how that would mess up the actual MSBuild process, and the guy who checked in last doesn't have any issues at all.
You need to install the last version of SQL Server Data Tools:
http://msdn.microsoft.com/en-US/data/hh297027
Make sure to restart VS and then build the solution again. This solves the problem!
In Visual Studio 2013 -> Tools -> Extensions and Updates... -> Updates -> Product Updates -> Microsoft SQL Server Update for database to 12.0.50318.0
I was upgrading from 12.0.41012.0 and this resolved my issue. This relates to the answer to install the latest SQL Server Data Tools.
I am using Visual Studio Community 2013.
I had same error:
You can fix it by updating the SQL Server Tools:
Tools --> Extensions and Updates
Then under Product Updates you will see an option to update SQL Server Update.
Click on Update, after it has installed restart Visual Studio.
Try:
Install the latest DacFx from http://www.microsoft.com/en-us/download/details.aspx?id=43370
Reinstall the latest SSDT from http://go.microsoft.com/fwlink/?LinkID=393521
Source: VS2013 SqlBuildTask 04018 Error
I searched "Visual Studio 2013 Update 2" in MSDN subscriber downloads and it was there
Also I filed a bug with MS
VS2013 SqlBuildTask 04018 Error Please up vote it if you are getting the same problem
I had the same issue. I tried to repair Visual Studio 2013, update 4, SSDT, the DAC tools, etc., but it didn't work any better.
However I noticed the Microsoft.Data.Tools.Schema.SqlTasks.targets file present in C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\SSDT was dated from 2013 (In fact it corresponded to the old SSDT). So what I did is just copy the new one (which I suprisingly found in C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\SSDT ...) over to this v12.0\SSDT folder, restarted Visual Studio 2013 and now it works. For information, that new SSDT targets file is dated from 2014/10/26 and its size is 75437 bytes.
It turns out the issue was with Visual Studio Update 3. I uninstalled and reinstalled VS 2013 to Update 2 only and reinstalled Data Tools and it works perfectly now.
I already had the newest Version of SQL Data Tools installed, but after installing VS2015 RC it stopped to work. After run a repair on SSDT it compiles again with success.
I had Visual Studio 2013 Update 5 installed and was having this issue. I followed these steps from above and that fixed the issue for me -->
In Visual Studio 2013 -> Tools -> Extensions and Updates... -> Updates -> Product Updates -> Microsoft SQL Server Update for database to 12.0.50730.0
I had the same issue and just restart the Visual Studio and it works for me.
I experienced the same issue with a slightly different stack trace:
Error MSB4018: The "SqlBuildTask" task failed unexpectedly.
System.IO.IOException: The file exists.
Turns out this is a issue with the Temp directory for the service account I was using, I think if you exceed X number of folders/files in that directory the publish will no longer work. Fixed this issue by following the instructions mentioned here (for my service account):
Go start-> run
Type %temp% and click ok
Make sure you are in the folder /Local/Temp
Delete everything in this folder
If it helps anybody, I installed VS2014 CTP 3, and I can build from it. Interestingly after a successfull build in vs2014, the next time you build in VS2013 it works. But subsequent builds in VS2013 dont work, until you rebuild in VS2014.
I was able to fix the issue by repairing Microsoft SQL Server Data Tools and re-starting Visual Studio 2013.
Control Panel > Right Click: "Microsoft SQL Server Data Tools" > Click: "Repair" > Re-Start Visual Studio
I had the same issue. Running disk check and then rebooting fixed it.
I got the same error and fix it by re-install Visual Studio 2015
I had this problem and fixed it like this:
install the latest DacFx from http://www.microsoft.com/en-us/download/details.aspx?id=43370
Delete the Microsoft.Data.Tools.Schema.SqlTasks.targets file from C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\SSDT
repair SQL Server Data Tools 2013 , reset visual studio()

No javascript project enlisted in visual studio 2012 ultimate

I have installed visual studio ultimate 2012 for windows 8 store apps but it doesnt show JavaScript in the new project.
The setup is good, i have installed it before using the same setup but i dont know what is the problem now..
I have also tried Visual studio Express, but got the same issue.. And one more thing BLEND is also not working in both the cases.
Are you looking in the right place? They can be 'hidden' in "Other Languages"
Search in the upper right hand corner of "New Project" for javascript to be sure.
Make sure you are up to date as well on the following updates as good measure
http://support.microsoft.com/kb/2797912
http://www.microsoft.com/en-us/download/details.aspx?id=38188
After uninstalling the current VS and then deleting all registries and finally installing Vs 2012 ultimate, fixed the issue.