Visual Studio 2012 Express is suddenly "incompatible with this version of Windows"? - visual-studio-2012

I'm running Visual Studio Express 2012 on Windows 7. I've been running it with no problems for several months now.
Last Friday, when I shut down my PC, a lot of Windows updates were installed. This morning, when I started up and opened a VS2012 solution, I got this error message:
This program has known compatibility issues
...
Visual Studio 2012 Express for Windows Desktop is incompatible with this version of Windows.
There's a button for Run Program, and when I click it, the solution opens normally. I haven't changed anything about my Windows configuration. This happens every time I open a solution. Did MS release a flawed patch in the batch of updates that got applied last Friday?
EDIT: I'm not sure why people are voting to close this question. The answer that's been linked to isn't related to my issue; that answer seems to pertain to trying to open a VS2012 project in VS2010. I'm trying to open a VS2012 project in VS2012. If you really think that the question needs to be closed, please let me know why in the comments, so that I can change it appropriately.
The .NET updates installed on Friday were:
KB2805226
KB2805221
KB2804582
UPDATE: I gave up, more or less, and clicked the "Don't show this window again" checkbox on the error window. Visual Studio seems to be running ok.

I received the same message on Visual Studio 2012 Premium (on PC where Windows 7 re-installed in last month) - the suggested fix was "Update for Microsoft Visual Studio 2012 (KB2781514)" which seems to have fixed it
www.microsoft.com/en-us/download/details.aspx?id=36020

Install Visual Studio 2012 Update 2 solved my problem. No previous update needed for this one. Here's the descriptions of the update.
(I'm using Windows 8, installed all important updates for Windows, then tried repair Visual Studio in Programs and Features, problem still here until installed Update 2.)

I've been running VS2012 for about 2 weeks now since I clicked the "Don't show this window again" button. I haven't encountered any problems. For now I'm going to consider this an adequate solution.

I've just installed VS2012 at home and came across the same problem. The 1st solution I found is that webdeploy doesn't work after Oct 2013 and I should install Web deploy V3.0.
Done that, no joy. I let Win7 search for compatibility solution on-line and it found an update patch (KB2781514) which did work.
This is the same solution as mentioned before by #John M.
Should've looked here first, just posting this again if someone comes across this again these days..
Thanks to all other users who helped with this thread.

I had a similar problem with VS2012 awhile ago it was along the lines of:
"this solution has no errors and could potentially be damaged"
*yet still opened fine.
as far as fixing it went I performed a clean install of VS2012 and the error has not bugged me since in saying that I am probably out of date at this time and may find if I updated I would have the same issue.
Food for thought.

Even i had the same problem on Windows 7 with Visual studio 2012.
Installed Update for Microsoft Visual Studio 2012 -KB2781514 and it fixed the issue.
Note: "Just clicking on Run program was also opening up the solution file without any issues in my case."

Related

Cannot load file or assembly Microsoft.MSXML version 8.0

What started the issue: My internet had dropped on the 5g band so I began trouble shooting to get the IP back. I saw that my non 5g band was valid and clicked connect on that WiFi connection to just get the internet back up quickly. Once I clicked connect, windows 10 locked up and blue screen shortly after. The OS started back up just fine but when I recovered my unsaved Visual Studios project, it seemed like things were corrupted at first glance, but it wasn't, everyone of my Visual studios projects load just fine, but when I click on a C++ or header file Visual Studios presents this error and I can't continue to code. I searched all over google to turn up an answer which none worked. Please help I have an assignment due tomorrow and I'm pressed for time.
Thanks for any responses in advance.
So I found that the file is corrupt, how can I replace it?
What I have done to try and fix the issue.
Repaired Visual Studios 2017
Uninstalled and reinstalled Visual Studios 2017 Enterprise
Installed MSXML Version 6.0, Verison 8 is not available for some reason?
Command Prompt CHKDSK
sfc /scannow after CHKDSK was ran and found corrupted files.
CBS log file from the scan now.
Log File Download
Solution
Download and install every Visual studios redistributable and 2015 update and tools.
I also repaired Visual studios 2010 as I had it installed even though I use 2017.
Then restart.
https://www.visualstudio.com/vs/older-downloads/

IsVisualStudio2012ProInstalled() method not found error when running an SSIS package from VS2012

I'm trying to run an SSIS package in Visual Studio 2012. When I click the "Start" button I get this very odd error in a popup from Visual Studio:
Method not found: 'Boolean
Microsoft.SqlServer.Dts.Design.VisualStudio2012Utils.IsVisualStudio2012ProInstalled()'.
(Microsoft.DataTransformationServices.VsIntegration)
Clicking on the show technical information, I get this stack trace:
===================================
Failed to start project (Microsoft Visual Studio)
===================================
Method not found: 'Boolean Microsoft.SqlServer.Dts.Design.VisualStudio2012Utils.IsVisualStudio2012ProInstalled()'. (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)
Has anyone ever seen this error before or know what the issue might be? A bit of googling turned up absolutely nothing for me.
I was able to happily develop and run SSIS packages from Visual Studio 2012 without any issues just a couple days ago (I did reboot my PC over the weekend and some windows updates were installed)
ETA:
I was able to find a couple very recent technet posts about this here and here so I suspect this was something that broke in an update over the weekend. One post says he solved the issue by reinstalling, but of course I'd rather not go that route if I don't have to.
Open the Developer Command Prompt for VS212 as Administrator
execute the command cd "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies"
execute the command gacutil /if Microsoft.SqlServer.Dts.Design.dll
restart Visual Studio
Source msdn Fail to start project
For visual Studio 2013 execute the command cd "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies" in point 2 and then execute point 3 and 4.
The following is the command we have to use to resolve the issue:
"C:\Program Files\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\gacutil.exe" /if "C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.SqlServer.Dts.Design.dll"
Make sure that your dll file and Gacutil.exe file locations are correct. It may be different in other systems.
Note: You should open your “Command Prompt” as an administrator to run the above command.
I experienced the same problem.
Downloaded and installed SQL Server 2012 SP2 and that seemed to have fixed the problem.
Hope this helps!!
This is probably happening because you have Visual Studio 2013 and the BI tools for it installed also. If you use Visual Studio 2013 for the same package it will probably work. The other answer suggesting the run of gacutil to register the old version may have negative impacts later when you want to use the Visual Studio 2013 tools for SSIS.
I had the exact same thing just happen and miraculously now my machine has been "fixed".
(I actually had it happen on both a Win 8.1 machine and a new Win 7 machine.)
My colleague and I noticed that the SSIS toolbox was missing from my IDE. After opening an SSIS package, going to the SSIS menu, and adding back in my "SSIS Toolbox", for some strange reason, my packages now run fine.
I'm guessing a recent update reset the behavior of the IDE.?.?
If this black magic worked for me, I'm hoping it will work for others.
EDIT:
I had the behavior revert itself.
I uninstalled SQL Server 2012 SP2 HF 5522, then rebooted
I then uninstalled SQL Server 2012 SP2, then rebooted
After that, my IDE still gave the error.
I then tried to apply SQL Server SP1 CU 9, but my environment said it wasn't needed.
I then rebooted one last time.
My SSIS Packages run again.
Voodoo...
If you're running across this issue somewhat after the fact (as I did), it appears that it has been fixed in a later release of the SSDT-BI tools installer. Either that, or the process of re-installing fixed it for me.
The file name of the installer on the download page has not changed, but there was a new version released in March of 2015. The new version number is 11.0.5583.0, and the previous version that was causing this error was 11.0.3436.0.
So a simple update might be sufficient. It worked for me with no changes to the GAC.

Installing VS2013 while working with VS2012

I wanted to run the setup for VS2013 Pro but I am also actively working with VS2012 because it is not weekend yet! It prompted me that I should stop VS2012 before installing Vs2013 or I will need to restart later.
Restarting is fine but I can't just stop working for an hour or so until VS2013 is installed. So do you know if the installation will go fine if I am actively working, debugging in VS2012 at the same time?
No!
At some point of installation it will automatically shut down your VS2012.
I did the same thing and have experienced no issues. I did a clean reboot (close all apps) as soon as the installation was completed, and then went back to working in VS2012.
So I can't give you a definitive answer (your mileage may vary), but based on my previous experience I have no issue doing this exact again if the need would arise.

Microsoft.VisualStudio.Web.PasteJson.JsonPackage did not load properly

I have visual studio express 2012
and it was working fine earlier I had run my solution once. But now when I do it, there appears a dialog box with the message!
the Microsoft.VisualStudio.Web.PasteJson.JsonPackage, Microsoft.VisualStudio.Web.PasteJson package did not load correctly.
the problem may have been caused by a configuration changhe or by installation of another extension. You can get more information by exmamining the file
C:\Users\AppData\Roaming\Microsoft\VWDExpress\11.0\Log.xml
continue to show this error message?
How do I get rid of this error?
I started to see this on the fresh windows & VS 2013 Ultimate with Update 2 installation.
To resolve the problem, close all Visual Studio instances head over to
C:\Users\<your users name>\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache
and delete all the files in the folder.
It worked fine for me. Thanks to this article.
Not relevant to VS 2012 express, but I experienced this problem with VS 2013 Premium. I had recently added the productivity power tools extension. To get back up and running, I loaded Visual Studio in safe mode:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE>devenv /safemode
And un-installed the productivity tools. The errors went away.
You need to clear the ComponentModelCache folder or rename it. For Visual Studio 2013, it’s located in the %LOCALAPPDATA%\Microsoft\VisualStudio\12.0 folder.
Refrence:
http://www.rajapet.com/2014/02/when-the-editorpackage-does-not-load-correctly.html
I had Visual Studio 2013 Professional and I got the same error. I couldn't remove it until I repaired VS installation. It took a while but now it works fine.
I had this problem as I had an older version of VS2012 Express (release on Web Platform installer dated 15/08/2012).
Try installing 'Visual Studio 2012 Express for Web (Latest)' with release date 22/10/2012 from the Microsoft Web Platform Installer.
That is all I did and I no longer get those messages.

Cannot open xaml pages in Blend after installing Visual Studio 2012 Update 2 (CTP)

I am experiencing something weird at the moment. After I installed Visual Studio 2012 Update 2 (CTP), I can no longer open xaml pages properly in Blend designer view.
Looks like everything from other namespaces just cannot be found (see screenshot below)...
Please also note that the whole solution compiles ok if I close up all the xaml pages, and runs well too. But as soon as I open any of the xaml pages, it will throw me those errors...
UPDATE 13 MAY 2013
Just an update, a couple of days ago (after I installed the VS Update 2) the same error came back again. What I did to fix this was I had to change my build name from something else to 'Release' (or 'Debug') and did a 'Clean' and 'Build'.
Edited answer:
Updating to Visual Studio 2012 Update 2 should fix the issue: http://microsoft.com/en-au/download/details.aspx?id=38188
Check that the platform configurations for all projects linked together in the solution match ("Any CPU" or "x86"). For more info, see:
http://blogs.interknowlogy.com/2013/04/05/blend-for-visual-studio-2012-platform-errors/
This also seems to be a problem with the RTW version of VS2012 Update 2. I experienced this with a solution containing WP8 and Win8 Metro projects.

Resources