Hi
Our scenario is:
Various business objects on a server using interfaced-based remoting being
called by a thick Windows client - all written in .NET 1.1.
Objects are running under a domain admin/domain user account and hosted as a
Windows Service on Windows 2003.
In some situations, instead of receiving a "normal" exception or one of our
custom exceptions we receive the following:
"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: File or assembly name Product, or one of
its dependencies, was not found.
File name: "Product"
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase,
Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef, Boolean
stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence
assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Reflection.MemberInfoSerializationHolder..c tor(SerializationInfo
info, StreamingContext context)
at System.Exception.GetExceptionMethodFromString()
at System.Exception.GetTargetSiteInternal()
at System.Exception.get_TargetSite()
at IDTEC.Components.Exceptions.IDTException.ToString( )
at IDTec.UI.IDTecControls.IDTDialogBox.ShowErrorDialo g(String
showOnlyMessage, Exception e, String pluginName, String pluginVersion,
String methodName)
at Rectron.Plugins.Side.btnNew_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.onclick(EventArgs e)
at System.Windows.Forms.Button.onclick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)"
I'm 100% percent sure that is not a missing dependancy - else nothing would
ever work.
We have also been seeing this type of error from other assemblies.
I get a proper error while running in debug inside VS, but get the above
error while running on our test machine.
Same build and same user, but different error...
While running from within VS, the server configuration is the same.
Our architecture is OK and we have been getting normal error propagation
until recently.
Has anyone come across a situation where the DLL throws this error instead
of a standard .NET exception?
Cheers,
Simon