2012-09-10 3 views
0

다른 컴퓨터에서 응용 프로그램을 시작하려고하는데 시작과 동시에 충돌이 발생합니다.WPF 응용 프로그램 시작시 작동이 중단됩니다.

내 응용 프로그램이 시작하는 동안 파일을 읽지 않지만, 여전히 System.IO.FileNotFoundException과 충돌합니다.

나는 그것에 대해 무엇을 해야할지 모르겠다. 누구도 나에게 도움을 줄 수 있습니까?

이 덤프 파일은 응용 프로그램 충돌로 인해 생성되었습니다.

<WERReportMetadata> 
<OSVersionInformation> 
    <WindowsNTVersion>6.1</WindowsNTVersion> 
    <Build>7600 </Build> 
    <Product>(0x3): Windows 7 Home Premium</Product> 
    <Edition>HomePremium</Edition> 
    <BuildString>7600.16917.amd64fre.win7_gdr.111118-2330</BuildString> 
    <Revision>1</Revision> 
    <Flavor>Multiprocessor Free</Flavor> 
    <Architecture>X64</Architecture> 
    <LCID>1043</LCID> 
</OSVersionInformation> 
<ProblemSignatures> 
    <EventType>CLR20r3</EventType> 
    <Parameter0>bw000.exe</Parameter0> 
    <Parameter1>0.9.1.0</Parameter1> 
    <Parameter2>50461072</Parameter2> 
    <Parameter3>PresentationFramework</Parameter3> 
    <Parameter4>4.0.0.0</Parameter4> 
    <Parameter5>4d930fa2</Parameter5> 
    <Parameter6>9ef</Parameter6> 
    <Parameter7>f</Parameter7> 
    <Parameter8>System.IO.FileNotFoundException</Parameter8> 
</ProblemSignatures> 
<DynamicSignatures> 
    <Parameter1>6.1.7600.2.0.0.768.3</Parameter1> 
    <Parameter2>1043</Parameter2> 
    <Parameter22>0a9e</Parameter22> 
    <Parameter23>0a9e372d3b4ad19135b953a78882e789</Parameter23> 
    <Parameter24>0a9e</Parameter24> 
    <Parameter25>0a9e372d3b4ad19135b953a78882e789</Parameter25> 
</DynamicSignatures> 
<SystemInformation> 
    <MID>4F696B6F-82CF-4635-A6C8-BA2F7C68C6CA</MID> 
    <SystemManufacturer>MICRO-STAR INTERNATIONAL CO., LTD</SystemManufacturer> 
    <SystemProductName>MS-6657</SystemProductName> 
    <BIOSVersion>V1.30</BIOSVersion> 
</SystemInformation> 

나는 릴리스 폴더 내 파일을 확인하고 PresentationFramework.dll가있다.

업데이트 : .NET 프레임 워크 3.5을 설치하려고

, 그것은 실행되지 않았다. .NET 4가 설치되어 있기 때문에 생각합니다.

나는 Simon의 조언을 듣고 Windows 이벤트 로그를보고 오류 추적을 찾아서 쌓습니다.

  • 은 내가 64 비트 윈도우 7 홈 프리미엄에서 응용 프로그램을 실행해야합니다 :

    이 지금의 상황이다.

  • 응용 프로그램은 32 비트 응용 프로그램으로 컴파일됩니다.

  • .Net 4 확장 및 클라이언트가 설치되어 있습니다. 그것은 그 전에 충돌 있도록

  • 나는, 내가 DispatcherUnhandledException를 설정하지만이 호출되지 않습니다 .NET 4

  • 에서 실행되도록 내 주요 프로젝트 및 모듈 프로젝트를 설정했습니다.

아무도 도와 줄 수 있습니까? 여기

Log Name: Application 
Source:. NET Runtime 
Date: 13/09/2012 9:12:51 
Event ID: 1026 
Task Category: None 
Level: Error 
Keywords: Classic 
User: NA 
Computer: PC-freedom 
Description: 
Application: BW000.exe 
Framework Version: v4.0.30319 
Description: The process was terminated due to an unhandled exception. 
Exception Info: System.IO.FileNotFoundException 
Stack: 
   at BW000.App.OnStartup (System.Windows.StartupEventArgs) 
   ate System.Windows.Application. <. ctor> b__1 (System.Object) 
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate, System.Object, Int32) 
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen (System.Object, System.Delegate, System.Object, Int32, System.Delegate) 
   at System.Windows.Threading.DispatcherOperation.InvokeImpl() 
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext (System.Object) 
   at System.Threading.ExecutionContext.runTryCode (System.Object) 
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup (TryCode, Cleanup code, System.Object) 
   at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) 
   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.Windows.Threading.DispatcherOperation.Invoke() 
   at System.Windows.Threading.Dispatcher.ProcessQueue() 
   at System.Windows.Threading.Dispatcher.WndProcHook (IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 
   at MS.Win32.HwndWrapper.WndProc (IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object) 
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate, System.Object, Int32) 
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen (System.Object, System.Delegate, System.Object, Int32, System.Delegate) 
   at System.Windows.Threading.Dispatcher.InvokeImpl (System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) 
   at MS.Win32.HwndSubclass.SubclassWndProc (IntPtr, Int32, IntPtr, IntPtr) 
   at MS.Win32.UnsafeNativeMethods.DispatchMessage (System.Windows.Interop.MSG ByRef) 
   at System.Windows.Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame) 
   at System.Windows.Threading.Dispatcher.PushFrame (System.Windows.Threading.DispatcherFrame) 
   at System.Windows.Threading.Dispatcher.Run() 
   at System.Windows.Application.RunDispatcher (System.Object) 
   at System.Windows.Application.RunInternal (System.Windows.Window) 
   at System.Windows.Application.Run (System.Windows.Window) 
   at BW000.App.Main() 
     
Event XML: 
 <event Xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> 
   <System> 
     <Provider Name=".NET Runtime" /> 
     <EventID Qualifiers="0"> 1026 </ EventID> 
     <level> 2 </ Level> 
     <Task> 0 </ Task> 
     <keywords> 0x80000000000000 </ Keywords> 
     <TimeCreated SystemTime="2012-09-13T07:12:51.000000000Z" /> 
     <EventRecordID> 525 </ EventRecordID> 
     <channel> Application </ Channel> 
     <computer> Freedom-PC </ Computer> 
     <Security /> 
   </ System> 
   <EventData> 
   <Data> Application: BW000.exe 
Framework Version: v4.0.30319 
Description: The process was terminated due to an unhandled exception. 
Exception Info: System.IO.FileNotFoundException 
Stack: 
   at BW000.App.OnStartup (System.Windows.StartupEventArgs) 
   ate System.Windows.Application. <. ctor> b__1 (System.Object) 
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate, System.Object, Int32) 
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen (System.Object, System.Delegate, System.Object, Int32, System.Delegate) 
   at System.Windows.Threading.DispatcherOperation.InvokeImpl() 
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext (System.Object) 
   at System.Threading.ExecutionContext.runTryCode (System.Object) 
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup (TryCode, Cleanup code, System.Object) 
   at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) 
   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.Windows.Threading.DispatcherOperation.Invoke() 
   at System.Windows.Threading.Dispatcher.ProcessQueue() 
   at System.Windows.Threading.Dispatcher.WndProcHook (IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 
   at MS.Win32.HwndWrapper.WndProc (IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object) 
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate, System.Object, Int32) 
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen (System.Object, System.Delegate, System.Object, Int32, System.Delegate) 
   at System.Windows.Threading.Dispatcher.InvokeImpl (System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) 
   at MS.Win32.HwndSubclass.SubclassWndProc (IntPtr, Int32, IntPtr, IntPtr) 
   at MS.Win32.UnsafeNativeMethods.DispatchMessage (System.Windows.Interop.MSG ByRef) 
   at System.Windows.Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame) 
   at System.Windows.Threading.Dispatcher.PushFrame (System.Windows.Threading.DispatcherFrame) 
   at System.Windows.Threading.Dispatcher.Run() 
   at System.Windows.Application.RunDispatcher (System.Object) 
   at System.Windows.Application.RunInternal (System.Windows.Window) 
   at System.Windows.Application.Run (System.Windows.Window) 
   at BW000.App.Main() 
</ Data> 
  </ Event Data> 
</ Event> 

내가 발견 한 몇 가지 추가 정보 :

Log Name: Application 
Source: Application Error 
Date: 13/09/2012 9:12:52 
Event ID: 1000 
Task Category: (100) 
Level: Error 
Keywords: Classic 
User: NA 
Computer: PC-freedom 
Description: 
Name of application with error: BW000.exe, version: 0.1.0.0, time stamp: 0x504dfc8f 
Name of module with error: KERNELBASE.dll, version: 6.1.7601.17514, time stamp: 0x4ce7bafa 
Exception code: 0xe0434352 
Fault offset: 0x0000b727 
ID of process error: 0xf90 
Start time of application with error: 0x01cd917f300ba4e0 
Path to application with error: C: \ Users \ freedom \ AppData \ Roaming \ Boomerweb \ Boomerweb Platform \ App \ BW000.exe 
Path to module with error: C: \ Windows \ syswow64 \ KERNELBASE.dll 
Report Id: 6e2030c0-fd72-11e1-9968-406186e5690b 
Event XML: 
<event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> 
   <System> 
     <Provider Name="Application Error" /> 
     <EventID Qualifiers="0"> 1000 </ EventID> 
     <level> 2 </ Level> 
     <Task> 100 </ Task> 
     <keywords> 0x80000000000000 </ Keywords> 
     <TimeCreated SystemTime="2012-09-13T07:12:52.000000000Z" /> 
     <EventRecordID> 526 </ EventRecordID> 
     <channel> Application </ Channel> 
     <computer> Freedom-PC </ Computer> 
     <Security /> 
   </ System> 
   <EventData> 
     <Data> BW000.exe </ Data> 
     <Data> 0.1.0.0 </ Data> 
     <Data> 504dfc8f </ Data> 
     <Data> KERNELBASE.dll </ Data> 
     <Data> 6.1.7601.17514 </ Data> 
     <Data> 4ce7bafa </ Data> 
     <Data> E0434352 </ Data> 
     <Data> 0000b727 </ Data> 
     <Data> F90 </ Data> 
     <Data> 01cd917f300ba4e0 </ Data> 
     <Data> C: \ Users \ freedom \ AppData \ Roaming \ Boomerweb \ Boomerweb Platform \ App \ BW000.exe </ Data> 
     <Data> C: \ Windows \ syswow64 \ KERNELBASE.dll </ Data> 
     <Data> 6e2030c0-fd72-11e1-9968-406186e5690b </ Data> 
   </ Event Data> 
</ Event> 
+0

"다른"컴퓨터에 올바른 .Net 프레임 워크가 설치되어 있습니까? – jrb

+0

Windows 이벤트 로그에 아무것도 표시됩니까? 자주 항목과 스택 추적을 얻을거야 ... – Simon

답변

3

죄송합니다, 문제는 .NET하지만 설치되지 않은 마이크로 소프트 재배포 아니었다.

감사합니다.

+0

어느 microsoft 재배포 가능합니까? –

+1

Microsoft Visual C++ 2010 x86 재배포 가능 파일. –

+0

설치 및 배포 프로젝트의 경우 Microsoft_VC120_CRT_x86.msm과 같은 종속성에 병합 모듈을 추가하십시오. – Sean

3

클라이언트 컴퓨터가 .NET의 동일한 버전이 있는지 확인

이 Windows 이벤트 로그에서 STRACK 추적입니다 응용 프로그램을 만드는 데 사용한 프레임 워크입니다. http://www.microsoft.com/en-us/download/details.aspx?id=22

방금 ​​다운로드하려면 조립 (PresentationFramework :

관련 문제