all groups > dotnet remoting > april 2004
Filter by week: 1 2 3 4 5
Restricting server access to a whitelist
Posted by Joannes Vermorel at 4/30/2004 10:02:15 PM
I would like to restrict the access (from the server side) of MyRemoteObject
: MarshalByRef to a specific list of clients (i.e. a whitelist of machines).
Does anyone know how to implement such security policy ?
Thanks in advance,
Joannes Vermorel
... more >>
Remoting Type Class
Posted by Richard Bell at 4/30/2004 9:17:41 PM
I have a method of a class that derives from ServicedComponent which takes
a Type as a parameter. When I call the method I get the following error.
"Insufficient state to deserialize the object. More information is needed."
Can I remote the Type class? It is marked as serializable. Thanks.
... more >>
access to server object from the server
Posted by juergen doubrawa at 4/30/2004 3:49:57 PM
hi everyone,
i'd like to show my problem with a like example.
my client gets a reference for example like this:
RemotingConfiguration.Configure(_xmlFile);
_server = (IServer) RemotingHelper.GetObject(typeof(IServer));
i use a interface like this:
public interface IServer
{
str... more >>
Remoting performance
Posted by mirek at 4/30/2004 3:45:45 PM
Hi,
I have a windows service hosting my remote object. This is object of my
scheduler class and it creates threads for the tasks to perform. When I
was profiling the performance I have noticed that the most of the time
the process was spending was the TcpChannel.Listen (and Socket.Accept in
... more >>
Calling a .Remoting object from web service
Posted by k2k2e6 NO[at]SPAM yahoo.com at 4/30/2004 2:48:13 PM
Hi,
I am trying to call a .Net remote object from my web service. I am
used to the following interface:
RemotingConfiguration.Configure("web.config")
I have put remoting configuration inside web.config file.
When the web service is called and it calls the above mentioned
method, it can... more >>
Problems with ISponsor, still getting "service unavailable errors"
Posted by Andrew Roberts at 4/30/2004 11:54:21 AM
I have two .NET processes, RemotingHost and RemotingClient.
RemotingHost exposes a server activated live forever object called
RemoteClass which is derived from MarshalByRefObject.
RemoteClass has one method, RemoteMethod, which takes a
RemotedClassParameter object which is also derived from... more >>
How to Use an HTML Client I must be Missing Something!!!!!!
Posted by Chris at 4/30/2004 11:32:25 AM
Can anyone reply to this post and give a complete example of how to use a
pure html/javascript client for a remote object hosted on IIS.
Not ASP.NET server side code to do the Activator.GetObject.
My requirement calls for a true client side solution.
Thanks in Advance...
... more >>
Unregistering client activation
Posted by Tales Normando at 4/30/2004 9:16:33 AM
Hi,
Is there any way I can unregister a
RemotingServices.RegisterActivatedClientType call?
Tales Normando
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to kill a singleton Part II
Posted by Gwyn at 4/30/2004 8:51:06 AM
Further to my mail last week I've been playing a bit more with Singletons and remoting and IIS
I still can't find a satisfactory way to remove a Singleton from service
I thought I had a neat way of getting rid of the Singleton
1. The Singleton registers a sponsor (passing it a reference to the ... more >>
Why Remotingconfiguration works only with windows Application ?
Posted by Priya at 4/30/2004 8:16:03 AM
When I run create a windows application in C# and run the below code
Remotingconfiguration.config("appname.exe.config") my application runs fine and it connects to the Remote server
I created a app.config file and when I compile the windows application it creates appname.exe.config fil
But whe... more >>
Create remoting object with marshal by value
Posted by russ.1 NO[at]SPAM excite.com at 4/30/2004 5:32:15 AM
Hi,
I have a customer object that has a collection of users ie
<code>
public class Customer
{
private ArrayList _User = new ArrayList();
public Customer(string Domain)
{
//code here to populate user collection
}
}
</code>
I want to create the customer object on a se... more >>
COM+ Remoting
Posted by Richard Bell at 4/29/2004 10:42:26 PM
I have a typical class factory framework scenerio working using remoting
with the class factory hosted inside the IIS process. I now want my class
factory to use transactions and run inside COM+. However, I keep getting an
error saying that no channel is registered when I make calls on objects
r... more >>
How to run a remote exe on the remote machine
Posted by cnu at 4/29/2004 10:16:03 PM
Hi
I am new to .net remoting. I don't know COM/DOM, RMI, CORBA either
I would like to know, how to run an exe file that is located on a remote computer. I want to execute thae file on the remote computer itslef
Can somebody help me out....Any sample code or reference URL would be highly appreci... more >>
Remoting questions...
Posted by Chris payne at 4/29/2004 4:11:04 PM
Say I have a singleton object and 5 clients connected to it. If I make a procedure call at the exact same time by all 5 clients, and barring any network discrepancies, how will these 5 calls be handled? Is each reference a thread, or is each call handled by one single thread
What I'm trying to do ... more >>
Deserialization issue between .NET 1.1. client and .NET 1.1 Server
Posted by MMK at 4/29/2004 3:41:04 PM
Hi
I have an application with which works on remoting. The client is built on 1.1 and server on 1.0. When I try to pass a custom collection object across the app domain, I get an error as below
"Index was outside the bounds of the array.
StackTrace
Server stack trace:
at System.R... more >>
can't find System.Runtime.Remoting.Channels.Tcp
Posted by alex at 4/29/2004 12:46:05 PM
I am trying to use TcpChannel class in my app, but the line
using System.Runtime.Remoting.Channels.Tcp
is causing the following error
The type or namespace name 'Tcp' does not exist in the class or namespace 'System.Runtime.Remoting.Channels' (are you missing an assembly reference?)
The System.R... more >>
Multi-Class dll
Posted by dave.roe NO[at]SPAM elantis.biz at 4/29/2004 10:06:47 AM
I am new to remoting and even after reading Ingo Rammers Advanced.Net
Remoting book seem to be struggling.
The dll that I am trying to create a remote connection to has multiple
classes within it. I have placed MarschalByRef within each class but
am unsure where to place the RemotingConfigurat... more >>
new strategy
Posted by Matt Danna at 4/28/2004 8:21:02 PM
Ok, I came up with a new strategy. Still I have 3 projects. A windows application for the client, a console app for the server, and a class library for the shared object. The shared object is reference by both the server and the client. The server's .config file says the type = "Coordinator.Shar... more >>
remoting
Posted by Ruslan at 4/28/2004 4:35:26 PM
Hi,
Is there something like WSE for .NET Remoting?
Sincerely,
Ruslan
... more >>
Error register sponsor for CAO
Posted by Jevelson at 4/28/2004 3:21:05 PM
Hi
I have one singletion remoting Object called SingleAObject from which I get other Client activeted Object CAO_Object
I am using Factory Pattern Client activated Object. I would like to register sponsor for CAO_Object
But I get error when I use following code
"Error: Because of sercurity res... more >>
Re: Novice: reusing the IP address/port
Posted by Mustafa Ahmad Malik at 4/28/2004 1:48:20 PM
During search I found a channel configuration property (look at the link).
ms-help://MS.MSDNQTR.2003OCT.1033/cpref/html/frlrfsystemruntimeremotingchann
elstcptcpserverchannelclasstopic.htm
Is this property exclusiveAddressUse can be helpful. I'm a bit confused
about how to use it for current ... more >>
IE attempts to download IIS Hosted Client program
Posted by Roy Chastain at 4/28/2004 1:17:39 PM
I have a client program stored in a virtual directory in IIS. It is launched by clicking the link to in on a web page in IE.
This works for 3 of the 4 systems that has tried it. The 4th system will not run the program. Instead it puts up the dialog
asking if to open or save. Clicking open re... more >>
Getting List of Clients using SAO
Posted by Josue Candal at 4/28/2004 12:49:51 PM
BlankI'm trying to find a way where I can call functions/procedures on all
connected clients when one client updates or adds information to a database.
My application consists of a Client App, Windows Service Hosting a Remoted
Object, The Remoted Object Itself and a ChangeRelayer class which cont... more >>
Error with SAO
Posted by Nico at 4/28/2004 1:27:34 AM
Hi,
I try to access remote Server Activated Objects.
On the host side , I have 2 services called for instance RemoteSrv1 and
RemoteSrv2.
Those 2 services are declared in my host configuration file as wellknow
service with the singlecall mode.
The pb is that in the client side, when I try t... more >>
Easy way to detect free local IP ?
Posted by No Spam at 4/27/2004 11:02:58 PM
Hi all,
Sometimes I get problem when a machine is multi-homed with 2-3 IPs, and one
of them is blocked by firewall.
So far, I give an option to bind socket using one of available IPs.
Is there an easy way to detect which IP is blocked from local machine?
Thanks and regards.
... more >>
All the clients don't see the changes.
Posted by Matt Danna at 4/27/2004 6:06:04 PM
Hey guys. I was wondering if you could give me a little help. Suppose I want a client to make a change and I want the rest of the clients connected to the server to receive the changes. I have a class that's Marshaled by reference. I have the clients connected to the server and I use RegisterWel... more >>
socket
Posted by Fabian Brussa at 4/27/2004 11:55:15 AM
Hi, I need send UDP or TCP package from PC1 to PC2 without configure proxy
2. It is posible ??
PC1 -------> Proxy1 -------> Interent ------> Proxy 2 -------> PC2
Sorry by my English.
Fabián
... more >>
Problems with .NET remoting if the network cable gets unplugged
Posted by Norbert Neumann at 4/27/2004 10:53:56 AM
I have the following environment:
A server singleton application on PC 1. One client application lives on PC1
too, and invokes methods on that
server through .NET remoting. Another client application living on another
PC2, who invokes methods on the server on PC1.
Now the network cable gets... more >>
.NET Remoting ThreadPool Limit
Posted by Brian at 4/27/2004 9:21:02 AM
I am having a difficult time grasping the potential impact to an application I am designing that utilizes .NET Remoting TCP Binary hosted in a Windows Service to handle client requests. It is our estimate that this service will be receiving approximately 15 to 20 client connection requests per secon... more >>
Multi-threaded MBV singleton ?
Posted by Etienne at 4/27/2004 9:06:05 AM
H
I'm pretty new to .NET framework
I have a published singleton MBV in a server app, which i invoke from client apps through a standard basic transparent proxy
My problem is that the call can take several seconds to be processed by the server, and i want the server to be able to manage several c... more >>
Error running WSDL
Posted by Roy Chastain at 4/27/2004 8:43:39 AM
I have a remote server that is hosted in IIS. When I do http://server/virutaldirectory/class.soap?wsdl, I get the error below.
At one time this worked without the error. Whatever error I have made I am being consistent about it. I have 2 other remote
servers that respond with a similar error?
... more >>
ANN: SocketPro -- A framework implemented with batching/queue, asynchrony and parallel computaion
Posted by Yuancai (Charlie) Ye at 4/26/2004 10:44:52 AM
Hi, All:
I am happy to annouce that we have released our latest SocketPro version
4 (in beta), an advanced framework written from batching/queue, asynchrony
and parallel computation.
Key Benefits of SocketPro:
Super performance
It is a guarantee that SocketPro based client... more >>
Binary Formatter
Posted by Greg Dean at 4/26/2004 9:40:48 AM
I need access to the actual formatter used when serializing. Is there
anyway I can obtain this? Specifically I need to modify the "TypeFormat"
property.
See related post "Serilization Performacnce Problem" (4-14-2004)
... more >>
Lifetime of remote event subscriptions
Posted by Bernd Lachner via .NET 247 at 4/26/2004 5:35:33 AM
Hello,
I wrote a small C# .NET Remoting server which is implemented by a Singleton MarshalByRefObject.
This Object offers some events to the client. Some of this events only are called very rarely. The client can subscribe to this events and the connection work.
But, if the server don't cal... more >>
Process within a service
Posted by stuart colville via .NET 247 at 4/26/2004 4:09:56 AM
Hiya,
I've created a simple vb.net windows service, and I'm trying to peroidcally run a batch file as part of the service but it's not working..
Here's the code
Dim myProcess As New Process()
myProcess.StartInfo.FileName = "c:\batchfile.bat"
myProcess.Start()
Any ideas why this wi... more >>
desrialization throwing a "Parse Error exception"
Posted by denz at 4/26/2004 3:21:04 AM
I am trying to deserialize using the SoapFormatter.
The object I am trying to deserialzed is not directly referenced by the current assembly and class.
However, i added the particular assembly to the current AppDomain using the AppDomain.CurrentDomain.Load(rawAssembly, rawSymbolStore);
I though... more >>
Remoting server - multi threaded responses
Posted by james rye via .NET 247 at 4/26/2004 2:59:20 AM
Hello
I have a remoting server that shares information to client window apps over the net.
However I have a fundimental problem with the server. In my expereince when any of the functions inside the remoting class are returing information to the client, not other client threads are being answe... more >>
Remolting exception -- Requested service not found
Posted by hormoz.shahi NO[at]SPAM commerzbankIB.com at 4/26/2004 12:41:49 AM
Hi
I am having problems with remoting during function call for client
activated
object and I get the following error message:
"8\0ProcessMessage\0System.Runtime.Remoting, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089\0System.Runtime.Remoting.Channels.BinaryServerForma... more >>
remoting Interop probelm with VC client
Posted by K V at 4/24/2004 3:06:26 PM
Is it possible that thread in which the remote method is executed can access
other objects in the running instance of server
I have a problem here with updatig a gui in a running server from the remote
method invoked on that server by a VC client
regards
K V
... more >>
How to detect registered channel
Posted by James O at 4/24/2004 9:06:02 AM
I have a service that registers a channel on a well-known port. Clients connect to this channel to create remote objects
When the server isn't running, clients get a SocketException if they create a remote object then call a method on the it.
Because exceptions are so slow, I would like my cli... more >>
Calling on the Service
Posted by Julie M. Holton at 4/23/2004 9:57:46 PM
All,
I really am trying to understand the serialization error that I am getting.
I am using .Net Framework 1.1 and hosting via tcp written in VB.Net 2003.
The server is listening on IP 192.168.55.44 and port 8675.
The code for listening is:
ChannelServices.RegisterChannel(New TcpCha... more >>
Windows service vs. IIS service
Posted by Boris at 4/23/2004 7:14:08 PM
I have to port a server from Unix to the Windows world and plan to use .NET.
To create a typical server daemon in Windows I thought to use Windows
services and even found some useful stuff in System.ServiceProcess in the
..NET framework. However I then read about Remoting and that it is somehow
... more >>
Proxy Authentication Problem
Posted by David Richter at 4/23/2004 6:26:09 PM
Hello!
We got a Server in the Internet with data on it.
Next we've got a client connecting to it.\
Problem is, that the client is behind a firewall and the one and only way
out to the Internet is a proxyserver wich needs authentication.
folowing error occurs:
"The remote server returned ... more >>
How To Get Config File Information
Posted by Dave Wurtz at 4/23/2004 3:55:01 PM
All,
How can I get information about the channel, etc. that was set with a
configuration file? For example, how can I the protocol (http vs. tcp) or
the port that the server is listening on?
Thanks in advance!
Dave Wurtz
... more >>
Novice: reusing the IP address/port
Posted by Mustafa Ahmad Malik at 4/23/2004 3:36:26 PM
Hi,
I'm a begginer in .NET remoting. I have created simple server application
( code is given below ). Its runs perfectly. But after closing when i open
it again i get message "Only one usage of each socket address
(protocol/network address/port)...". How can I reuse the same IP
address/port.
... more >>
Remoting COM Simple problem
Posted by vijay at 4/23/2004 12:14:30 PM
I implemented a .NET remotable object in aserver which has a UI
I called a method on this remote obj from a VC client ... it is getting
called and executed
but from this remote method , I am not able to access running form in the
server..
Is it not both remote method and the form in same ... more >>
How to pass a Type object between client and server
Posted by Jeff Brown at 4/23/2004 11:08:15 AM
Hi,
I have a remoting application in which both the server and client
executables run on the same computer.
The client defines certain class types that are not known to the server (and
CANNOT be known to the server at compiletime).
The server is intended to use reflection to examine those... more >>
Requirements to use .NET remoting
Posted by Dave Mateer at 4/23/2004 10:11:22 AM
Sorry if this has been answered a thousand times in this newsgroup, but I'm
a newbie here and a brief search didn't turn up anything.
We are considering purchasing a major enterprise application for our company
that is built on the .NET platform. Interoperability with other
applications withi... more >>
Error when attempting to acess server.soap?wsdl
Posted by Roy Chastain at 4/23/2004 8:56:46 AM
I am trying to do a quick test of something and I don't need the no SoapSuds lecture.
I have a simple server (2 methods) that is a SAO SingleCall. This server is being hosted in IIS.
I have created the virtual directory, put the web.config file in it and copied the .DLL to the bin sub-directo... more >>
SOAPAction problem
Posted by Roman Ma?ek via .NET 247 at 4/23/2004 6:19:20 AM
(Type your message here)
Hi,
i've created web service in c#, .net and I need to be able call it without using SOAPAction (or optionaly, I can pass as SOAPAction empty string).
I did following changes due to the article http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebsrv/... more >>
|