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

dotnet remoting

group:

Channel problem with framework 1.1


Channel problem with framework 1.1 Ladislav Prosek
8/16/2003 11:52:45 PM
dotnet remoting: Hello,

I wrote a remoting channel that worked perfectly with framework 1.0. When I
switched to framework 1.1, I started to have the following problem. During a
remote call when the server throws an exception, no matter what exception it
is, on the client side "RemotingException: Server encountered an internal
error." is thrown (with empty server stack trace). I get this even when
throwing System.Exception.

What change in framework 1.1 could cause this kind of problem? Does it have
something to do with that new security setting in formatters (the
typeFilterLevel property, which I had to set to "Full" for server
formatters)? How can I fix it? I use binary formatters.

Thank you very much in advance.


LP

Re: Channel problem with framework 1.1 Ladislav Prosek
8/17/2003 1:26:41 AM
Just a few things to add:
1) After setting customErrors to off in the server, the problem persists!
2) How do I set customErrors programmatically (without configuration file)?
3) How do (server)channels specify whether the call they process is remote
or local (so that the decision can be made whether to send back the real or
the 'custom' exception)?


LP


[quoted text, click to view]

AddThis Social Bookmark Button