• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3398
  • Last Modified:

An exception of type 'System.IO.FileLoadException' occurred and was caught.

Receiving two errors from a custom app, and could use some insight as to why.  Thank you.
Error #1
 
Event Type:	Error
Event Source:	EmailAggregatorService
Event Category:	None
Event ID:	100
Date:		4/20/2009
Time:		11:00:14 AM
User:		N/A
Computer:	XXX
Description:
Timestamp: 4/20/2009 3:00:14 PM
Message: HandlingInstanceID: fa120d1b-11c3-4e2c-bdde-43964b8804dd
An exception of type 'System.IO.FileLoadException' occurred and was caught.
---------------------------------------------------------------------------
04/20/2009 11:00:14
Type : System.IO.FileLoadException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source : EmailAggregatorLib
Help link : 
FileName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
FusionLog : WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
 
Data : System.Collections.ListDictionaryInternal
TargetSite : Void ProcesshandledException(System.Exception)
Stack Trace :    at EmailAggregatorLib.Utility.EmailAggregatorLib.ProcesshandledException(Exception ex)
   at EmailAggregatorLib.Utility.EmailAggregatorLib.ProcessDirectory(Object state)
   at System.Threading._TimerCallback.TimerCallback_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading._TimerCallback.PerformTimerCallback(Object state)
 
Additional Info:
 
MachineName : XXXX
TimeStamp : 4/20/2009 3:00:14 PM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
AppDomainName : EmailAggregatorService.exe
ThreadIdentity : 
WindowsIdentity : XXXX
 
Category: Default Category
Priority: 0
EventId: 100
Severity: Error
Title:Error Occured in Application
Machine: XXXX
Application Domain: EmailAggregatorService.exe
Process Id: 3820
Process Name: C:\Program Files\XXX\EmailAggregatorService\EmailAggregatorService.exe
Win32 Thread Id: 2004
Thread Name: 
Extended Properties: 
 
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
 
---------------------------------------------
 
Error #2
 
Event Type:	Error
Event Source:	.NET Runtime 2.0 Error Reporting
Event Category:	None
Event ID:	5000
Date:		4/20/2009
Time:		11:00:14 AM
User:		N/A
Computer:	XXXX
Description:
EventType clr20r3, P1 emailaggregatorservice.exe, P2 1.0.0.0, P3 4693d2dd, P4 emailaggregatorlib, P5 1.0.0.0, P6 4693d2dc, P7 41, P8 d9, P9 system.io.fileloadexception, P10 NIL.
 
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 63 00 6c 00 72 00 32 00   c.l.r.2.
0008: 30 00 72 00 33 00 2c 00   0.r.3.,.
0010: 20 00 65 00 6d 00 61 00    .e.m.a.
0018: 69 00 6c 00 61 00 67 00   i.l.a.g.
0020: 67 00 72 00 65 00 67 00   g.r.e.g.
0028: 61 00 74 00 6f 00 72 00   a.t.o.r.
0030: 73 00 65 00 72 00 76 00   s.e.r.v.
0038: 69 00 63 00 65 00 2e 00   i.c.e...
0040: 65 00 78 00 65 00 2c 00   e.x.e.,.
0048: 20 00 31 00 2e 00 30 00    .1...0.
0050: 2e 00 30 00 2e 00 30 00   ..0...0.
0058: 2c 00 20 00 34 00 36 00   ,. .4.6.
0060: 39 00 33 00 64 00 32 00   9.3.d.2.
0068: 64 00 64 00 2c 00 20 00   d.d.,. .
0070: 65 00 6d 00 61 00 69 00   e.m.a.i.
0078: 6c 00 61 00 67 00 67 00   l.a.g.g.
0080: 72 00 65 00 67 00 61 00   r.e.g.a.
0088: 74 00 6f 00 72 00 6c 00   t.o.r.l.
0090: 69 00 62 00 2c 00 20 00   i.b.,. .
0098: 31 00 2e 00 30 00 2e 00   1...0...
00a0: 30 00 2e 00 30 00 2c 00   0...0.,.
00a8: 20 00 34 00 36 00 39 00    .4.6.9.
00b0: 33 00 64 00 32 00 64 00   3.d.2.d.
00b8: 63 00 2c 00 20 00 34 00   c.,. .4.
00c0: 31 00 2c 00 20 00 64 00   1.,. .d.
00c8: 39 00 2c 00 20 00 73 00   9.,. .s.
00d0: 79 00 73 00 74 00 65 00   y.s.t.e.
00d8: 6d 00 2e 00 69 00 6f 00   m...i.o.
00e0: 2e 00 66 00 69 00 6c 00   ..f.i.l.
00e8: 65 00 6c 00 6f 00 61 00   e.l.o.a.
00f0: 64 00 65 00 78 00 63 00   d.e.x.c.
00f8: 65 00 70 00 74 00 69 00   e.p.t.i.
0100: 6f 00 6e 00 20 00 4e 00   o.n. .N.
0108: 49 00 4c 00 0d 00 0a 00   I.L.....

Open in new window

0
tscd
Asked:
tscd
1 Solution
 
Faheem ShaikhCommented:
0
 
HernaldoCommented:
This is a robbery, I took 10 minutes for a simple link to msdn it is in google and I also want to charge money!

I want to unregister.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now