Click here to Skip to main content
15,910,083 members
Home / Discussions / C#
   

C#

 
AnswerRe: Reading a txt file to set properties ? Pin
MilesAhead29-May-04 5:26
MilesAhead29-May-04 5:26 
AnswerRe: Reading a txt file to set properties ? Pin
triso1-Jun-04 9:39
triso1-Jun-04 9:39 
AnswerRe: Reading a txt file to set properties ? Pin
triso1-Jun-04 9:41
triso1-Jun-04 9:41 
QuestionGhostscript: wrapper for C# ? Pin
TigerNinja_28-May-04 7:01
TigerNinja_28-May-04 7:01 
AnswerRe: Ghostscript: wrapper for C# ? Pin
Dave Kreskowiak28-May-04 7:52
mveDave Kreskowiak28-May-04 7:52 
QuestionHow to Pull an Image from a dll? Pin
BillyDvd28-May-04 6:01
BillyDvd28-May-04 6:01 
AnswerRe: How to Pull an Image from a dll? Pin
Dave Kreskowiak28-May-04 6:25
mveDave Kreskowiak28-May-04 6:25 
GeneralRemoting error propogation and FileNotFound Pin
SimonS28-May-04 4:33
SimonS28-May-04 4:33 
Our scenario is:

Various business objects on server using interfaced-based remoting being called by a thick Windows client.

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(AssemblyName 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..ctor(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.ShowErrorDialog(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(Message& 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.

Has anyone come across a situation where the DLL throws this error instead of a standard .NET exception?

EDIT:
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...

Cheers,
Simon

sig ::
"Don't try to be like Jackie. There is only one Jackie.... Study computers instead.", Jackie Chan on career choices.

article :: animation mechanics in SVG     blog:: brokenkeyboards
"It'll be a cold day in Hell when I do VB.NET...", Chris Maunder

GeneralNumeric TextBox Pin
BaShOr28-May-04 4:26
BaShOr28-May-04 4:26 
GeneralRe: Numeric TextBox Pin
Dave Kreskowiak28-May-04 4:39
mveDave Kreskowiak28-May-04 4:39 
Generalremote object Pin
Silly Boy28-May-04 4:15
Silly Boy28-May-04 4:15 
GeneralRe: remote object Pin
Dave Kreskowiak28-May-04 4:29
mveDave Kreskowiak28-May-04 4:29 
GeneralPassing 'Int32' array to COM Pin
kskris28-May-04 2:35
kskris28-May-04 2:35 
GeneralTyped Collection Utility Pin
Colin Angus Mackay28-May-04 2:30
Colin Angus Mackay28-May-04 2:30 
GeneralRe: Typed Collection Utility Pin
Colin Angus Mackay28-May-04 2:48
Colin Angus Mackay28-May-04 2:48 
Generalnice of you Pin
Hesham Amin28-May-04 4:05
Hesham Amin28-May-04 4:05 
GeneralRe: nice of you Pin
Colin Angus Mackay28-May-04 5:00
Colin Angus Mackay28-May-04 5:00 
Generaldeploying application Pin
Ammar Ben Hadj Amor27-May-04 23:25
professionalAmmar Ben Hadj Amor27-May-04 23:25 
QuestionHow to programmitically extract zip file in C# Pin
vinod jadhav27-May-04 22:47
vinod jadhav27-May-04 22:47 
AnswerRe: How to programmitically extract zip file in C# Pin
netclectic27-May-04 23:43
netclectic27-May-04 23:43 
GeneralRemoting Questions Pin
James Simpson27-May-04 22:36
James Simpson27-May-04 22:36 
Generalstrings in DLL calls Pin
Gian27-May-04 21:37
Gian27-May-04 21:37 
GeneralRe: strings in DLL calls Pin
Gian27-May-04 21:40
Gian27-May-04 21:40 
GeneralChecking connection of some IP to the internet Pin
Den2Fly27-May-04 21:27
Den2Fly27-May-04 21:27 
Generalconformation Pin
sreejith ss nair27-May-04 20:59
sreejith ss nair27-May-04 20:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.