Groups | Blog | Home
all groups > dotnet remoting > september 2005 >

dotnet remoting : Intercepting Remoting errors hell!!



Rene
9/1/2005 7:01:53 PM
If an error is thrown in my remoted dlls while the dlls are running in the
localhost IIS the error is sent back to may application correctly, but if I
run the exact same thing and throw the exact same error on another server
the remoting error that I get back is ALWAYS
"System.Runtime.Remoting.RemotingException"

The only difference is that my local host is running IIS 5 and the other
server is running IIS 6. I have enabled just about all possible permissions
in the IIS and the IIS keeps returning the same error mention above

PLEASE HELP ME!!! My application is already deployed and I am getting some
real hell!!

Thank you.

Beth Massi [Architect MVP]
9/3/2005 9:47:06 PM
In your Web.config on your remoting server make sure you also set the
typeFilterLevel attribute to "Full" if you're passing any custom exceptions:

<channels>
<channel ref="http">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>

Also, make sure you specified the customErrors mode like:

<customErrors mode="Off" />


HTH,
-B

[quoted text, click to view]

Rene
9/4/2005 11:46:05 PM
[quoted text, click to view]
I do I have set as Full.

[quoted text, click to view]
For this entry I tried all the possible options already.

Why does it work in the local IIS but not in other IIS?




[quoted text, click to view]

Rene
9/5/2005 12:13:37 AM
Never mind, I found the problem:

http://support.microsoft.com/kb/884871


[quoted text, click to view]

AddThis Social Bookmark Button