RemotingException.

From: Kevin Burton (KevinBurton_at_discussions.microsoft.com)
Date: 01/12/05


Date: Wed, 12 Jan 2005 14:09:04 -0800

I have what I consider a somewhat unique problem. I have a web page that
makes a call to a remoting server to get information on what the page should
display. This has worked fine for sometime now. I recently changed the
deplyment procedure and now I am getting the below error. The stack trace
shows a call to the remoting method but on the server side I can't seem to
generate any evidence that the call has made it. This error encourages me to
turn customErrors on in the .config file. I am not sure what this has to do
with remoting as the customErrors is part of the system.web section. I have
tried adding a system.web section to the configuration file but I don't get
any more information. My feeling is that an exception or error is being
generated and that is turned into a RemotingException which does not tell me
what actually caused the error. Any ideas?

Kevin

Server encountered an internal error. For more information, turn on
customErrors in the server's .config file.

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.Runtime.Remoting.RemotingException: Server
encountered an internal error. For more information, turn on customErrors in
the server's .config file.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:

[RemotingException: Server encountered an internal error. For more
information, turn on customErrors in the server's .config file.]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg) +264
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type) +877
   visa.dps.ppc.RemoteClsConversion.GetHTML(String strXMLFile, String
strXSLTFile, String strUserInput, String strSessionID)
   visa.dps.ppc.frmVisaPPC.CreateScreen(String strScreen) in
D:\PPCWeb\frmVisaPPC.aspx.cs:54
   visa.dps.ppc.frmVisaPPC.Page_Load(Object sender, EventArgs e) in
D:\PPCWeb\frmVisaPPC.aspx.cs:45
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +750

 



Relevant Pages

  • Re: Assembly does not allow partially trusted callers
    ... (common on a shared server). ... > Modified the config file so debug=false ... > Exception Details: System.Security.SecurityException: That assembly ... > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Remoting and COM+
    ... assembly contains two COM visible objects - one is trigger by a service to load a config file and start listening for remoting clients, the other is used in remoting calls. ... On one server, this is enough, and clients can create and make use of the remoted object. ... On another server, the remoting configuration object reports a successful start, but clients are unable to use the remoted object. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Unknown clients
    ... You should be able to supply all the information in your config file using ... password exist on both machines involved in the remoting conversation. ... > For some strange reason, when using supplied credentials, you have to ... > assign the "machineName" on the server side to match it's public IP. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: RemotingException.
    ... configuring my remoting client (and server). ... How do I change this programmatic configuration to return all of the ... My feeling is that an exception or error is being ...
    (microsoft.public.dotnet.framework.remoting)
  • Remoting: Serialization.SerializationException thrown
    ... I get the following exception thrown when I try to run my code: ... Here's a copy of my server side config file: ... And here's a copy of the client's config file: ... reference of the client to the server object in order to later on be able to ...
    (microsoft.public.dotnet.languages.csharp)