all groups > dotnet remoting > march 2005
Filter by week: 1 2 3 4 5
problem of Remoting app in machine with two subnet intefaces
Posted by Jacky Kwok at 3/31/2005 2:43:49 PM
I have a DOtnet remoting app which can run OK in machine which has one
network card (or two networks they have the same subnet).
However, if the app run in machine which has two network cards with
different subnet, the app will fail.
I found the problem is that
The TcpChannel/TcpServe... more >>
Using Remoting to Talk to another platform
Posted by tsteinke NO[at]SPAM gmail.com at 3/31/2005 11:48:55 AM
I am intrested in extending .NET remoting to talk to another Non .NET
C++ system. Does anyone have any experience with this?
... more >>
Mutex misunderstanding
Posted by mccownf NO[at]SPAM yahoo.com at 3/31/2005 8:40:17 AM
I'm trying to understand why my mutex won't lock over multiple calls.
I'm calling the remote method LockObj() 4 times in a row. I expect the
first call to lock the mutex and the remaining 3 calls to wait since I
have never unlocked (called ReleaseMutex()) the mutex.
public class RemoteObj :... more >>
Remoting Connection Terminating
Posted by quortex NO[at]SPAM hotmail.com at 3/31/2005 8:26:45 AM
Hi,
I have a .net remoting application that I am having problems with and
aren't quite sure why.
I have a server application that exposes a wellknown object in
singleton mode. Clients connect and they access remote objects fine
and I have an event system that is working just fine.
The e... more >>
System.Net.Sockets.SocketException
Posted by ××œ×™×¨× at 3/31/2005 5:11:02 AM
Hello u
i try to make a simple .net remoting sample:
client run on a webserver
server run on not public server
When i run the client app. and the server app. on the local intranet, it works
but when i try to run the client on a web server it faild connect the server
app trew the intern... more >>
Publish a specific object-instance via Remoting using configuration file.
Posted by Hadason NO[at]SPAM gmail.com at 3/31/2005 2:52:06 AM
Hi,
I'm writing a server application that exposes an object as a singleton.
I want the server application to be able to access that object in order
to monitor some changes made by the client apps.
I'm currently using a configuration file in order to export the object.
from what i understand... more >>
Remoted object dies after 5-10 minutes
Posted by GuidoD at 3/30/2005 5:04:46 PM
Hi,
I hope someone can help me out: I have created a network service that
consists of two objects; one monitors
another network service 'LegacyService' 24/7 and the other object is used to
report statistics on this service to windows clients, who
use this data to create charts.
Schematic... more >>
Persistence of remotable objects with server and clients
Posted by RobbieGotNeeds NO[at]SPAM netscape.net at 3/30/2005 11:24:12 AM
I have a Windows service application that hosts a remotable class. I
have gotten one or more clients to subscribe to events that I have
defined in my remotable class, and when I have my server fire these
events, my clients respond. All is good at this point. What I want to
do is notify my cli... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Changing Client.exe.config does not refresh in application behavior
Posted by HankD at 3/30/2005 6:12:39 AM
I have a simple test scenario that I can get to work on my local
machine. An ASP.NET application calling a remote object hosted in IIS
all on localhost. When I tried to move the remote object to be hosted
in IIS on a different machine and then change my client.exe.config to
point to the new ur... more >>
Exception Handling Nightmare
Posted by Eldon Ferran de Pol at 3/30/2005 6:05:04 AM
Hi all,
I'm trying to implement Customer Error handling in a remoting environment
and am getting nowhere. I've read numerous articles on this and don't really
understand what the prblem is, especially as there are very few posts on this
group about it.
I have the class below defined in... more >>
Remoting service disappearing only to reappear later
Posted by Brendan Grant at 3/29/2005 2:45:52 PM
I have a Windows Service that shares out a number of
classes via Remoting and a client that accesses these
classes.
In a very particular case, I have a loop on the client and
that runs through each element in an arraylist contained
within one of these shared clients. In this loop, it
ch... more >>
.net remoting questions
Posted by Hari Chinnamareddy at 3/29/2005 12:59:55 PM
I have a few questions regarding .net remoting. Please let me know if you
have any thoughts.
1) Marshalling Object by Reference or Marshalling by Value. Are there
performance issues that need to be considered if the objects are large in
size?
2) Marshalling Object by Reference... more >>
GetObject and configuration
Posted by Eldon Ferran de Pol at 3/29/2005 6:47:05 AM
I have a client that is using an Interface Assembly as I don't want to
distribute my implementation to all my clients. Because of this I can't use
the new keyword in order to create a new object on the remote server, so have
to use GetObject().
Is there is anyway that I can still use the c... more >>
.Net Remoting and out bound only http
Posted by Steve Welborn via .NET 247 at 3/28/2005 8:02:57 PM
Hello everyone=2E
I am currently developing a piece of software that is used for=
Tech Support and includes Remote Desktop, File transfer and the=
like=2E The way I have it now is I am hosting my remote object and=
interface on IIS and the client updates the remote object on IIS=
(hashta... more >>
Remoting a GUI application
Posted by dworthem at 3/28/2005 10:19:01 AM
As has been mentioned before in this discussion group before, people have
discussed their need to allow a remote client of GUI application to
manipulate the UI. As has been mentioned one cannot marshal ,for example,
the reference to the form in the remote GUI app to the client and call back
... more >>
Have a client communicate with a Windows service via remoting... (newbie)
Posted by RobbieGotNeeds NO[at]SPAM netscape.net at 3/27/2005 8:57:07 PM
Hi,
I have written a Windows service that checks that status of something
and does some minor tasks. It works fine. Now, the situation has
arisen that I need to communicate this status with another application
which is in another application domain. It was suggested that I use
remoting for... more >>
Problem with client
Posted by Miroslav Belko via .NET 247 at 3/26/2005 5:12:40 PM
Hi!
I have problem with client of Sinleton remote object=2E
When I restart windows service which hosts server, client app=
stops respondind when trying to call remote object=2E I have=
tried everything I found in helps, but only thing which works is=
to restart client app and then it sta... more >>
registering to Event
Posted by Michael Moreno at 3/25/2005 1:44:23 PM
Hello,
It seems to be a question that is asked about 2000 times a day : "How
to register to event?". But I could not find any working solution yet.
The client and the server are in my case on the same machine.
On the server side, if I do this
m_Channel = new HttpChannel(Port);
... more >>
IIS-hosted remoting object and Http context
Posted by Homam at 3/25/2005 8:33:04 AM
Is there a way for a Remoting object hosted in IIS to access the Http context
of an ASP.NET application hosted on the same machine? For example, is there a
way to access the HttpApplication object from a Remoting object hosted in the
same machine and possibly deployed in the same Bin folder?
... more >>
Asyncronous Call From asp.net
Posted by Eldon Ferran de Pol at 3/25/2005 6:41:01 AM
I need to make an asyncronous call from an asp.net page and then pick up the
response once the call has completed. Is there anyway that I can do this.
Cheers for any help,
Eldon... more >>
C# remote server and host application
Posted by msuk at 3/24/2005 3:47:03 AM
All,
I have a console host c# application that when run loads the remoting
information from the app.config using
RemotingConfiguration.Configure("xxxx.exe.config");
and waits for incoming requests. What I would like to do is when a request
comes in display information in the console h... more >>
dataset -> xml stream -> dataset
Posted by Marc Schumacher via DotNetMonster.com at 3/23/2005 11:31:25 PM
Hi,
I have a server program running on computer A which ought to transfer a
dataset over tcp to a different computer B. At B, I want to fill a dataset
with this xml stream again. I?ve been searching through google for a week
but there is nothing appropriate. Does anyone know where to look or h... more >>
Loading assembly from GAC on remoting Client machine
Posted by siddharthkhare NO[at]SPAM hotmail.com at 3/23/2005 10:45:45 PM
Hi,
I have gone through the problems when you try to load the assembly from
GAC on a remoting client...i.e remoting not letting you use the version
number on the client.
solution was use 'qualifyAssembly'...I tried it but it still does not
work for me.....assuming assembly name is IABC.dl... more >>
Is there any way to call event/callback from server to client if client is behind proxy?
Posted by Serg at 3/23/2005 7:05:17 PM
I need to fire event from server to client. And clinet is behind proxy.
I have investigated a transparent proxy for method that client send to
server to subscript to an event.
It has an internal clients LAN IP address. Some thing like 192.168.*.*
Is there any way to get the real clients IP to su... more >>
Calling Thread.Abort() on client thread calling remote object
Posted by Frank Jones at 3/23/2005 6:55:03 AM
Some basic questions regarding Thread.Abort() and remoting.
If Thread.Abort() is called on a client thread while that thread is calling
a remote object, it seems that the ThreadAbortException is not thrown until
the remote method call returns. It seems that the Thread.Abort() signal does
no... more >>
Configuring Remoting Socket
Posted by Philpot at 3/22/2005 10:37:06 AM
How can I configure the socket that is used by the remoting framework? I
wish to increase the size of the queue used to store pending socket
connections.
Occassionally a large number of clients try to make a remote call to my
server and some are rejected because the pending accept queue ge... more >>
RegisterWellKnownObject and singleton remoting
Posted by ThunderMusic at 3/22/2005 10:06:00 AM
Hi,
I have a service that contains an instance of an object from a shared
library. The problem I have is that the client connecting to the service
should obtain a reference to the exact same instance of the object (the same
as the service). Before doing the code (for nothing if it's not how ... more >>
impersonation from IIS to a Windows Service
Posted by Melissa Lewis at 3/22/2005 9:18:27 AM
Hi,
I'm not sure if this is the best newsgroup to be posting on, so please
be patient with me.
I have an existing Windows Forms application that uses remoting to talk
to the server via a custom Windows Service that acts as the remoting
host (I'm using GenuineChannels, BTW). I'm using imper... more >>
Remoting client not receiving events from server
Posted by John.Price NO[at]SPAM gmail.com at 3/22/2005 9:05:52 AM
I'm working on a fairly simple client/server program where the client
provides a GUI and uses remoting to access and manipulate objects on
the server. It's actually just some demo code I'm trying to get
working before I move on to something more complicated, but I'm still
having trouble with it... more >>
Registered Channels
Posted by msuk at 3/22/2005 4:37:02 AM
All,
I have a C# remoting server that my C# client connect to using the code below:
TcpClientChannel channel = new TcpClientChannel();
ChannelServices.RegisterChannel(channel);
remoteServer = "tcp://" + remoteServer + ":" + port + "/xxxx";
Interface.Ixxx process_activator = (Interfa... more >>
Using .NET remoting to communicate with visual foxpro application
Posted by kd at 3/20/2005 12:09:02 AM
Hi All,
I am not sure whether this question can be posted in this newsgroup.
Is it possible to implement .NET remoting to communicate between two
applications; one that is developed in vb.net and the other is developed in
visual foxpro 8.0?
Are there other ways to achieve this communic... more >>
Activator.CreateInstance() problem
Posted by Don Juan at 3/20/2005 12:00:00 AM
Hi,
I learning remoting and try to create a CAO with declarative
configuration. What I have is:
1. an interface IDBConnect
2. DbConnect business object
3. a server:
<application>
<service>
<activated type="DbConnect.DbConnect, DbConnect" />
</service>
<channels>
<... more >>
Exception in Remoting
Posted by Adnan Siddiqi via .NET 247 at 3/19/2005 2:45:16 PM
Hello
I am getting followin exception while debug my Server code:
an unhandled exception of type System.ArgumentNullException' occurred in mscorlib.dll Additional information: Value cannot be null
private void InitServer()
{
//Open channel for communication
this.htsChannel=n... more >>
Where is client-activated object created?
Posted by Stan at 3/18/2005 4:24:20 PM
What does 'client-activated' actually mean?
When an object is client-activated, does it mean that it travels across the
wire to the client and created in the client appDomain, similar to COM+
library-activated application?
Or it means that the client just controls the creation of the object ... more >>
Debugging an IIS hosted remotable object
Posted by James at 3/18/2005 10:25:10 AM
This is one of my first attempts at implementing remoting and have got a my
object successfully hosted by IIS but now I'm attempting to continue
development and can't quite figure out how to debug the thing.
I basically created new a class library object, created a few types, created
a web.... more >>
Passing a ContextBoundObject across remoting boundaries
Posted by James at 3/18/2005 8:55:05 AM
I'm pretty new to remoting and had a sample scenario in mind that i was
curious as to wether it's even possible (if it's not I've gotta figure
something else out). Here it is:
I have a class library with a singlton server-activated object that is
hosted by IIS/ASP.NET and the singleton obje... more >>
Remoting Exception - Server is busy
Posted by mail NO[at]SPAM trackten.co.uk at 3/18/2005 7:46:43 AM
Hi,
Windows XP Service Pack 2 / .NET 1.1.4322.573 / Visual Studio 2003
I have a simple remoting server that exposes a singeton class using
the tcpchannel with a single method that fires a single event.
I also have a client that connects to the server event and starts a
large number of th... more >>
NT Service terminates unexpectedly
Posted by sagar sarvankar at 3/18/2005 6:47:04 AM
Hi!
I have created an nt service in .Net. I have hosted lots of classes in the
service. If I run a long running task the service dies for sure without leaving
any clue in the log files. Event log, only logs the following message
"The service terminated unexpectedly. It has done this 1 tim... more >>
1 or Multiple Channels
Posted by danielshanyfelt NO[at]SPAM yahoo.com at 3/18/2005 6:41:42 AM
If I am serving multiple Singlecall SAOs in a single windows service,
should I be using more than 1 channel? I have seen a lot of discussion
of multiple channels and how to accomplish this, but haven't seen why.
Is there anything wrong with the following?
ChannelServices.RegisterChannel(new H... more >>
SOAP formatter
Posted by Max Khorouzhy at 3/18/2005 2:31:08 AM
Hi, I have a problem with SOAP calls to remoting object. Remote call passes
some parameters that are objects. These objects contain text information in
national charset (ciryllic). Remote object takes these objects and saves them
into database. It works ok, but there is a specialized proxy bet... more >>
Does my proxy implements my interface ?
Posted by Hugo Batista at 3/17/2005 6:09:11 PM
Hi,
after doing
myobject = RemotingServices.Connect(typeof(MyClass), myUrl);
on a well known server activated, i want to test if
myObject is IMyInterface
How can this be done, before calling anything on the object ?
Because even if it implements IMyInterface, i get a false value...... more >>
Status 500 after multiple successfull calls
Posted by consultutah NO[at]SPAM gmail.com at 3/17/2005 10:25:41 AM
I have an ActiveX Control that communicates via binary remoting to an
SingleCall object hosted in IIS.
If I log into the site and go to the page that uses the ActiveX
control, it will usually work fine. If I then go to another page and
return to the ActiveX control, I begin getting Status 500... more >>
Multithreaded server
Posted by Brecht Yperman at 3/17/2005 1:55:04 AM
Hi,
i'm looking for a solution for the following problem:
i want a server where multiple clients can connect to and then get an object
assigned which they can work on (while the actual work is being done on the
server). These "serverjobs" should run concurrent.
So, in some invented metala... more >>
Remoting from behind machine-local proxy
Posted by MKhoruzhy NO[at]SPAM infostroy.ru at 3/17/2005 12:08:56 AM
I have a configuration when Remoting Windows Form client has to
communicate with Remoting object hosted by IIS via encreprted http
channel. Encription is provided by specialized client-side and
server-side software. Client-side encription software works as http
proxy server with automatic regist... more >>
Object with uri ... does not exist at server
Posted by Armin Bajramovic at 3/16/2005 2:30:52 PM
Hi,
I have a remote object hosted by console application.
Remoting configuration is:
<!-- Remoting configuration -->
<system.runtime.remoting>
<application>
<lifetime />
<service>
<wellknown mode="SingleCall"
type="LK.Remote.Ti... more >>
Singleton Objects Dying
Posted by Ahmed Ben Messaoud at 3/16/2005 11:29:08 AM
I have an application that calls singleton objects on a remote server
using IIS. Requests are made by about 50 clients every 10 seconds,
everything just stops working at one point until i just replace the DLL
on the server doing the work.
I have a feeling that it has to do with the objects not d... more >>
Custom Exception from remote object not working
Posted by chris stephenson via .NET 247 at 3/16/2005 7:36:13 AM
Hi,
I am trying to Serialize a custom exception from a remote sver to=
my client (Remoting client activated over a tcp channel)=2E When=
the client tries to catch the exception I don't get my custom=
exception, but rather a SerializationException=2E I've looked=
extensively around and i c... more >>
Multiple Object Hosting Using .Net remoting
Posted by Raman N via .NET 247 at 3/16/2005 4:25:23 AM
In our Asp=2ENet application we are having some assemblies having=
two or more classes(across different vbs in the same=
solution)=2EIn order to access our application server (containing=
all the dlls) from our web Server(containing Aspx) we have=
implemented remoting and have created proxy ... more >>
Remoting a file
Posted by Marc at 3/16/2005 4:25:04 AM
What would be the best way to copy a file from one App Domain to another
using remoting? Knowledge that the copy is important.
Thanks,
Marc
... more >>
why is the lease expired?
Posted by Julia at 3/15/2005 6:20:24 PM
I have a singleton remote object hosted by window service
and an ASP.NET client which connect to the remote object
though I am returning null from the InitializeLifetimeService()
it seems that the lease expired.
here is my code:
public class MySingleton : MarshalByRefObject
{
pu... more >>
|