Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

bounded versus unbounded in a remotable project

Posted on 2007-04-10
3
Medium Priority
?
233 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 1500 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

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…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

604 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