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.