.net - Could not load file or assembly '***.dll' or one of its dependencies -
i have dll created long time ago , use connect db of specific software develop for. have had no issues on 4 years , countless applications dll.
trying deploy latest creation, following error:
system.io.filenotfoundexception: not load file or assembly '***.dll' or 1 of dependencies. specified module not found.
so, every dll ever wrote, made simple forms application test dll itself. running simple app yielded same error. dll doesn't load or use else than: system, system.data, system.xml. far depencies of go, don't see wrong.
by way works on dev station. problem limited deployment stations. .net , necessary redistributables, since in c++, deployed , working.
running fuslogvw.exe showed working fine.
running depends.exe said: warning: @ least 1 module has unresolved import due missing export function in delay-load dependent module.
i tried rewriting whole thing. yielded same results.
clues anyone?
edits
here total error message:
see end of message details on invoking \" just-in-time (jit) debugging instead of dialog box.\" ************** exception text **************\" system.io.filenotfoundexception: not load file or assembly 'connectionto.dll' or 1 of dependencies. specified module not found.\" file name: 'connectiontojobboss32.dll'\" @ testconnection.form1.button1_click(object sender, eventargs e)\" @ system.windows.forms.control.onclick(eventargs e)\" @ system.windows.forms.button.onclick(eventargs e)\" @ system.windows.forms.button.onmouseup(mouseeventargs mevent)\" @ system.windows.forms.control.wmmouseup(message& m, mousebuttons button, int32 clicks)\" @ system.windows.forms.control.wndproc(message& m)\" @ system.windows.forms.buttonbase.wndproc(message& m)\" @ system.windows.forms.button.wndproc(message& m)\" @ system.windows.forms.control.controlnativewindow.onmessage(message& m)\" @ system.windows.forms.control.controlnativewindow.wndproc(message& m)\" @ system.windows.forms.nativewindow.callback(intptr hwnd, int32 msg, intptr wparam, intptr lparam)\" \" ************** loaded assemblies **************\" mscorlib\" assembly version: 4.0.0.0\" win32 version: 4.0.30319.1 (rtmrel.030319-0100)\" codebase: file:///c:/windows/microsoft.net/framework/v4.0.30319/mscorlib.dll\" ----------------------------------------\" testconnection\" assembly version: 1.0.3996.18980\" win32 version: \" codebase: file:///c:/program%20files%20(x86)/conn/testconnection.exe\" ----------------------------------------\" system.windows.forms\" assembly version: 4.0.0.0\" win32 version: 4.0.30319.1 built by: rtmrel\" codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system.windows.forms/v4.0_4.0.0.0__b77a5c561934e089/system.windows.forms.dll\" ----------------------------------------\" system.drawing\" assembly version: 4.0.0.0\" win32 version: 4.0.30319.1 built by: rtmrel\" codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system.drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/system.drawing.dll\" ----------------------------------------\" system\" assembly version: 4.0.0.0\" win32 version: 4.0.30319.1 built by: rtmrel\" codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system/v4.0_4.0.0.0__b77a5c561934e089/system.dll\" ----------------------------------------\"
there no errors in event viewer.
or 1 of dependencies
that's usual problem, cannot see missing unmanaged dll fuslogvw.exe. best thing run sysinternals' procmon utility. you'll see searching dll , not find it. profile mode in dependency walker can show too.
Comments
Post a Comment