none
Exception HRSULT:0x8007007E RRS feed

  • Question

  • Hi all,
    I am stick with one of my project. This project is on release no. 1.37
    till this time all was ok. But suddenly I receive HRESULT:0x8007007E. This
    exception dows not occur on development PC it works fine but when I deply it
    on another PC it throws above exception. I am using secugen dll in this
    project with Framework 3.5. Detail exception message is as below.


    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.IO.FileNotFoundException: The specified module could not be found.
    (Exception from HRESULT: 0x8007007E)
    at TIS.CON.SRMS.PTier.frmSlumCard..ctor()
    at TIS.CON.SRMS.PTier.frmMain.slumCardEntryToolStripMenuItem_Click(Object
    sender, EventArgs e)
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,
    ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,
    ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
    button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ToolStrip.WndProc(Message& m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
    IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase:
    file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    SRMS
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase:
    file:///C:/Documents%20and%20Settings/Nilkanth/Local%20Settings/Apps/2.0/53M19CW7.E7Q/RCN95GZ0.KV1/srms..tion_0000000000000000_0001.0000_0120268746393d41/SRMS.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase:
    file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase:
    file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase:
    file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase:
    file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.




    Can any one tell me whay may the cause for this probelm.

    Nilkanth Desai

    • Moved by spacewrangler Wednesday, February 18, 2009 6:12 AM (Moved from Building Development and Diagnostic Tools for .Net to Common Language Runtime)
    Wednesday, January 21, 2009 11:37 AM

Answers

  • In these cases I use filemon to find out what the runtime is looking for (http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx)
    I have seen this happen when a dotnet service pack 1 is installed on the development machine, but is not available on the production machine. Or when migrating from visual studio 2005 to 2008, _or_ 2008 -> 2008 sp1.

    Their all require different runtime re-distributables to be installed...

    Gr,

    Jan

    --concision without obfuscation
    Wednesday, January 21, 2009 1:02 PM