all groups > dotnet remoting > may 2004 > threads for may 1 - 7, 2004
Filter by week: 1 2 3 4 5
Verify RemotingServices.Connect Proxy object
Posted by Tobias at 5/7/2004 5:02:30 PM
Hi,
how can I verify wether the TransparentProxy object returned by
someVariable = RemotingServices.Connect( typeof( Interface ), anyServerURI )
as Interface;
is active or not? I call this method and get a TransparentProxy in
"someVariable" wether the server is online or not.
I know I ca... more >>
Verify RemotingServices.Connect Proxy object
Posted by Tobias at 5/7/2004 4:59:53 PM
Hi,
how can I verify wether the TransparentProxy object returned by
someVariable = RemotingServices.Connect( typeof( Interface ), anyServerURI )
as Interface;
is active or not? I call this method and get a TransparentProxy in
"someVariable" wether the server is online or not.
I know I ca... more >>
Console App runs OK Windows Service Fails
Posted by dave.roe NO[at]SPAM elantis.biz at 5/7/2004 4:37:57 PM
I have a console app that host two of my dll's remotely and runs fine,
but doesn't work when I use a Windows service, even if I use the same
config file. The service installs OK and starts up and reads the
config file, but i get the following error when trying to access it
using the client:
C... more >>
remoting large amount of data and improving performance
Posted by Ville Pirhonen at 5/7/2004 3:51:12 PM
Hey. I have class like this:
Public Class testClass
Inherits MarshalByRefObject
<Serializable()> Public Class Data
Public data1 As String
Public data2 As Object
Public data3 As String
Public data4 As String
Public data5 As Object
... more >>
.NET Remoting under IIS getting shut down
Posted by Ken Kolda at 5/7/2004 8:46:08 AM
We're using .NET remoting hosted under IIS but we're running into problems
with the server shutting down the ASP.NET worker process unexpectedly. Since
I know this can occur because of the settings in the <processModel> area of
the machine.config, we've tried a couple of things to resolve this:
... more >>
list of currently registered objects
Posted by Mr071 at 5/6/2004 10:39:45 PM
Is there a way to get to the internals of LeaseManager and inspect the table
to remoted MarshalByRefObject references? I need to know when there are
outstanding references.
--
Mr 071, MCSD.NET, MCAD.NET
-----------------------------------------------
"...the rank and file are usually much m... more >>
garbage collection of remote objects
Posted by Mr071 at 5/6/2004 9:50:56 PM
Despite everything that has been written about how LifetimeServiceManager on
the remote server eventually "release" the reference to the object so that
it can be garbage collected it *never* happens. I am not sure what needs to
be done in this code to make it release the remoted reference:
usi... more >>
Remoting a Hashtable contain a Hashtable ?
Posted by A. Burch at 5/6/2004 4:42:07 PM
I'm trying to remote a Hashtable (object key, object value). If I make the
object value another Hashtable which has a key and a Struct which is made up
up of a primitives 2- doubles and 1 int) and try to remote the 1st Hashtable
I get this error... How does one remote a hashtable containing a ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
i'm hopeless! exception: underlying connection closed
Posted by juergen doubrawa at 5/6/2004 2:50:31 PM
Hello everyone,
i can't understand why this doesn't work.
I get the following exception, after in try to connect to the server.
"The underlying connection was closed. The server executed a HTTP protocol violation." (I translated that from german - so it could sound similar :)
after that ev... more >>
Can a remoting object interact with its host application?
Posted by Michael Bachar at 5/5/2004 6:35:52 PM
Hi,
I'm kind of new in remoting. Can a remoting object interact with host
application?
For example:
I want to use C# windows form application MyApp.exe that will use as host
for a remotable object, MyApp.exe will hold some kind of data structure in
its memory (Hashtable, for example). Can th... more >>
Specified cast is not valid.
Posted by John Lee at 5/5/2004 5:01:06 PM
Hello
I am working on .Net Remoting application with three project in the solution as below. I am getting "Specified cast is not valid." on the UI when making a call to the remote object. Any help would be greatly appreciated. Thanks
UI
#1 on the load event of U
RemotingConfiguration.C... more >>
Bug ? RealProxy - Delegate - Async - Message.InternalGetArgs ?
Posted by Lostinet[MS DOTNET MVP] at 5/5/2004 4:33:39 PM
Hi , Is this a bug ?
If not , can any one tell me how to resolve it please ?
namespace Test
{
using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Messaging;
using R=System.Runtime.Remoting;
class MyMbr : MarshalByRefObject
{
public void Handler(object s... more >>
Hosting a Multi Class DLL
Posted by dave.roe NO[at]SPAM elantis.biz at 5/5/2004 11:02:50 AM
I have managed to finaly get remoting communicating between my client
and server. The problem that I now having is that my dll on the server
contains multiple classes. In the config files do I need to host each
class separately, or should I be hosting just the dll ?
eg elantis_BUS is the dll, ... more >>
NTP Sync Doesn't Work with WinXP Pro
Posted by sandman at 5/4/2004 12:21:03 PM
I'm trying to get a basic NTP Time Sync program working (http://www.codeproject.com/csharp/ntpclient.asp?df=100&forumid=2012&exp=0&select=644865). I downloaded the source code and recompiled in .NET 2003 and it runs fine on my Win2k box but I'm getting a socket exception 10054 "An existing connectio... more >>
Activator.GetObject and Remoting.Proxies.ProxyAttribute
Posted by almir at 5/4/2004 11:17:43 AM
Hi,
I have found a way (in Don Box's book) to Intercept all
calls to method of a class using Proxies.ProxyAttribute,
actually class which derives from this one. But on my
current project we are using interfaces (and
Activator.GetObject ) instead of class implantation to
distribute depe... more >>
custom channel gets internal error on Frame 1.1
Posted by msnews.microsoft.com at 5/4/2004 10:04:55 AM
I implemented a bi-directional socket channel, it works great on Frame 1.0.
I recompiled all the assambies with VS .net 2003 and run on Frame 1.1,
client got internal error when it subscribes event from server like this:
((IRemoteObject)ro).ReplicaCreatedByServer += new EventHandler(handler);
... more >>
Any way for serialize private fields via XmlSerializer?
Posted by Bill Davidson at 5/4/2004 6:46:50 AM
All:
I know that the XmlSerializer will not, by default, serialize private fields
in a class. Is there an attribute that can be applied to private fields
that allows the XmlSerializer to serialize these fields?
I could make these fields public, but I really don't want to break the
class's ... more >>
Webservice vs. Remoting !!
Posted by Stefan Rosi at 5/3/2004 8:33:26 PM
Hello everybody,
I want to ask what is the best way to tansfer DataSets (or any object ) in
a local network ? Webservice or remoting ? Or any thing else ?
thanks in advance
... more >>
ANN: first release of NGrid (open source grid computing)
Posted by Joannes Vermorel at 5/3/2004 8:22:55 PM
First release of NGrid (called "NGrid.Mock v0.0")
Please have a look the project page:
http://ngrid.sourceforge.net/
Summary: NGrid is a C# open source (LGPL) transparent grid
programming model. NGrid abstracts the burden of the grid
into a multithread programming model. NGrid is designed t... more >>
Help!!! Config files
Posted by dave.roe NO[at]SPAM elantis.biz at 5/3/2004 2:13:47 PM
I have a business objects dll (VB.Net Project) on my server containing
multiple classes. I want to share these to multiple clients using
remoting. I have created a config file to "advertise each of the
classes as below:
App.Config
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
... more >>
IIS and "The channel http is already registered"
Posted by Roger Down at 5/3/2004 12:56:41 AM
I have an IIS server hosting several remoting objects. When invoked, these
remoting server objects will call other IIS servers hosting their remoting
objects. Since I'm using IIS, the protocol used is HTTP.
After some time of running (the time various) the servers, I get the
exception "The cha... more >>
Preventing the interception of the ProxyAttribute
Posted by Joannes Vermorel at 5/2/2004 9:32:36 PM
I am currently having problems to implement the overriden method
ProxyAttribute.CreateInstance. How can I instanciate directly an object
decorated with a "ProxyAttribute" without having the "new" operator
intercepted ?
To clarify the question, please have a look at the following code:
publ... more >>
remote application doesn't work
Posted by Sivan Rosner via .NET 247 at 5/2/2004 7:23:56 AM
Hi,
I?m trying to run a =2ENet server application from a client=2E=
Installing and running the application on the client machine it=
works just fine but running a shortcut from the client to a=
server, in which the application is installed on, generates an=
error: "Application has generated... more >>
Shutdown of output stream in TcpClient?
Posted by javatpoia at 5/1/2004 4:11:02 PM
Hello
I need to interop with a TCP socket based java program that is expecting the EndOfStream signal from my TcpClient (.NET client). I don't see any methods in the TcpClient to actually send the EndOfStream. Does anyone know how to do this? Getting the "input stream" from the TcpClient does n... more >>
Newbie: C# remoting hello world
Posted by Jan Roelof de Pijper at 5/1/2004 11:35:53 AM
Hi group,
I am a remoting newbie. What I would like to have and cannot find is a
very simple, very basic "Hello World" type of sample/tutorial to
demonstrate the basics of .NET remoting - preferably using C#.
Is there something like that out there?
Thanks!
Jan Roelof
... more >>
Hosting rremote object in IIS
Posted by mi97ki NO[at]SPAM yahoo.com at 5/1/2004 9:36:24 AM
I just started playing with .NET remoting.
I read the Microsoft Knowledge Base Article - 312107 (HOW TO: Host a
Remote Object in Microsoft Internet Information Services) and
reproduced the steps as indicated.
However, when I start the client I get the following error:
Unhandled Exception:... more >>
Cross-process communication
Posted by Javeriano at 5/1/2004 8:41:02 AM
Hi
We're working on a couple of EXEs (one of them built in .NET, the other one is unmanaged) and we need to enable cross-process communication between them (same machine, and the .NET one starts and waits for the second one to do its work and exit before continuing, however, in the meantime, the .... more >>
|