I've just encountered a rather strange problem. A Winforms (although that may not be relevant) app that I've been working on for a few months just started behaving oddly. Pressing F5 to debug in VS2008 gets it running perfectly but if I try to run the exe from the bin\Debug folder it fails straight away. Viewing more details from the notification of the failure shows this info.
Description:
Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: languageeditor.exe
Problem Signature 02: 3.0.3593.17201
Problem Signature 03: 4aee8b42
Problem Signature 04: sysglobl
Problem Signature 05: 2.0.0.0
Problem Signature 06: 4a277628
Problem Signature 07: 8f
Problem Signature 08: d9
Problem Signature 09: System.InvalidOperationException
OS Version: 6.1.7600.2.0.0.256.4
Locale ID: 7177
Can anyone provide possible reasons for such a failure or things I can start looking at?
It turns out this was a UAC problem. On Win7 64-bit Visual Studio wants to be running as administrator for debugging against IIS (I forget exactly what message it displays) so I run VS2008 and load our solution. Our application is Silverlight but the solution includes several Winforms and console utilities. It is one of these utilities that was failing. Seems that new code I'd added requires administrator permission, which of course it gets when running in debug mode from VS2008. When launching the binary from a shortcut though, it didn't have administator access and failed.
Related
I saw a lot of similar questions here but the .exe was different in all cases. I checked all the solutions I was able to apply, however, the problem is still the same. When I download the VS Community 2019, when I run it I automatically got the error that it stopped working, details are as follows:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: vs_setup_bootstrapper.exe
Problem Signature 02: 2.8.3267.30329
Problem Signature 03: 9d2a945d
Problem Signature 04: Microsoft.VisualStudio.Setup
Problem Signature 05: 2.8.3267.30329
Problem Signature 06: f7c67f65
Problem Signature 07: 898
Problem Signature 08: 10
Problem Signature 09: System.IO.FileNotFoundException
OS Version: 6.3.9600.2.0.0.256.49
Locale ID: 2057
Additional Information 1: 6f38
Additional Information 2: 6f383fc314ee72e602c66fef1120ed98
Additional Information 3: ed5f
Additional Information 4: ed5f401470800aa8aa962bbe84af7a8d
I tried restarting, uninstalling and installing everything related to .NET, found some cmd-based solutions but the problem is still the same. I Had VS on my PC before, but I decided to reinstall it, and now I am unable to...
My current OS is Windows 8.1 Pro N, 2013 (if that helps in any way :D)
I will appreciate any piece of advice, if there is any information additionally needed, please ask me for it
Okay, I have changed OS from Win8 to Win10 and was able to install it. Seems like I deleted too many files on my own and was unable to restore it manually
Thank you all for your help! I really appreiate!
First, check the VS2019 installation environment,and just as this document said, you should install Update 2919335 for your Windows 8.1.
If this does not work, please try to runC:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe.
It will uninstall all VS IDE(VS2017 and VS2019) and all related components, caches, registry info. Make a strong deep, strong clean.
Then, re-download setup program and try to install again.
After the installation of Office 365 on a Windows 7 PC, the Visual Studio 6 (VB6) debugger returns an error.
+ When you add a breakpoint and try to start debugging (F5) your code, the error pops right away.
+ Without breakpoint the error comes after clicking a button on a form.
The returned Exception Code: c0000005:
Problem signature:
Problem Event Name: BEX
Application Name: VB6.EXE
Application Version: 6.0.97.82
Application Timestamp: 403acf6c
Fault Module Name: StackHash_7e3b
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 07ba32ac
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 2060
Additional Information 1: 7e3b
Additional Information 2: 7e3beb1e9ccf6d519c5b994ca59a280f
Additional Information 3: 2ac0
Additional Information 4: 2ac004046dc496f347320c8826a4cbdc
Creating an exe file still works and the created exe file still works fine.
Any testimony of a working office 365 - visual studio 6 combination is helpful as it allows me to look for other (indirect) causes of the problem.
I don't have enough points to comment, so...
I'm a long time VB6 user and it has always been my experience that installing any version of Office from MS will usually cause severe problems with Visual Studio 6. This goes a long way back and I believe it is due to the thousands of changes that Office makes to the registry.
I have had some success fixing this problem in the past by:
Uninstall Office - reboot
Uninstall VS6 - reboot
Do a full registry clean (repeated runs with CCleaner or similar until there are no more issues detected)
Install Office - reboot
Install VS6 last
Cleaning the registry is the most important part. Office leaves behind a huge number of obsolete registry entries when uninstalled. Even though a full clean will catch a lot of them, it won't catch anywhere near all of them, so these orphan entries can still cause problems.
With at least with one version of Office, this process still didn't help. I was never able to use VS6 without problems again until I did a full OS reinstall without Office. Another version caused the VB6 IDE to crash immediately when opened, rendering it useless.
My ultimate solution was to ditch MS Office for OpenOffice. Since then, I've never had any problems with VS6 at all.
So the short of it is that MS Office and VS6 are not compatible, especially if VS6 is installed first.
(On a couple of occasions, I took snapshots of the registry before and after installing Office. One version (2007 I think) made over 12,000 changes to the registry. A later version (possibly 2012) made over 16,000 changes.)
I have a .NET 4.0 application deployed on the local network via ClickOnce. It is a C# x86 application built in Visual Studio 2013.
When the ClickOnce setup.exe is run it installs and immediately launches the application which works as expected.
After trying to launch the application each additional time it throws an error:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: getpricescustomlookup.exe
Problem Signature 02: 2.2.1075.0
Problem Signature 03: 57ea7f5a
Problem Signature 04: mscorlib
Problem Signature 05: 4.0.0.0
Problem Signature 06: 4ba1da6f
Problem Signature 07: 3dab
Problem Signature 08: 13c
Problem Signature 09: System.UnauthorizedAccess
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
This application has been running without issue for many users on many different PC's for over a year. I have tried with multiple users logged in on the problem-PC and it behaves the same. The PC has been just wiped with a fresh copy of Windows 7 Pro 64-bit installed on it.
Does anybody have any thoughts on what may be going on here and how to fix it?
My solution for now is just do a standard installer rather than ClickOnce. ClickOnce did seem too good to be true...
I have downloaded some source code from our TFS and my setup is via VPN. I installed the same VS2012 installer in my machine at home and my machine at the office.
As soon as I open the solution Visual Studio 2012 crashes. I tried uninstalling, running CCleaner, then re-installing but I am still having errors.
The following facts are relevant:
I have admin rights to this PC
It does have other versions of Visual Studio installed
I have the latest Windows 7 and Visual Studio 2012 patches
The following is from the crash report:
Problem signature: Problem Event Name: CLR20r3
Problem Signature 01: devenv.exe
Problem Signature 02: 11.0.50727.1
Problem Signature 03: 5011ecaa
Problem Signature 04: Microsoft.VisualStudio.Progression.LanguageService.CSharp
Problem Signature 05: 11.0.50727.1
Problem Signature 06: 5011cc19
Problem Signature 07: 131
Problem Signature 08: 43
Problem Signature 09: System.MissingFieldException
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt
The solution for me was to download and apply the first update from the official download page.
I've had the exact same problem with VS 2012 Ultimate.
The problem seems to be that at least the ISO-download of the 3 official downloads comes with the same, outdated version as yours, and I got the exact same exception every time I opened a solution.
Hey renamed the "ComponentModelCache" folder in %localappdata%\microsoft\visualstudio\11.0\
This resolved the issue.
I've been using Visual Studio 2010 for over a year now to work on XNA games for the Windows Phone 7. Just today it started crashing every single time it loads. If I load the game I'm currently working on it will crash. If I just open VS by itself it crashes as well. It just started today. I have no idea what suddenly caused it to start. I updated my graphics drivers but that shouldn't have caused it. I haven't done much else since I was just working on my game a couple days ago. I tried reapplying VS2010 SP1 but it failed. I tried to install windows updates for VS2010 but they apparently failed to install as well.
I'm not sure what to try now. I could try to install the updates again. I'm not sure why they keep failing to install. It just says the program has stopped working and needs to close. I've restarted a couple times as well. Any thoughts on what I could try next?
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: devenv.exe
Problem Signature 02: 10.0.40219.1
Problem Signature 03: 4d5f2a73
Problem Signature 04: mscorlib
Problem Signature 05: 4.0.0.0
Problem Signature 06: 4dd23522
Problem Signature 07: 3789
Problem Signature 08: 3e
Problem Signature 09: System.UnauthorizedAccess
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033