Solved

bounded versus unbounded in a remotable project

Posted on 2007-04-10
3
231 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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…

705 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