all groups > dotnet remoting > november 2003 > threads for november 15 - 21, 2003
Filter by week: 1 2 3 4 5
.NET Remoting and Modal Forms?
Posted by Tales Normando at 11/21/2003 8:43:45 PM
Hi,
I have an application that remotes an object for client
activation and at the same time shows an user interface. Can modal forms
block the requests from the clients until it is closed? Should I add the
RemotingConfiguration.RegisterXXXX call in another thread? Would a
Thread.S... more >>
Fireing events
Posted by MarkyMarc at 11/21/2003 3:24:30 PM
Hi there,
I've been at this for 2 days now and i still can't get it to work but after
reading throught this thread, i feel i'm getting closer.
After reading "Security Exception remote delegates", i got closed by not
getting the exception described there anymore. now i have a diffrent one
th... more >>
RemotingServices.GetLifetimeService for and Interface.
Posted by Jean-Francois Hamelin at 11/21/2003 2:43:51 PM
Hi,
I'm using server activated object via interfaces:
ISessionMgr sessionMgr = (ISessionMgr)Activator.GetObject(
typeof(ISessionMgr), "tcp://localhost:8082/MyUri" );
ILease serverLease = (ILease)RemotingServices.GetLifetimeService(
sessionMgr ); <==== Does not compile.
MyClient... more >>
Can I get client information and interact with client (Remoting) ?
Posted by Alex Cheung at 11/21/2003 2:35:43 PM
Hi,
I'm newbie to .NET Remoting, I want to know can I get client information of
remoting ? (e.g. IP Address) and Can I show the Information on the Server
program ? (e.g. When Client activated a object, the server form can display
the ip, or the client send some message display in server form)
... more >>
Remoting and generating WSDL
Posted by Graham Allwood at 11/21/2003 11:14:15 AM
Hi,
I am hosting some remote classes in IIS and I thought that I should be able
to obtain the WSDL for a service by using the following request:
http://localhost/MyAppName/MyService.rem?wsdl
When I invoke this I get the following exception:
System.NullReferenceException: Object referenc... more >>
Are "server-activated" and "well-known" the same?
Posted by David Montgomery at 11/21/2003 4:55:36 AM
Hi,
I'm reading Miscrosoft .NET Remoting by McLean, Naftel,
and Williams. On page 29 they write:
"The .NET Remoting Infrastructure refers to server-activated
types as well-known object types because the server
application publishes the type at a well-known Uniform
Resource Identifier (UR... more >>
How much data can go into one remoting call?
Posted by John Boghossian at 11/20/2003 8:52:36 PM
I have encountered a problem with a function that from the client uploads a
file to the sql-server database. The problem arises when the file is a bit
bigger. I have noticed that it doesn´t work with a file that is like 5 mb in
size.
The error i recieve is the typical binary formatter version er... more >>
Configuration file Help
Posted by Mat at 11/20/2003 4:45:59 PM
I want to add some personal information into configuration file
How can read them in my application( it's class library).?
Example: in this configuration file, i would like to read all in
<userinformation>
<configuration>
<Userinformation>
<user name="MAT", email="mymail@provider.cz"/>
<D... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to use Sockets with proxy
Posted by Mohamed Sharaf at 11/20/2003 3:23:25 PM
Dear all,
I'm building a FTPClient to connect to FTP Servers outside our intranet and
it works well with FTP Servers inside the intranet when try to connect to
servers behind it, it gives me error "No connection could be made because
the target machine actively refused it". so How to tell the So... more >>
The channel was forceably closed down
Posted by Paul Cleghorn at 11/20/2003 4:12:21 AM
Hi
I am relatively new to net remoting and have been following Ingo Ramer's
NetRemoting book for Vb.net. Here is an example of what I am trying to do.
Main interface object
----------------------------------------------------------------------------
--------------
Namespace RemObject... more >>
Remoting Error:
Posted by SenthilVel.M at 11/19/2003 3:15:27 PM
HI All,
i am Getting an error like "Server occured an internal
error " when i am unsubscribing a remoting clinet from
the server.
the scnario is like this :
i am developing a service which broadcasts msgs in
regular intervals of time , and am also developing
clients to consume the me... more >>
Single call clients count
Posted by Loris at 11/19/2003 12:37:02 PM
Hi to all,
I've got an object remoted by reference that inherits from MarshalObjByRef.
My server and my client are configured for a Server Activated Object
using a SingleCall pattern.
Is possible (is there any function provided by the framework) to know,
on the server, how many clients are ac... more >>
SAO factory doesn't work well with ServicedComponent
Posted by wojciech.suwala NO[at]SPAM altkom.pl at 11/19/2003 10:57:22 AM
We're using SAO factory class to give access to set of CAO objects to
client applications. All our CAO objects implement interfaces and only
interfaces definitions are distributed to the client.
Everything is graet as long as we return objects of classes that
derive from MarshalByRef but when we... more >>
Ingo's RemotingHelper
Posted by Brad Quinn at 11/19/2003 9:18:54 AM
I was really excited to see Ingo's RemotingHelper class.
It allowed me to use RemotingConfiguration with interfaces
and do away with my own configuration (almost).
RemotingConfiguration (understandably) does not allow the
following;
<system.runtime.remoting>
<application>
<chann... more >>
Load Testing Remoting Applications
Posted by Vikram at 11/18/2003 11:32:06 PM
Hi,
I need to load test a client-server application which uses .NET Remoting
TCP/IP with
binary formatter as the communication medium between client and server. The
server
has Server Activated Objects in single call mode. This server would have
multiple clients
connecting to it
The goal ... more >>
Sending message to all online users
Posted by bala at 11/18/2003 10:05:20 PM
How can I send a pop up message to all users currently
accessing my site? For example, whenever I need to make
changes to my website or shut down the server, I want to
notify the users that the site will be unavailable in
another hour or something like that.please help
thank you... more >>
Out of memory error when remoting a large dataset
Posted by Meghanath Singh at 11/18/2003 4:46:25 PM
I am trying to return a large dataset (in the tune of around 60000 records)
using remotable objects and receiving an out-of-memory exception. Is there
some solution to this problem? If there is no solution and if this is a
known limitation for the ADO.Net dataset then what is the best option?
... more >>
Forcing return message from void method with reference params
Posted by Heath Stewart at 11/18/2003 12:18:46 PM
We have an application where some entry-level programmers / programmers that
don't deal with remoting part of our application have passed such things as
DataSets as a param in a void method and expect the proxy to make changes
(like DataSet.AcceptChanges()) so that when the method call returns, c... more >>
how unregister?
Posted by Alejo at 11/18/2003 11:27:34 AM
I register:
RemotingConfiguration.RegisterWellKnownClientType
(
typeof(XXX.budgetBL.Transac),
"tcp://localhost:8085/RemotingServer3"
)
how unregister?
sorry my bad english,
Alejandro.
... more >>
Activation type & Remotable objects type
Posted by jean_stax NO[at]SPAM hotmail.com at 11/18/2003 7:59:09 AM
Hi !
It's a pretty basic question, but I fail to find a definite answer to
it:
What is the correlation between Activation type (server-activated /
client-activated) and Remotable objects typed (marshalled-by-reference
by deriving from MarshalByRefObject or marshalled-by-value by
implementi... more >>
SqlDataReader and IComponent
Posted by Tom at 11/17/2003 11:32:03 PM
Hello Friends,
Why SqlDataReader is not inherited from
System.ComponentModel.Component?
While every other major class (SqlCommand, SqlConnection,
SqlDataAdapter) from SqlClient namespace is inherited from
System.ComponentModel.Component and supports IComponent
interface.
IComponent ena... more >>
Breakpoints skipped - Cannot debug remote objects.
Posted by BLH at 11/17/2003 5:28:05 PM
Hi,
I cannot debug code in remote objects. I set a breakpoint
on a line of code in the remote object, but the breatpoint
is skipped. There is no error, and the code on the remote
server runs fine. It just doesn't allow me to step
through it.
When I create the object on the local mac... more >>
Problem with Garbage Collecting
Posted by Christian Kreimer at 11/17/2003 4:19:10 PM
I have a quite simple .net remoting application - the scenario is as
follows:
I have a COM Object that initailizes an c# assembly as follows:
public void Init()
{
if(this.disposed)
{
throw new ObjectDisposedException("MogisClient","MogisClient has
already been disposed");
}
... more >>
Multiple channels & Wellknown objects
Posted by Ken Kolda at 11/17/2003 1:52:27 PM
Is it possible for a single server process to host two well-known server
objects each of which responds on a different TCP port/channel? For
example, there may be a primary object lisntening on port A and an
administrative object on port B (which you might want to block via a
firewall). Lookin... more >>
Memory problem
Posted by moggel NO[at]SPAM gmx.de at 11/17/2003 1:01:24 AM
Hi,
I encountered the following problem in my remoting environment: the
remoting server steadily consumes more and more memory an is never
giving it free.
The scenario looks like that (language used C#):
A remoting-client instantiates an object-factory (via remoting) on a
server (SAO, Si... more >>
securityexception on using events ???
Posted by Abubakar at 11/16/2003 11:00:27 PM
(C#)
Hi,
I'v an interface which I implement in a remoteable object.
THe interface is in a separate assembly for the purpose
that I can give it as a proxy to the clients which want to
use my component remotely. The server and client
communications were going smoohly until I modifed my code ... more >>
Lease sponsor not called when lease expires
Posted by Ken Kolda at 11/16/2003 12:37:54 PM
I'm having a problem with the lease sponsor for a client-activated object
never being invoked when the lease time expires. Below is the code I'm
using in v1.1 of the framework. When I run it, the client creates the
object and, for 10 seconds, the object exists (the initial lease time).
But, th... more >>
don't want to derive from MarshalByRefObject
Posted by juergen doubrawa at 11/15/2003 3:23:09 PM
Hi,
I pretty new with .Net Remoting and have a beginner question.
I write a Chat Client with a additional frame for common painting.
I can't derive my Paint object from MarshalByRefObject because I want to
derive it from System.Windows.Forms.Form.
What now? How can I use a class with remoti... more >>
Trapping Errors
Posted by Korhan Ileri at 11/15/2003 3:18:52 PM
If the remoting object is down and refuses to service, I still get a proxy
object. Since it's not null, I can't trap the error there. It's only after
the client tries to access the proxy objects method or properties, the app
raises an error. Is there a way to trap the error when I get the proxy?
... more >>
Checking the existence of a remoting object on a specific address?
Posted by Tales Normando at 11/15/2003 1:14:10 PM
Hi,
I'm building a cybercafé management program and I´d like the
client to be able to search the network for the server. Since I plan to use
Remoting for the communications between server and client, that resumes the
problem to checking all the IP addresses available for the remoti... more >>
|