Solved

bounded versus unbounded in a remotable project

Posted on 2007-04-10
3
230 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

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

Suggested Solutions

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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 NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

734 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