2009-02-23 79 views
1

对于大约三个用户安装中的20个,我很难再现错误。这是一个.net Windows应用程序,2005在VB.Net上运行在XP上。打开窗口后,我们得到一个错误:在运行时将Appbase设置为空

Could not load file or assembly 'Infragistics2.Win.UltraWinChart.v8.2, 
Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its 
dependencies. Element not found. (Exception from HRESULT: 0x80070490) *****ClearTrac ***** 
    at ClearTrac.ucNav.InitializeComponent() 
    at ClearTrac.ucNav..ctor() 
    at ClearTrac.frmPortfolio.InitializeComponent() ...

这也发生在ReportViewer DLL和其他一些infragistics dll的。 我打开绑定日志,第一结合是好的,但是当我得到的错误,应用平台已被设置为空白:

*** Assembly Binder Log Entry (2/20/2009 @ 3:41:10 PM) *** 

The operation failed. 
Bind result: hr = 0x80070490. Element not found. 

Assembly manager loaded from: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll 
Running under executable C:\Documents and Settings\rdelaney\Local Settings\Apps\2.0\ZZ09GJK6.2VY\GPRTP6CM.GOX\clea..tion_8055aae51715540e_0001.0004_0a540274bbdc609c\ClearTrac.exe 
--- A detailed error log follows. 

=== Pre-bind state information === 
LOG: User = CAM\rdelaney 
LOG: DisplayName = Microsoft.ReportViewer.WinForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 
(Fully-specified) 
LOG: Appbase = 
LOG: Initial PrivatePath = NULL 
LOG: Dynamic Base = NULL 
LOG: Cache Base = NULL 
LOG: AppName = ClearTrac.exe` 
Calling assembly : ClearTrac, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. 
=== 
LOG: This bind starts in default load context. 
LOG: Using application configuration file: C:\Documents and Settings\rdelaney\Local Settings\Apps\2.0\ZZ09GJK6.2VY\GPRTP6CM.GOX\clea..tion_8055aae51715540e_0001.0004_0a540274bbdc609c\ClearTrac.exe.config 
LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config. 
ERR: Unrecoverable error occurred during pre-download check (hr = 0x80070490). 

任何想法?

回答

0

我们发现这个错误只有安装了SP1或SP2的.NET框架下发生的。在安装纯粹的.net framework 2.0时,它不会发生。