all groups > dotnet remoting > august 2004 >
You're in the

dotnet remoting

group:

internal customError in remoting?



internal customError in remoting? gaetan NO[at]SPAM xeberon.net
8/26/2004 11:06:50 AM
dotnet remoting: hello

I have a set of application playing with remoting. All seems to work
on local but it crash with the following exception when i set up a
client on an other computer:
Fatal exception occured : Server encountered an internal error. For
more information, turn on customErrors in the server's .config file.
(, -1)

I tryed to add
<customErrors mode="off" />
or
<customErrors mode="on" />
or
<customErrors mode="remoteOnly" />
in the config file of the server

but it never change anything! The worst is it works for the first call
to a remoting object, it the second one (that sends a serializable
object) that rises an exception i can't tell what it is.
But it works when i put everything in localhost ! any clue!?

Re: internal customError in remoting? Sam Santiago
8/26/2004 12:02:56 PM
I think case matters, so try On, Off, or RemoteOnly.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfcustomerrorssection.asp

This is an ASP.NET parameter, so I'm assuming you have deployed your remote
object to IIS and are modifying the web.config file in your virtual
directory.

Thanks,

Sam

--
_______________________________
Sam Santiago
ssantiago@n0spam-SoftiTechture.com
http://www.SoftiTechture.com
_______________________________
[quoted text, click to view]

Re: internal customError in remoting? Gaetan semet
8/27/2004 1:44:22 AM

no no it's not for asp.net !
It's just standard stand alone programs using Remoting.

What i do'nt understand is it works fine in my computer, and not
remotely (thus, nothing really change from the "remoting" point of vue,
it's just the ip that changes). It's not a "cannot connect" problem i
think there is something in the rights or in the framework configuration
i may have to change for my program to run on an other computer....

-----
Great A'Tan - http://www.xeberon.net/gaetan

*** Sent via Developersdex http://www.developersdex.com ***
Re: internal customError in remoting? Sam Santiago
8/27/2004 4:05:10 PM
You might want to post some code that show how you configure your server
side channels and client channels.

--
_______________________________
Sam Santiago
ssantiago@n0spam-SoftiTechture.com
http://www.SoftiTechture.com
_______________________________
[quoted text, click to view]

AddThis Social Bookmark Button