470,624 Members | 2,476 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,624 developers. It's quick & easy.

Why configure Soap formatter for HTTP Binary Remoting - .NET Framework 1.1

Hello All,

Recently I had posted a message to forum requesting assistance to resolve a
security issueI was facing in .NET Framework 1.1, the error being "Because
of Security Restrictions, the ObjRef cannot be accessed". The solution was
in the server's app.config file where I had to set the 'typeFilterLevel' to
'Full' for both the SOAP as well as the Binary formatters. My remoting
environment was set for Server activated components (so no config file or
configuration in the client side) and I used TCP / Binary for communication.
Initially I just configured the app.config to reflect the Binary formatter
as follows:

<formatter ref="binary" typeFilterLevel="Full"/>

This I added to the channel element in the app.config and it did not resolve
the issue, I was still getting the same errors. I tried to read through but
could not find any specific article explaining why it still happened. I
tried configuring both the SOAP and Binary formatters and it worked.

My question is why do I have to set the 'Soap' formatter's 'typeFilterLevel'
to 'Full' to get TCP Binary to automatically deserialize.

Any theories would be of great help.

Jul 19 '05 #1
0 2372

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by xmail123 | last post: by
52 posts views Thread by frankgerlach | last post: by
reply views Thread by Jigar.Patel | last post: by
2 posts views Thread by Matthew Connor | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.