|
-
Sep 10th, 2004, 05:18 AM
#1
Thread Starter
Addicted Member
System.Runtime.Remoting.ObjRef cannot be accessed
Hi.
I'm trying to pass a filestream to a remoted procedure in my ASP.NET application.
I've used remoted procedures which have returned filestreams in the same application without any problems, however when I try to execute a similar procedure and pass a filestream I get the following error:
Because of security restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed.
It's driving me simple. Does anyone have a clue whats going on?
Thanks in advance everyone.
Justin.
-
Sep 10th, 2004, 10:41 AM
#2
Thread Starter
Addicted Member
All I can find on the web suggests for me to add something similar to this to my web.config file to allow relaxed security.
<configuration>
<system.runtime.remoting>
<application>
<service>
<wellknown
type="ServiceType, common"
objectUri=" ServiceType.soap"
mode="Singleton"
/>
</service>
<channels>
<channel ref="http">
<serverProviders>
<provider ref="wsdl" />
<formatter ref="soap" typeFilterLevel=”Full” />
<formatter ref="binary" typeFilterLevel=”Full” />
</serverProviders>
</channel>
</channels>
</application>
</configuration>
But no joy.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|