all groups > dotnet remoting > july 2005
Filter by week: 1 2 3 4 5
Serialize MarshalByRefObject
Posted by Nay at 7/30/2005 2:56:01 PM
Hi
I try to serialize(soap/binary) an object of class, that inherit from
MarshalByRefObject in order to remote it.
Regardless of the remoting thing, I have to serialize that object( for
persistency).
But I have a serialization exception, since MarshalByRefObject has identityt
member(of type... more >>
More singleton objects in the same application
Posted by Cinnio at 7/29/2005 1:38:08 AM
Hi all
I have a windows application exposing via remoting three singleton
objects, let' call them "SA", "SB" and "SMain" .
"SA" and "SB" are instantiated by remote client applications (which
reside on the same machine).
"SMain" object is instantiated by "SA" and "SB".
Because of this, ... more >>
registering 2 channels for each of 2 networkcards
Posted by David at 7/29/2005 12:00:00 AM
hello!
I have a server which has 2 buildin network cards. I must be able to access
a singleton service from both networks represented by the 2 networkcards.
the 2 networks should remain separated because of security reasons.( I know
that now my service is propably the security problem)
So ... more >>
Latency of remoting calls to a machine with a high CPU load
Posted by Tom.Fransen NO[at]SPAM home.nl at 7/28/2005 10:39:28 PM
Hi,
I have the following question. We have two machines running Windows
XP/SP2. One of the machines does a call via .NET remoting to the
another machine. We see that if the CPU load on the 'receiving' machine
is very high (near 100%) the calls take very long. To some extend this
makes sense a... more >>
Custom proxy in interface-based approach
Posted by Guillaume St-Pierre at 7/28/2005 10:07:08 AM
Apparently, using a custom proxy with an interface-referenced object
obtained from a server is impossible.
I have this scenario :
My server application registers a singleton SAO as the starting point for
all communication with clients. The client obtains this SAO with the common
Activato... more >>
Generating proxies to a singleton
Posted by Jon at 7/28/2005 4:31:01 AM
HI
I have a multithreaded client that talks to a singleton remote object on a
service. When a client thread requires the singleton object, it calls a
static method which generates the proxy-object via Activator.GetObject()
My question is, is there any advantage/disadvantage to using the sa... more >>
Remote debugging
Posted by EDom at 7/28/2005 12:00:00 AM
Hi,
I have a common scenario where all the developers will debug the code from
one central server which is hosting the asp.net project. I shared the
wwwroot$ and can open the project in different development machines but when
I run the debugger to execute the code it stops after compiling with a... more >>
FileNotFound exception
Posted by Prodip Saha at 7/27/2005 5:19:56 PM
Hi,
I have a wellknown remote service and it is hosted using windows service.
The windows service is generic and it does not have any reference to any
dll. I simply configure the services through the configuration file. Thanks
to Ingo Rammer for valuable clue on where to store the .config file i... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Remoting Book
Posted by Michael Moreno at 7/27/2005 12:00:00 AM
Hello,
I am looking for a .Net Remoting book for distributed applications with
WinForm GUI (not for Web Services and not simple console app).
Can you recommend one please?
Everything I find seems to be either incomplete (no callback or event
sample) or for web service or for simple "pin... more >>
OutOfMemory error
Posted by DotnetFan at 7/26/2005 2:48:04 PM
Hi all,
I hope someone can provide some inputs about this issue. I have a
transaction writing a large amount of data to and read another one out of
database using dataset. Large amount of data as of 60+MB data one way. When
this transaction's object runs as local object, it runs ok. When th... more >>
A Directory Service error has occurred
Posted by Eduardo Fonseca B. at 7/26/2005 2:08:03 PM
Hello, I work giving support to a system developed in .NET wich uses
Autorization Manager, Remoting, and Reflection.
I'm having trouble with the system at the production environment because
sometime it launches an Exception with the message "A Directory Service error
has occurred". I've notic... more >>
Problem when hosted by a Windows Service
Posted by Ron Rush at 7/26/2005 12:44:02 PM
I am writing a messaging service that uses 3 remote singletons. One sits on
the client and sends requests to another object on the server. This in turn
calls back into a second client object that is waiting for incoming messages.
The problem is that when my remote components are hosted on 2... more >>
remoting configuration schema
Posted by emar at 7/26/2005 12:38:13 PM
Is there a w3c schema available for the remoting configuration xml?
If yes, where might I find it ?
Thanks,
Em
... more >>
Version redirection
Posted by Bob Rundle at 7/26/2005 7:30:54 AM
I'm trying to figure out how to handle versioning with remoting. I am using
RemotingServices.Marshal() to mashal my object and Activator.GetObject() to
access it. I am using abstract classes to implement my remoting objects.
Every works fine as long as the assembly version of my shared clas... more >>
Com object called locally works fine but fails when called from remote object
Posted by pwl NO[at]SPAM 4me.pl at 7/26/2005 6:37:39 AM
I have and object
public class RemoteConverter : MarshalByRefObject
which uses Com object develped in Delphi. I created a wrapper class for
object with tlbimp.
Wrapper class consists of
interface 'ImagePointConverterNET.IVisImageConverter'.
class 'ImagePointConverterNET.TVisImageConverterCla... more >>
Socket is freezing my datagrid
Posted by Edge at 7/26/2005 12:00:00 AM
hi,
we here have an app where the server push some data assynch to the
clients connected via tcp socket. This data is then captured in the
client and inserted in a datagrid. So far no problem.
But sometimes, when the incoming data is in a too short period, my
client freezes.
any hints o... more >>
Remote object destruction in .Net Remoting
Posted by vsapre80 NO[at]SPAM gmail.com at 7/25/2005 5:10:48 PM
Hi,
I want to be able to kill the remote object with a GUI control on the
Client side. I made up a small function which calls delete on the
pointer to the remote object. However, the delete basically calls the
destructor, and so I have to define a destructor. but in doing so I am
getting this... more >>
TargetInvocationException when dynamically calling RTD server meth
Posted by Rich Wood at 7/25/2005 11:51:01 AM
I have a remoting server that sends messages and data to clients. It worked
fine until I tried to implement the client interface in an RTD server (an
object that pushes data to excel), i.e. I want to send message from my
remoting server to an RTD server.
The DLL containing the client and se... more >>
Question on connecting to multiple singletons on same service
Posted by Ron at 7/25/2005 11:17:02 AM
I have a service hosted in IIS using binary formatting. THe service
contains 5 singletons. When connecting from the client I create a new http
channel for each of the five singletons that I use. Is this nessesary?
Would one channel work for all of them? When a channel is created is it
sp... more >>
How to Bind specific object to specific channel
Posted by Jimmy Carlsson at 7/25/2005 7:59:05 AM
Example: Lets say I want to register two channels - a TcpChannel and a
HttpChannel. Then I want ObjectA to be reachable through the TcpChannel and
ObjectB through the HttpChannel but not vice versa...
Any ideas of how to do that as simple as possible?
Preferably not by some "hack" to the s... more >>
Event Callback with ASP.NET Client
Posted by Ron at 7/22/2005 5:44:04 PM
Im finding myself pretty frustrated with this one.
Getting error when remote event fires ::: "This remoting proxy has no
channel sink which means either the server has no registered server channels
that are listening, or this application has no suitable client channel to
talk to the server... more >>
Copntrol.Invoke not able to Marshal to UI thread
Posted by Samba at 7/22/2005 6:03:03 AM
Hi,
I've implemented a remote object, server and a client (all in VB .NET). It
is basicaly a sample chat application with the server raising events and the
client handling them. I've implemented this as per (KB: 312114)
The problem is that even after marshalling the incoming thread to th... more >>
Remoting and DataSets
Posted by luanne.ng NO[at]SPAM gmail.com at 7/21/2005 11:56:45 PM
I'm trying to retrieve a DataSet remotely on the Client side from the
Server. But I keep getting this error:
Type is not resolved for member System.Data.SerializationFormat,
System.Data, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
If I understand correctly, DataSets an... more >>
remoting service delaying system shutdown
Posted by Stephan Steiner at 7/21/2005 12:00:00 AM
Hi
I have written a set of .NET services and applications using .NET remoting.
One of my two services manages to delay the shutdown of the system it runs
on. I've been investigating what could cause these problems and so far have
discarded the following:
I'm using RemotingServices.Marsha... more >>
Fire wall or NAT router problem
Posted by vishy at 7/20/2005 9:45:06 AM
Hi,
I want to know what problems I can face if client,or a server has installed
firewall?
What problems,in case of firewall or NAT router has been installed? ALso,
will the probllems be same on tcp and http channels?
thks... more >>
Unregistering a channel
Posted by vsapre80 NO[at]SPAM gmail.com at 7/18/2005 12:52:13 PM
The .Net class:System.Runtime.Remoting.Channels.ChannelServices has a
public member: UnregisterChannel(IChannel chnl)
This one should be used to unregister a channel once the applicaiton
decides to no more use the services of a remote object. if the channel
was registered programmatically, it ... more >>
SocketException
Posted by Remoting at 7/17/2005 4:32:26 PM
A the Remoting Chat application is set up so that I could run the
server as a windows service. It works fine, but occasionally it 'hangs'
and the clients cannot connect to it.
Client gets the exception
System.Net.Sockets.SocketException: No connection could be made because
the target machine ac... more >>
Remoting Error (newbie)
Posted by Mike Smith at 7/17/2005 8:06:02 AM
Hi all, I've just started going through the Microsoft 'building distributed
applications' book and am running into an error on the very first sample app.
Basically what i have is
- a c# component that inherits from MarshalByRef.
- a c# windows app (server) which hosts the component.
- a c... more >>
Newbie .NET Remoting Question
Posted by DOTNETGUY at 7/15/2005 1:27:05 PM
Ok so i tried the sample MS provided. Simple server and client setup. Now
lets say i want to update my reference dll and add different functions. After
i compile my new client. How can I push this to client that try to connect so
they get the updated DLL/App?
Any help would be greatly appre... more >>
PLEASE HELP: Remoting creating local instance
Posted by thecoder at 7/15/2005 10:13:02 AM
I am trying to remote into a remote IIS server from a asp.net app. I
have tried all kinds of configuration but I still end up creating a
local instance. Please check the following code:
TcpClientChannel tcpClient = new TcpClientChannel();
ChannelServices.RegisterChannel(tcpClient);
Remoting... more >>
multiple servers or multiple clients, not sure if remoting is what I need
Posted by Steve at 7/15/2005 10:07:24 AM
I've just finished my first project using remoting. It was a simple project
that enabled a web app to interact with a another app. I find myself with a
similar project to develop but am not sure the best way to approach it.
Here is the situation; one PC running IIS, this will be the sole int... more >>
Unable to renew for Client Side Sponsor
Posted by rjhatch NO[at]SPAM liquidcognition.com at 7/15/2005 7:28:18 AM
Earlier this week, I had gone over how sponsorship works, and have
found a nice server side sponsor example. Once I got that to work, I
have been trying to get the client side sponsor to work. It does not,
however, want to call the renewal when the lease has expired, and am
unsure why. I have... more >>
CAS issue accessing byte[] resource, how to fix?
Posted by Jim at 7/13/2005 2:50:02 PM
Hi, I have a CAS problem related to a serialized object in a satellite
assembly.
Specifically, I have an application with one EXE and two DLLs on my server.
The EXE uses one of the DLLs, and that DLL uses the other DLL as a satellite
assembly (which contains an embedded resource).
It al... more >>
SAO from SAO on same IIS hosted service
Posted by Ron at 7/12/2005 11:49:10 AM
I have a IIS hosted service that hosts 5 Singeltons
One of the singletons maintains a buch of cached data that needs to be
accessed from one (or more) of the other singletons methods. I'm trying to
figure out a way to get the reference to the caching singleton from the
accesing singleton m... more >>
Services and Remoting
Posted by jones6 at 7/12/2005 11:25:03 AM
Hi, we have written a console application that runs fine with remoting. We
converted it to a service and now clients cannot connect giving the error
"The connected party did not properly respond after a period of time, or
established connection failed because the connected host did not respon... more >>
Problem with Send stream to remote installation
Posted by Peppe at 7/12/2005 12:00:00 AM
I have a problem with remoting...
I have a remote installation and i send data(datatable) and file(as stream)
To make it i open channel and create object in this way :
'---------------------CODE-----------------------
Private mChannelServerTCP As TcpChannel
Private mChannelServerHTTP As HttpC... more >>
Remoting and config files
Posted by Striped at 7/11/2005 11:51:49 AM
Can I configure 2 different server-activated (well-known) objects in a
config file or in two config files for the same channel e.g. tcp and
different ports and load them in a host application? Or I have to create two
host applications for each object?
As I understand IIS can do this.
thank... more >>
IE hosted control - 100 sec delay at startup
Posted by Greg at 7/11/2005 5:41:22 AM
Hi,
I'm creating a control that will be hosted in internet explorer and use
remoting to communicate with a server application.
The remoting object is a single call server activated object. When
then control is hosted in IE, the first remoting call takes 100 sec to
complete. Subsequent cal... more >>
Strongly typed dataset and remoting
Posted by Sakke at 7/11/2005 12:00:00 AM
Hi,
I have problem with strongly typed dataset and remoting.
I have strongly typed dataset in client and I want sent it to server via
remoting. How I can do that? I need data and diffgram statuses in server
(inserted, modified)
If is not possible, can I some how convert strongly typed dat... more >>
Any reason not to let remote object access a database?
Posted by Z at 7/9/2005 1:12:03 PM
I have a window forms client that adds records to a SQL Server database and
then it displays the records in a forms datagrid. Here is the code that
performs those 2 tasks:
connection = new SqlConnection(connStr);
connection.Open();
//create a SqlCommand object and assign the connection
... more >>
w2k3, IIS and remoting
Posted by sahridhayan at 7/8/2005 12:48:02 PM
i want to upgrade from IIS5.0 for my remoting hosted server..
we used to set the Application Protection High Isolated of virtual directory
and also Exe Permissions "Script and Executables"
what is the equaivalent changes need to be done in iis 6.0
also whether asp.net user permission is enou... more >>
Need a sanity check on CAO and lifetime
Posted by Roy Chastain at 7/8/2005 10:48:36 AM
I have a CAO that has a very small shared code base. It is created by factory method in the server. It is sponsored etc. All this
is working.
Now I need the CAO to actually do some work. The way that I would like to do this (I think), is to have interfaces defined in the
shared code and then ... more >>
Memory Leak
Posted by Rushi Patel at 7/8/2005 10:08:02 AM
Hi,
We host bunch of singleton remoting objects in different app domains in a
window service. The service runs with admin user identity. The client
(window application) calls a method (say A) on the singleton remote object
to supply an id. The method on remote object does some heavy processing... more >>
Remoting calls MUCH slower than OLEDB calls
Posted by Ron L at 7/7/2005 3:20:15 PM
I am working on an application that is a front-end for a SQL database.
While it is not an immediate requirement, the application will probably be
required to be able to connect via the internet at a later date, so we are
implementing the data connections via remoting. The remoting is implemen... more >>
Remoting and windows service
Posted by John at 7/7/2005 5:47:31 AM
Hi,
I created a windows service which register channels and expose
remotable object.
And when try to access from client:
ChannelServices.RegisterChannel (new TcpClientChannel());
h = (DecisionGroupNet.ProductFinder)
Activator.GetObject(typeof(DecisionGroupNet.ProductFinder),"tcp://127.0.0... more >>
Remoting: Object serialization issues
Posted by John at 7/7/2005 1:52:27 AM
Hi,
I have problem accessing the "pf" variable of Hello Class.
in client line number 4 getting error "Object reference not set to an
instance of an object."
1=2E ProductInfo pf;
2=2E b1 =3D h.PrintHello();
3=2E pf =3D h.Product;
4=2E this.textBox1.Text =3D pf.ProductID.ToString();
incl... more >>
Remoting Error
Posted by amrendrakr NO[at]SPAM gmail.com at 7/7/2005 1:20:01 AM
hi,
I have hosted my remoting object on local machine (TCP channel). As
console application works fine. but same remoting object host using
Window service getting error. "No connection could be made as the
server refused it".
Client and server both runing on same machine.
any clue why?
... more >>
object Serialization problem in remoting
Posted by amrendrakr NO[at]SPAM gmail.com at 7/7/2005 12:00:39 AM
Hi,
I have problem accessing the "pf" variable of Hello Class.
in client line number 4 getting error "Object reference not set to an
instance of an object."
1. ProductInfo pf;
2. b1 = h.PrintHello();
3. pf = h.Product;
4. this.textBox1.Text = pf.ProductID.ToString();
included code of rem... more >>
Trying use interface on client instead of served class
Posted by garyivy NO[at]SPAM gmail.com at 7/6/2005 2:38:50 PM
I am building a "windows service" to parse files as they are dropped
off on my server.
To help clients, monitor the parsing progress, I want to use a web
page.
So, I figured a nice way for the website to get a "progress report"
would be via a remoted object served by the parsing service.
... more >>
accessing properties of remote objects
Posted by Joel Lyons at 7/6/2005 11:28:46 AM
I have a remote object with a public property (see code below). A client
can use this property to receive a ref to another remote object and use it's
properties.
This works great over a LAN, but over the internet, when the client tries to
use this second object by calling a property or metho... more >>
|