-2
응용 프로그램을 시작하자마자 충돌이 발생하지만 배포 후에 만 응용 프로그램이 디버그 모드에서 정상적으로 실행됩니다. 편의상실행시 충돌하는 배포 된 응용 프로그램의 스택 추적을 보는 방법
내가 비주얼 스튜디오 2012
에 CD 스타일의 배포로 배포했습니다 이것은 C# 윈도우 응용 프로그램입니다.
Faulting application name: applaunch.exe, version: 4.0.30319.33440, time stamp: 0x52003c5a
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54504ade
Exception code: 0xe0434352
Fault offset: 0x00014598
Faulting process ID: 0x1a64
Faulting application start time: 0x01d02c18ff5c4f43
Faulting application path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\applaunch.exe
Faulting module path: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
Report ID: 3ee36614-980c-11e4-8354-b8ca3a87a278
Faulting package full name:
Faulting package-relative application ID:
는 어떤이의 가장 큰 원인 일 것입니다 :
Application: applaunch.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException
Stack:
at Konformance.App.Main()
at System.AppDomain._nExecuteAssembly(System.Reflection.RuntimeAssembly, System.String[])
at System.AppDomain.nExecuteAssembly(System.Reflection.RuntimeAssembly, System.String[])
at System.Runtime.Hosting.ManifestRunner.Run(Boolean)
at System.Runtime.Hosting.ManifestRunner.NewThreadRunner()
at System.Threading.ThreadHelper.ThreadStart_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.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
에 의해 이어 다음과 같이 (이벤트 로그) 던져
오류는입니까? 문제가 밝혀졌다
감사
콘솔? wpf? winforms? ASP? 초기화 코드를 보여줄 수 있습니까? – Default
안녕하세요, 저는 그것이 C# Windows 응용 프로그램이라고 덧붙였습니다. 초기화 코드에서 무엇을 찾고 싶습니까? 나는 전체 파일을 여기에 버리고 싶지 않다. 감사합니다 – Comanighttrain
정말,이 순간에 단순한 추측 게임입니다. 'AppDomain.CurrentDomain.UnhandledException + = OnThreadException; '을 통해 처리되지 않은 예외를 캐치하고 내부 예외를 검사 할 수 있습니까? 그것은 그 문제를 정확히 지적 할 수 있습니다. – Default