Solved

bounded versus unbounded in a remotable project

Posted on 2007-04-10
3
228 Views
Last Modified: 2013-12-17
I am getting the following error

"Trying to create a proxy to and unbounded type"

can anybody tell be what that means? what is bounded versus unbounded?
The error pops up on the client side of a remotable project when this line is exectuted

TimeCard = (TimerControl.Class1)Activator.GetObject(typeof(TimerControl.Class1), "tcp://localhost:8080/timingcard");
0
Comment
Question by:isingmodel
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
JipFromParis earned 500 total points
ID: 18888104
This message is issued when your class (TimerControl.Class1) doesn't inherits directly or indirectly from System.MarshalByRefObject. Fix this first please. Other errors may happen after that if your remoting infrastructure is not properly set up.
0
 

Author Comment

by:isingmodel
ID: 18888695
the class is defined in the following manner:

namespace TimerControl {

      public ref class Class1: public MarshalByRefObject

in the c++ dll it comes from.
0
 

Author Comment

by:isingmodel
ID: 18888883
ok I fixed that problem. turns out I just forgot the Remoting namespace in the header file and to reference the remoting namespace in the p[roject references.
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
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 viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

820 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