我们有3个不同的PC有visual studio,一个应用程序在所有系统上工作正常,而在没有Visual Studio的PC上尝试相同的应用程序时,尝试运行时,没有任何反应,没有错误消息。
我们正在使用dll概念,比如在CLR项目中使用本机dll,而CLR dll正在C#项目中使用。
来自事件查看器的应用程序日志[应用程序错误+ .net运行时错误]如下: -
Log Name: Application
Source: Application Error
Date: 07-09-2016 15:01:07
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: QC4.bankgrp.com
Description:
Faulting application name: F.exe, version: 0.0.0.0, time stamp: 0x57ce924d
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17031, time stamp: 0x530888f8
Exception code: 0xe0434352
Fault offset: 0x0000f097
Faulting process id: 0xeb4
Faulting application start time: 0x01d208ea8fd94e6b
Faulting application path: C:\dzQCD\F.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: cdb58a94-74dd-11e6-9de9-001d606bc204
Faulting package full name:
Faulting package-relative application ID:
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="2016-09-07T09:31:07.000000000Z" />
<EventRecordID>194144</EventRecordID>
<Channel>Application</Channel>
<Computer>QC4.bankgrp.com</Computer>
<Security />
</System>
<EventData>
<Data>F.exe</Data>
<Data>0.0.0.0</Data>
<Data>57ce924d</Data>
<Data>KERNELBASE.dll</Data>
<Data>6.3.9600.17031</Data>
<Data>530888f8</Data>
<Data>e0434352</Data>
<Data>0000f097</Data>
<Data>eb4</Data>
<Data>01d208ea8fd94e6b</Data>
<Data>C:\dzQCD\F.exe</Data>
<Data>C:\Windows\system32\KERNELBASE.dll</Data>
<Data>cdb58a94-74dd-11e6-9de9-001d606bc204</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>
Log Name: Application
Source: .NET Runtime
Date: 07-09-2016 15:01:07
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: QC4.bankgrp.com
Description:
Application: F.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException
Stack:
at CardBrowser.QCForm..ctor()
at CardBrowser.Home..ctor()
at CardBrowser.Program.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="2016-09-07T09:31:07.000000000Z" />
<EventRecordID>194143</EventRecordID>
<Channel>Application</Channel>
<Computer>QC4.bankgrp.com</Computer>
<Security />
</System>
<EventData>
<Data>Application: F.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException
Stack:
at CardBrowser.QCForm..ctor()
at CardBrowser.Home..ctor()
at CardBrowser.Program.Main()
</Data>
</EventData>
</Event>
任何人都可以告诉我如何找出这个的根本原因。 是因为缺少dll还是因为框架不匹配而发生的问题?
提前感谢。
==发现1 ==