0

Following is the error i am getting in the output window

A first chance exception of type 'System.NullReferenceException' occurred in ImageEditorPlugin.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in ImageEditorPlugin.dll
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
A first chance exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll
The program '[3884] FlirBuildIR.vshost.exe: Managed' has exited with code 0 (0x0).

Please help me on this

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490
suman
  • 109
  • 1
  • 3
  • 10
  • 4
    You also need to tell us what you did to provoke this error. – David Heffernan Mar 25 '11 at 08:55
  • i have built my application by pressing F5 and it shows the following error."--------------------------- Application failed --------------------------- The specified module could not be found. (Exception from HRESULT: 0x8007007E) – suman Mar 25 '11 at 09:05

1 Answers1

1

It seems your ImageEditorPlugin.dll is trying to access a file that doesn't exist..

Yngve B-Nilsen
  • 9,606
  • 2
  • 36
  • 50
  • we are loading dll's during runtime from the applicaton directory.Even though ImageEditorPlugin.dll exists in application directory it fails to load and through's an exception – suman Mar 25 '11 at 09:13
  • Perhaps ImageEditorPlugin is depending on additional dll's, that does not exist? – Yngve B-Nilsen Mar 25 '11 at 09:14
  • but when i open exe directly from debug/release folder it works fine.when i run it in VS2008 it through's the exception as explained above. i have opened exe in Dependency Walker and it shows a warning for IEFRAME.DLL as "Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module." – suman Mar 25 '11 at 09:21
  • @suman Please read the error messages. They are not that scary. Clearly ImageEditorPlugin.dll is being found because the exception is raised in that DLL. – David Heffernan Mar 25 '11 at 09:22
  • @david. Thanks for the info. i have identified the exception and able to fix that. – suman Mar 28 '11 at 08:32