Solved

C# Remoting Error While Sending Bitmap

Posted on 2009-05-08
4
579 Views
Last Modified: 2013-12-17
I have recently been working with remoting in C# .NET and i used the following at codeproject to get me started.

http://www.codeproject.com/KB/IP/Net_Remoting.aspx

I copied everything that it uses to send a string but modified them to send Bitmaps but when i try to send the bitmap i get the following error:

"Because of security restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed."

Can someone please tell me why this is happening and how to fix it?

Thanks in advance!

-Anthony
0
Comment
Question by:Anthony408
  • 2
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
Cebik earned 500 total points
ID: 24341267
0
 
LVL 1

Author Comment

by:Anthony408
ID: 24341866
Thanks Cebik,

This helped a lot i didn't even think of using a byte array to send it and then reassemble the bitmap.

Thanks a lot!
0
 
LVL 1

Author Closing Comment

by:Anthony408
ID: 31579678
Thanks :D
0
 
LVL 6

Expert Comment

by:Cebik
ID: 24345987
you're welcome :)
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question