Visual Studio 2015 crashes with KernelBase error in EventLogs - visual-studio

My Visual Studio 2015 RTM crashes when opening some solutions consistently.
In the Event Log Viewer it shows application "Fault Module KernelBase.DLL"
I have tried resetting settings as mentioned on this post.
What can I do to fix this problem?

I fixed this problem by doing a ResetUserData and Repair from Program and Features in Control Panel.
Do a .\devenv /ResetUserData (It will reset everything including customizations and all)
Goto Control Panel > Program and Features and repair Visual Studio 2015.
Restart your computer.

Related

Working in Visual Studio Professional 2015 while updating to Update 3 - Visual Studio starts to fail

I got the Visual Studio Professional 2015 Update 3 and launched the executable (vs2015.3.exe) while Visual Studio was still running. I got the following "Setup warning" but thought that a computer restart was fine as long as I could work during the update.
Please close visual studio now to reduce the chance that a computer
restart will be required later
Visual Studio immediately started acting strange, loosing Intellisense among others. I decided to restart Visual Studio and was then met with the error:
Cannot run when setup is in progress
I then canceled the update and thought that I could install this update during the night instead. When I opened Visual Studio again and tried to load a project I got the following error:
Project '' could not be opened because the Visual C# 2015 compiler
could not be created. Please re-install Visual Studio.
I then opened Update 3 executable again to complete the update. I was met with this feature list and could not do anything:
Restarted the computer but was met with the same dialog. I then opened Visual Studio again and this time the project loaded but without Intellisense. Restarted Visual Studio and now the project would not load at all. I then deleted the content of these 2 folders and ran devenv /resetsettings
C:\Users\%USERNAME%\AppData\Roaming\Microsoft\VisualStudio\
C:\Users\%USERNAME%\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
I could now open the Visual Studio project normally again but I still could not get features when running the Update 3 executable. Is there anything else I can do or do I need to reinstall Visual Studio completely? I think it is really bad that the warning Microsoft gives is that a computer restart might be required when obviously the program cannot run in the background while updating.
Solved it by going to Control panel -> Programs and Features -> Microsoft Visual Studio Professional 2015 with Updates. Click "Change" and then select "Repair".

Visual Studio Pro 2013 - Intellisense only works on pages with code-behind

I've installed Visual Studio Pro 2013. No complaints except that intellisense won't work on pages that have .Net code. If I have a page with a separate code-behind page, then no problem. I have tried deleting the solution file, reboot VS 2013. I've tried a number of different projects and it's the same. Any ideas?
I had the same issue and it was fixed by resetting user settings.
Try to reset user settings win+r devenv.exe /resetuserdata

Visual Studio 2015 RC Community says This license has expired

I originally had Visual Studio 2015 Enterprise CTP and it's expired. I uninstalled it and installed Visual Studio 2015 RC Community. However, it still says "This license has expired" (and any attempt to sign in fails as I don't have MSDN subscription). I uninstalled Visual Studio 2015 RC Community with /force command-line switch, removed all VSCommon, VisualStudio and Visual Studio disk folders and registry entries, and also Licenses registry subbranches requested by Visual Studio during startup (accordingly sysinternal's Process Monitor), and then reinstalled Visual Studio 2015 RC Community. I also run devenv.exe /resetuserdata (normally and under Administrator) with no luck. I'm running Windows 7 x64 if this matters.
It keeps telling "This license has expired". "Check for an updated license" tries to sign me in with no luck. Signing in with my Live.com account doesn't work (again, only MSDN subscription would suffice there). How else can I make Visual Studio "forget" that I previously had Visual Studio 2015 Enterprise CTP?
Is reinstalling the OS the only solution?
Unlike possible duplicate, I focus here on exact errors which are happening.
Have you tried a simple repair? Control Panel - Programs and Features - Microsoft Visual Studio Enterprise 2015 - Change - Repair.
I had the same problem. Tried uninstall and didn't work. Before going to registry manipulations, tried this:
Close the IDE, go and create your Visual Studio Online free account.
(https://www.visualstudio.com/en-us/products/what-is-visual-studio-online-vs - hope the link works)
Open IDE, and click "Check for updated license".
Login with that account, and hopefully this will work, as with my VS -
"License downloaded successfully".
It turned out that IE8 was the problem. Once I updated to IE11, signing to Live.com finally worked. So, the core of the problem was IE version.

visual studio does not run when I connect to the internet

I've installed visual studio 2013 and updated to 4 release, but when I connect to the internet and then try to open visual studio, the pop up menu open but visual studio does not run.
Have you installed "Microsoft Azure HDInsight Tools for Visual Studio"? If so, try uninstalling it.
The below thread saved me a lot of frustration (even though it says VS 2012, I had the same for VS2013 Update 4).
Visual Studio 2012 is unresponsive at start with hidden error messages (two dings at start)
You could also try running a repair on the install.
Or resetting the settings http://msdn.microsoft.com/en-us/library/ms241273.aspx
Or running in safe mode, maybe a plug-in is fouling it up http://msdn.microsoft.com/en-us/library/ms241278.aspx

Visual Studio 2010 Unknown Error on Startup

I'm trying to launch Visual Studio 2010 from my desktop and I just get this error box popping up saying "Unknown Error"...
Anyone have an idea why this might happen?
I just fixed it, I uninstalled and reinstalled my version of the .NET Framework (v4.0). And then when I again tried to launch Visual studio it started up without any issue.
Here's some things you can check:
Temporary de-activate all Addins
Temporary disable all Extensions
Check the Event Log for any errors
Reset your settings
Start with /ResetSkipPkgs
Based on your comment below, if you can't find the DevEnv.exe when you have opened a VIsual Studio Command prompt, I would suggest you to re-install Visual Studio as it indicates your installation (paths) are in a bad state.
And here are some other things you migh want to check:
VS 2010 Crashes on Startup with "Unknown Error"
Visual Studio 2010 quit working...now gives me an "unknown error" dialogue when launched
Visual Studio 2010 Startup Errors
Visual Studio 2010 crashes on startup after installing SP1
Open Visual Studio Command Prompt with Administrator permission and type the following,
devenv /ResetSkipPkgs
the Solution of this problem ist very simple.
Install VS 2010 on a other machine and export HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0 to a file. Copy the file to your target machine and rename the path above to ".old", then double click your exported reg-file and wait a time....
After this my Visual Studio was starting correctly.
The other solution, that people post wont work in my case.
I hope this will help some body.
Enjoy
Sven
I had the same problem.. Instead of completely uninstalling .net framework, I just repaired the .net framework from the repair/uninstall option available in Control Panel of my Windows 7 Ultimate pc. Finally I got another error that, Visual Studio could not create AppData folder in my system. Then, I right click the Visual Studio icon and selected Run as Administrator. This worked for me!! Now, Visual Studio 2010 is working on my pc!! Try this out if you want..

Resources