I am getting Visual Studio Just-In-Time Debugger exception:
An unhandled exception (Subscript out of range: [number: 7]) occurred in inetinfo.exe [308]
Previously my project was running perfectly. I did not make any change and suddenly now this exception is coming. I'm using IIS 5.1 and Visual Studio 2010 and Windows XP.
How can I fix this?
Related
I am using Visual Studio 2015 Professional Version 14.0.25431.01 Update 3 to debug some code. I have indicated that it must stop when an Access Violation exception (0xc0000005) occurs. I noticed that whenever any kind of exception is thrown, it tells me 'Stopped at Exception' and 'MyProgram.exe has triggered a breakpoint', but it does not tell me the type or code of the exception at which it stopped.
Is there a way to know for what exception type/code Visual Studio 2015 triggered the breakpoint?
Yesterday after work, I closed Visual studio. Since then I am unable to start it again.
I am using Visual Studio 2019 Enterprise v16.8.3.
I tried
Changing the config file.
Deleting VisualStudio AppData
Repairing VS from VS installer
Reinstalling VS
Repairing .Net Framework
Running VS in Safe Mode
I am always getting the same results.
I get a dialog with title: Microsoft Visual Studio
and text: Could not start visual studio due to an error. System.Configuration.ConfigurationErrorsException:Configuration system failed to initialize
InnerException -
System.Configuration.ConfigurationErrorsException:unrecognized configuration section startup.
(C:\Users\tomig\AppData\Local\Microsoft\VisualStudio\16.0_ed2a0239\devenv.exe.config line 13)
After clicking Ok, There is one more dialog with title: Hidden Window:devenv.exe - Application Error
And text: The exception unknown software exception (0x0434352) occured in the application at location 0x00000000775546D2.
Can someone help me to make Visual Studio work again?System.Configuration.ConfigurationErrorsException
Hidden Window:devenv.exe - Application Error
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
</startup>
Full devenv.exe.config
Running Visual Studio 2013, I'm trying to debug a Visual Studio project template, as well as a visual studio extension. I've followed the instructions given here, but when the new instance of Visual Studio launches, I get:
Microsoft.VisualStudio.ExtensionManager.NotInstalledException was
unhandled Message: An unhandled exception of type
'Microsoft.VisualStudio.ExtensionManager.NotInstalledException'
occurred in mscorlib.dll
I've tried disabling all Visual Studio Extensions (that can be) - that didn't help.
I can't launch VS 2010 (on Windows XP), every time this error "exception thrown by the target of invocation" keeps showing.
I have checked the length of PATH variable, it is under 2048 so this is not the cause.
What else might cause the problem?
seems like Windows explorer causes this issue, I am not sure.
My OS: Windows 2008 R2 (using as desktop), running VS 2010 and VS 2013 both.
When I started VS 2010 today morning, got this exception:exception thrown by the target of invocation.
I killed the explorer.exe from task manager, and started again use the task manager File->New Task -> Explorer.exe.
Start VS 2010 - Worked fine.
Hope this helps
When I'm trying to run any type of project using F5 or attaching to a process an error window is displayed displaying the following:
"Error when trying to run the project: Unable to start the program
... The microsoft visual studio debugging monitor does not appear to
be running on the remote machine. This may be because a firewall is
preventing communication to the remote computer..."
But I'm debugging locally. This happens to some projects but not all.
I'm on Windows 8, Visual Studio 2012, and using Project configuration ANY CPU.
What should I do in order to debug my application locally using Visual Studio 2012?
Upgrading Visual Studio 2012 to SP2 fixed the issue.