Visual Studio 2012 crash on startup - vb.net

As soon as I open visual studio it goes unresponsive. I have looked at the event viewer, and it gives 3 errors when visual studio crashes in order:
1)
Application: WDExpress.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__1(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
2)
Faulting application name: WDExpress.exe, version: 11.0.60315.1, time stamp: 0x5142b273
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b83c8a
Exception code: 0xe0434352
Fault offset: 0x0000c41f
Faulting process id: 0x18f0
Faulting application start time: 0x01ce445978318661
Faulting application path: D:\Programs\vs\Common7\IDE\WDExpress.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: bbf0314d-b04c-11e2-a8b8-08002700c410
3)
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: wdexpress.exe
P2: 11.0.60315.1
P3: 5142b273
P4: Microsoft.VisualStudio.Shell.11.0
P5: 11.0.60315.1
P6: 514298c6
P7: 941
P8: 5b
P9: System.InvalidOperationException
P10:
Attached files:
C:\Users\Steve\AppData\Local\Temp\WER2FF6.tmp.WERInternalMetadata.xml
These files may be available here:
C:\Users\Steve\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_wdexpress.exe_b14ec39a92949f27abbb79e507ed518f9c5afcf_0abe3755
Analysis symbol:
Rechecking for solution: 0
Report Id: bbf0314d-b04c-11e2-a8b8-08002700c410
I have reinstalled at least 8 times, uninstalled using the default uninstaller. Then used revo uninstaller, manually cleaned registry keys, run .net verifier (no errors), repaired the install, tried on another account. It simply will not work. Any ideas?
P.S this is my last resort I've been looking everywhere and am unable to solve it even when others have similar problems

I've been annoyed by the symptom which seems to be exactly the same.
In my case, regsvr ieproxy.dll made the symptom fixed.
Hope this helps:
Visual Studio 2012 Crashes after installing IE9 (Faulting Module ntdll.dll)

Related

Net Core Website crashes immediately with code 0xe0434352

Im having an issue where our ASP Net Core Website crashes immediately with little information.
The output in visual studio shows:
The program '[10196] dotnet.exe' has exited with code -532462766 (0xe0434352).
After settings COREHOST_TRACE = 1, I get the following error:
Unhandled Exception: System.BadImageFormatException: Could not load file or assembly 'MyProject.dll, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. File is corrupt. (Exception from HRESULT: 0x8013110E) ---> System.BadImageFormatException: File is corrupt. (Exception from HRESULT: 0x8013110E)
--- End of inner exception stack trace ---
The Event viewer shows me the same error and says the source is .NET Runtime, and is then immediatly followed by another error with the source Applciation Error, with the following details:
Faulting application name: dotnet.exe, version: 5.0.721.25508, time stamp: 0x609308e9
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1023, time stamp: 0x924f9cdb
Exception code: 0xe0434352
Fault offset: 0x0000000000034b89
Faulting process id: 0x4a18
Faulting application start time: 0x01d76797eececb6d
Faulting application path: C:\Program Files\dotnet\dotnet.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: eed8cc7d-eeb1-45d0-b33c-532e3524f4ee
Faulting package full name:
Faulting package-relative application ID:
Genuinely, I have no idea why, but this is being caused when I add any new property to any class, if I remove it, clean the project, rebuild and run, it works as expected.
I can't find any helpful information anywhere, suggestions on how I can get the real error that is causing the crash would be much appreciated.

Crystal reports viewer print dialog crash

I have created a vs2010 win app that uses Crystal-reports 13.0 sp22
The app is deployed on a work-group of 5 computers
There is a printer connected to the network visible from all PCs
All PCs can print to the printer except one
This one can print from all programs eg notepad, PDF but not from my app
The user clicks on the viewers button to print, the print dialog shows up
but when print is clicked or layout tab is clicked the app crashes
Checking the event viewer I get two application errors:
Number 1:
Application: InsuranceAgent.exe Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException at
System.Globalization.RegionInfo..ctor(Int32) at
CrystalDecisions.Windows.Forms.CrystalReportPrintDialogCustomPanel.GetPaperSizeString(Double,
Double) at
CrystalDecisions.Windows.Forms.CrystalReportPrintDialogCustomPanel.UpdateChoices()
at
CrystalDecisions.Windows.Forms.CrystalReportPrintDialog.UpdateSelectedPrinterOnPanel()
at
CrystalDecisions.Windows.Forms.CrystalReportPrintDialog.CrystalReportPrintPropertySheetDlgProc(IntPtr,
CrystalDecisions.Windows.Forms.Internal.WindowsMessages, IntPtr,
IntPtr)
Number 2:
Faulting application name: InsuranceAgent.exe, version: 2.0.6622.2791,
time stamp: 0x5a876a70 Faulting module name: KERNELBASE.dll, version:
10.0.16299.248, time stamp: 0x4414ec23 Exception code: 0xe0434352 Fault offset: 0x0000000000014008 Faulting process ID: 0x27fc Faulting
application start time: 0x01d3a782bfac72fc Faulting application path:
C:\Program Files (x86)\PNSoftware\Insurance Agent\InsuranceAgent.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report ID:
70ffc331-1923-4f03-b06e-e07935328527 Faulting package full name:
Faulting package-relative application ID:
This Happens only in this PC all others are ok and all the same win10 OS
Any help will be deeply appreciated
Thank you all in advance
​After all the problem was solved
​I cannot explain why but only how !!!!!
I changed the regional settings ( the format tab )​ to English United States
​Any other setting does not work eg. English United Kingdom
​The funny thing is that on the network all other computers they have regional settings Greek and the application is working fine
​
​Would be great to have an explanation but at least at last it is working ...
All the best
Nikos

NServiceBus.Host.exe is crashing due to unhandled exception

We have seen this a few times. I'm sure there is some sort of NHibernate issue with MSDTC however why doesn't NserviceBus send the exception to the error queue instead of crashing the Host process? We have seen the exception in both 3.2.6 and 3.3.3
This also happened on the 17th before we did the endpoint upgrade at 7:34AM
Log Name: Application
Source: Application Error
Date: 12/17/2012 7:34:20 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: 411357-SVCS01.daxko.local
Description:
Faulting application name: NServiceBus.Host.exe, version: 3.2.6.0, time stamp: 0x4ffd66f8
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e21213c
Exception code: 0xe0434352
Fault offset: 0x000000000000cacd
Faulting process id: 0x2200
Faulting application start time: 0x01cddc556e2ef369
Faulting application path: D:\store\endpoints\Production\OnlineRegistrationEndpoint\NServiceBus.Host.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 75b6c18c-484e-11e2-b05c-0050568e4fb1
Event Xml:
1000
2
100
0x80000000000000
40360
Application
411357-SVCS01.daxko.local
NServiceBus.Host.exe
3.2.6.0
4ffd66f8
KERNELBASE.dll
6.1.7601.17651
4e21213c
e0434352
000000000000cacd
2200
01cddc556e2ef369
D:\store\endpoints\Production\OnlineRegistrationEndpoint\NServiceBus.Host.exe
C:\Windows\system32\KERNELBASE.dll
75b6c18c-484e-11e2-b05c-0050568e4fb1
Log Name: Application
Source: .NET Runtime
Date: 12/17/2012 7:34:18 AM
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: 411357-SVCS01.daxko.local
Description:
Application: NServiceBus.Host.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
at NHibernate.AdoNet.ConnectionManager.Disconnect()
at NHibernate.Impl.SessionImpl.Close()
at NHibernate.Impl.SessionImpl.Dispose(Boolean)
at NHibernate.Transaction.AdoNetWithDistrubtedTransactionFactory+<>c_DisplayClass1.b_0(System.Object, System.Transactions.TransactionEventArgs)
at System.Transactions.TransactionCompletedEventHandler.Invoke(System.Object, System.Transactions.TransactionEventArgs)
at System.Transactions.TransactionStatePromotedAborted.EnterState(System.Transactions.InternalTransaction)
at System.Transactions.InternalTransaction.DistributedTransactionOutcome(System.Transactions.InternalTransaction, System.Transactions.TransactionStatus)
at System.Transactions.Oletx.RealOletxTransaction.FireOutcome(System.Transactions.TransactionStatus)
at System.Transactions.Oletx.OutcomeEnlistment.InvokeOutcomeFunction(System.Transactions.TransactionStatus)
at System.Transactions.Oletx.OletxTransactionManager.ShimNotificationCallback(System.Object, Boolean)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(System.Object, Boolean)
Event Xml:
1026
2
0
0x80000000000000
40359
Application
411357-SVCS01.daxko.local
Application: NServiceBus.Host.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
at NHibernate.AdoNet.ConnectionManager.Disconnect()
at NHibernate.Impl.SessionImpl.Close()
at NHibernate.Impl.SessionImpl.Dispose(Boolean)
at NHibernate.Transaction.AdoNetWithDistrubtedTransactionFactory+<>c_DisplayClass1.<EnlistInDistributedTransactionIfNeeded>b_0(System.Object, System.Transactions.TransactionEventArgs)
at System.Transactions.TransactionCompletedEventHandler.Invoke(System.Object, System.Transactions.TransactionEventArgs)
at System.Transactions.TransactionStatePromotedAborted.EnterState(System.Transactions.InternalTransaction)
at System.Transactions.InternalTransaction.DistributedTransactionOutcome(System.Transactions.InternalTransaction, System.Transactions.TransactionStatus)
at System.Transactions.Oletx.RealOletxTransaction.FireOutcome(System.Transactions.TransactionStatus)
at System.Transactions.Oletx.OutcomeEnlistment.InvokeOutcomeFunction(System.Transactions.TransactionStatus)
at System.Transactions.Oletx.OletxTransactionManager.ShimNotificationCallback(System.Object, Boolean)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(System.Object, Boolean)
I got a response from the NServicebus forums that explains a fix and reason for NServiceBus not being able to handle the exception. http://tech.groups.yahoo.com/group/nservicebus/message/17328
After googling this, it looks like it is a bug in NHibernate ( https://nhibernate.jira.com/browse/NH-2420 ) that should have been fixed in > 3 versions!
The reason your endpoint crashed and nothing is sent to the error queue is because this is an unhandled exception in a background thread.
I'm not sure if there is anything we can do to prevent this from happening!
On 19 December 2012 04:20, porsche4me1999 wrote:
at NHibernate.AdoNet.ConnectionManager.Disconnect()
--
Regards
John Simons
NServiceBus

LINQPad crashes with "OutOfMemoryException" on startup?

I have Linqpad in Windows7 64 bit. It was working fine till last week, but suddenly it started crashing while starting the program itself. The following are the event logs
.NET Runtime
Application: LINQPad.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.OutOfMemoryException
Stack:
at LINQPad.Program.ProcessException(System.Exception)
at LINQPad.Program.Start(System.String[])
at LINQPad.ProgramStarter.Run(System.String[])
at LINQPad.Loader.Main(System.String[])
Application Error
Faulting application name: LINQPad.exe, version: 4.31.0.0, time stamp: 0x4cfb29be
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
Exception code: 0xe0434352
Fault offset: 0x0000b9bc
Faulting process id: 0x1c68
Faulting application start time: 0x01ccc4506f8b6553
Faulting application path: C:\Users\Administrator\Downloads\LINQPad4\LINQPad.exe
Faulting module path: C:\windows\syswow64\KERNELBASE.dll
Report Id: af0a8ac8-3043-11e1-9f3c-f0def166a9e4
Any help would be appreciated.

I have a faulting dll and a fault address - how do I start analysing the error?

I have the following two error logs in the Windows Event Viewer of our IIS production server:
Source: Application Error
Category: (100)
Event ID: (1000)
Description: Faulting application w3wp.exe, version 6.0.3790.3959, faulting module mscorwks.dll, version 2.0.50727.3603, fault address 0x0001da8f.
Seconds later:
Source: .NET Runtime 2.0 Error Reporting
Category: None
Event ID: 1000
Description: Faulting application w3wp.exe, version 6.0.3790.3959, stamp 45d6968e, faulting module mscorwks.dll, version 2.0.50727.3603, stamp 4a7cd88e, debug? 0, fault address 0x0001da8f.
What can I do with these error messages? I see that I have a fault address and a dll name - are there any tools that will show me what is at this address in the dll? Would this be the correct approach to figuring out what caused the crash? I've so far not been able to replicate it.
Thanks.