473,795 Members | 2,554 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Remoting error propogation and filenotfound

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.FileN otFoundExceptio n: File or assembly name Product, or one of
its dependencies, was not found.
File name: "Product"
at System.Reflecti on.Assembly.nLo ad(AssemblyName fileName, String codeBase,
Boolean isStringized, Evidence assemblySecurit y, Boolean
throwOnFileNotF ound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflecti on.Assembly.Int ernalLoad(Assem blyName assemblyRef, Boolean
stringized, Evidence assemblySecurit y, StackCrawlMark& stackMark)
at System.Reflecti on.Assembly.Int ernalLoad(Strin g assemblyString, Evidence
assemblySecurit y, StackCrawlMark& stackMark)
at System.Reflecti on.Assembly.Loa d(String assemblyString)
at System.Reflecti on.MemberInfoSe rializationHold er..ctor(Serial izationInfo
info, StreamingContex t context)
at System.Exceptio n.GetExceptionM ethodFromString ()
at System.Exceptio n.GetTargetSite Internal()
at System.Exceptio n.get_TargetSit e()
at IDTEC.Component s.Exceptions.ID TException.ToSt ring()
at IDTec.UI.IDTecC ontrols.IDTDial ogBox.ShowError Dialog(String
showOnlyMessage , Exception e, String pluginName, String pluginVersion,
String methodName)
at Rectron.Plugins .Side.btnNew_Cl ick(Object sender, EventArgs e)
at System.Windows. Forms.Control.o nclick(EventArg s e)
at System.Windows. Forms.Button.on click(EventArgs e)
at System.Windows. Forms.Button.Wn dProc(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr 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



Nov 16 '05 #1
0 1077

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2127
by: Roman Muntyanu | last post by:
Hi All, I got exception when call Activator.GetObject( ... ) When I start my application I register Channel to communicate between two computers and register type ReceiverLocator for remoting in Bind() Then when I need to get reference to this object on remote computer I call Lookup and get proxy from remote computer. Lookup() works fine when I start MyApplication.exe from current
0
1124
by: David Krmpotic | last post by:
Hello! I have a simple client/server plugin based architecture. I place all the plugins in \plugins sub-directory on both, server and the client. Each DLL has implemented two interfaces.. on for client side and other for server side. On the server I dinamically load all the assemblies from that sub-directory and register the objects that implement IBuddyPluginServerSide as SAOs. On the client I do the same for those that implement...
2
1647
by: Kenneth Keeley | last post by:
Hi I have created a Web.config file with theses settings: <customErrors mode="RemoteOnly" defaultRedirect="/errorpages/generic.aspx"> <error statusCode="403" redirect="/errorpages/noaccess.aspx" /> <error statusCode="404" redirect="/errorpages/filenotfound.aspx" /> </customErrors> If a user tries to go to a folder that does not exist then I get my default HTML error page for directory not found.
3
2633
by: MovnOn | last post by:
I've created an installation package for my program. Before installation, I use the User Interface to get values that are added to the registry. One of the values that the user must add is a path to a required input file for the program. I'm finding that if the user enters a path which contains a space (example: c:\Program Files\myProgram\file.txt) that the install will return a file not found error and abort the install. I don't...
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10213
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9040
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3722
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.