all groups > dotnet remoting > march 2004 > threads for march 1 - 7, 2004
Filter by week: 1 2 3 4 5
Using a ServicedComponent as a remote component
Posted by Manfred Steyer at 3/7/2004 2:01:03 PM
Hi!
I want to use a serviced component (using JITA and object pooling) as a
remote object, as ServicedComponent inherits MarshalByRefObject.
Shall I export this serviced component as a "Singleton" or a "SingleCall"
Object ?
Best Regards,
Manfred Steyer
... more >>
Making methods non-serializable
Posted by I_hate_spammers NO[at]SPAM spammers_suck.com at 3/6/2004 9:59:54 PM
Hi:
I would like to know if there is a method for making methods of a
remote object non-serializable.
Currently, I have a server object that is serialized by the Marshal
method, so it is instantiated on the server side prior to activation
by any client. I have methods that the server side ... more >>
Connection String in the App Layer
Posted by Kerensky at 3/6/2004 8:02:27 AM
Hi all,
I am using remoting for my application layer.
The connection string to the data layer is stored in the Web.Config of the Application layer.
Currently, i am trying to set up Nunit to test my Application layer. The problem i am facing is that my connection string is not being picked up... more >>
When is DCOM used?
Posted by Julian Hershel at 3/5/2004 4:06:35 PM
Hi.
I created a serviced component, registered it in COM+ and exported the
application to my clients. What is the role of DCOM when my clients call the
components installed on COM+? Do I ever need to configure DCOM
authentication when using COM+?
Thank you.
Julian
... more >>
SerializationException and security restrictions
Posted by Jaime at 3/5/2004 3:36:06 PM
Hello
I am hosting a remoted object with a set of different functions. I have been using it fine with most of the functions. However I get a System.Runtime.Serialization.SerializationException when i use any function that takes in as a paramater my own type of Document.Document. The message it ... more >>
IServerChannelSink and Cookie
Posted by Peter at 3/5/2004 2:56:11 PM
How could I implement IServerChannelSink and use cookie also, just like cookie with HttpWebRequest/HttpWebResponse
Thanks.... more >>
multiple remote objects under the same virtual of the IIS
Posted by Gregory Guo at 3/5/2004 10:55:24 AM
Hi,
Is it possible to configure more than one server objects in the same
web.config file under the IIS? Is it just another <application> tag?
Thanks.
Gregory Guo
... more >>
Remoting Newbie Question
Posted by BSO at 3/5/2004 6:42:37 AM
Is remoting good for the following scenario:
I want a server to recieve various messages from
diferent types of clients(keyboard, touch screen, barcode
reader). The server should analyze these messages and
send it's own diferent messages to other clients
(textbox's in a form).
If thi... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How many Remote Objects can be handeled with SingleCall?
Posted by chanser NO[at]SPAM web.de at 3/5/2004 6:24:55 AM
Hi!
At the moment I'm thinking over the scalability of .net remoting...
Does anyone know, how many singlecall server object a .net remoting
server can handle? does it depend from the size of the ram or is there
another limit?
Thank you!
Christoph Hanser... more >>
Lifetime of MarshalByRef objects passed to caller by remoted object
Posted by I_hate_spammers NO[at]SPAM spammers_suck.com at 3/4/2004 10:33:27 PM
Hi:
The app i'm working on has an object (object a) that is configured as
a remote object. It's lifetime is set up indefinitely, for the
purposes of my app. When a caller accesses one of its functions,
another MarshalByRef object ("object b" - not configured as a remote
object) is passed ba... more >>
configuration settings question
Posted by Rolo Tomassie at 3/4/2004 4:14:18 PM
My apologies, I'm just starting to dive into remoting, so this is going to
be a "newbie" type post.
My question relates to accessing configuration info from the remote object.
Assuming I have an assembly (MyAssembly.dll) with 2 remotable objects
("MyRemoteObject"1 and "MyRemoteObject2"). Each... more >>
Only one Client Channel Bind
Posted by Saradhi at 3/4/2004 3:58:52 PM
Is there any way to get an exclusive lock on a channel so that only one =
client can bind to in remoting?.... more >>
Callbacks to remoced clients thru firewall
Posted by Isaak at 3/4/2004 12:46:06 PM
In my application, remoted clients, using auto port selection option of port=0, register for remote callbacks from the server.
Since port number is picked by the system, I have no control of which port number is selected. My problem is that our server will soon be placed behind the firewall, and w... more >>
Array
Posted by Nico Debeuckelaere at 3/4/2004 11:59:59 AM
Hi all,
I have a function that gets exposed via Remoting.
This function accepts a string and an array as parameters.
When I call the function via the client I am sure that there is a string and
an array passed to the function on the server.
But when I debug the function on the server, the arr... more >>
Remoting Custom Errors
Posted by Mike Kearl at 3/4/2004 11:57:44 AM
I am trying to debug some remoting code. I am requesting a dataset via the
remothing server and it is throwing following error:
Server encountered an internal error. Fo more information, turn on
customErrors in the servers .config file.mscorlib
So I added the following line to my RemotingS... more >>
client and server - same host
Posted by Gazzer at 3/4/2004 9:06:06 AM
I am trying to set up a cluster using remoting,
I register a ServerChanne
Then I register an object (RegisterActivatedServiceType
Then I try to RegisterActivatedClientType against another server (that server does the same as above, but tries to register a client against this server
basially two... more >>
Preserve object when channel unregistered?
Posted by cjohns NO[at]SPAM telkomsa.net at 3/4/2004 6:30:56 AM
I have a remoting server, which can dynamically change the port it's
running on. I do this by doing a StopListening() on the channel, and
then unregister the channel, read the config, and register the channel
again.
Of course, any remoted objects are lost when I do this. Is there any
way (o... more >>
Remoting in the Add-Ins
Posted by Saradhi at 3/3/2004 3:28:34 PM
Can I use my Remote Obejct in the Visual Studio.NET Add-In?... more >>
SendKeys - PostMessage problem
Posted by Paul at 3/3/2004 2:05:08 PM
Hi all.
Probably a quick one, I'm using PostMessage to send keys to an applicatoin
but how do I convert the key string to a long values so that I can pass this
to the wParam. The definition is below
Private Declare Auto Function PostMessage Lib "user32" ( _
ByVal hWnd As IntPtr, _
ByVal Ms... more >>
worker service and multiple child applications
Posted by Ramas at 3/3/2004 9:46:32 AM
Hello,
I'm looking for design guidelines for a scenario:
- remote service (or some analog) is performing calls to third party web
services. Purpose is to receive specific data, which is required to multiple
child application instances. I can't rely neigther on stable responce time
nor res... more >>
Channel question
Posted by Tim Haynes at 3/3/2004 9:14:02 AM
A simple question.
According to the literature, Interop uses a high-speed shared memory channel
to transport marshalled parameters between managed and unmanaged code.
I was wondering if this "shared memory channel" was available to the rest of
us, either for in-process remoting calls, or may... more >>
remoting and webservice
Posted by Rob Morgan at 3/3/2004 8:28:27 AM
Has anyone seen examples or running an IIS remoting object and a Web service
from the same application directory? I'm looking at each using the same
shared assembly but I don't want the shared assembly in the GAC and I don't
want to duplicate it in different bin directories. Any help appreciate... more >>
Send command to remoting server
Posted by cjohns NO[at]SPAM telkomsa.net at 3/2/2004 10:59:41 PM
Is there any way for the remoting client to send a command to the
remoting server? Or to call a method on the server?
What I'm trying to do is have the client prompt the server to reread
its configuration file (for example, to switch to a new port number),
or to shut down. So I need to comm... more >>
basics SingleCall vs Singleton
Posted by Rob Morgan at 3/2/2004 10:56:34 AM
If I'm running a remoting object under IIS can I use SingleCall or
Singleton? For performance reasons is it possible to run it as a Singleton
but treat it as SingleCall?
Thanks!
... more >>
Configuration File Resources
Posted by Chris at 3/2/2004 10:05:16 AM
Hello,
Do any of you know of any online config file resources? I'm just learning
the material and am having trouble with it. Currently, I have a third party
provider that I want to use. In my configuration file, I have the following
lines in the <channel> section.
<configuration>
<sys... more >>
Remoted object within another remoted object
Posted by Remoted Object within Another at 3/2/2004 8:11:05 AM
Hello
I am getting an internal error whenever I try to host a remoted object that instantiates a remoted object on another server. In essence, the function being called on one remoted object delegates to another remoted object on another server alltogether. Is there anything wrong with what I am... more >>
Problem with recreating a remote object after exception
Posted by Alex at 3/2/2004 8:08:52 AM
Hi all,
I'm trying to recreate a remote object.
When a remote server is down - its of course impossible
(some exceptions).
But when a remote server will be accessible - nothing
changes. It's still imposible to create that object in
remote process(I have a loop which is trying to create the... more >>
Dynamically Loading Assembly on Remote Server
Posted by Adam Weigert at 3/2/2004 5:11:07 AM
I know Type.GetType says it can load any physical assembly on the system it is called from
What I am trying to accomplish is having peices of a puzzle fit together dynamically
We have an interface IScriptletAction that is implemented to do maybe, 20 or 30 different things. Thus we have 20 or 30 ... more >>
Remoting problem with Strong Named assemblies...
Posted by BlahBlah at 3/2/2004 1:21:16 AM
I am trying to use Server side Activation to access strong named assemblies
in the Global Assembly Cache over the standard http channel. However I
cannot get this to work... we get the error shown below. I am running on
Windows2003 servers and have included the PublicKeyToken= entry into the
typ... more >>
Passing and caching references
Posted by Chris Ellis at 3/1/2004 6:16:46 PM
Hi all,
I'm attempting to create a user control on a form and then pass a
reference to that user control to a remote server that will handle its
operation. I am successfully passing a reference to a previously created
object, and receiving it on the server side. That is... the server is
... more >>
ASP.NET Remoting
Posted by NewbieMike at 3/1/2004 4:21:06 PM
Hello
I am new to this (especially the terminology) so please be patient
I have an asp.net application that when a client 'loads' a page, it gets an object from the server via remoting. In the constructor of the object I start a thread that does some work in preparation for the users response o... more >>
how to know information of a remote object, that ist reqistered.
Posted by Monica at 3/1/2004 1:39:06 PM
I used configuration file to register a remote object.
string configFile =
AppDomain.CurrentDomain.SetupInformation.ConfigurationFile;
RemotingConfiguration.Configure(configFile);
Now I want to know information associated with this remote object, i.e:
channel, port, etc.
How can I ha... more >>
Serialization
Posted by amitdub NO[at]SPAM yahoo.com at 3/1/2004 12:20:51 PM
What is the best way of doing serialization, XmlSerialization
, BinaryFormatter OR SoapFormatter in terms of
1. Works in both persisting an object and remoting an object
2. Able to control public and private properties and attributes
3. Performance
4. Serializing Struct
5. Handling Versions ... more >>
Problem with remote events
Posted by magnusbl NO[at]SPAM simnet.is at 3/1/2004 11:46:00 AM
Hi
I'm having a bit of a problem with getting event to work with
remoting. I'm trying to get it to work with Ingo Rammers code.
I've updated the config files to reflect the security changes in 1.1.
This is the code I'm using:
Server config file:
<configuration>
<system.runtime.remoti... more >>
How to control a timeout and Remoting stops working
Posted by Carlos Campos at 3/1/2004 11:07:24 AM
Hi,
I am using a remoting server using tcp on x port. Something wrong happened
because server stops responding to any call being made by the ASP.NET
client. Also, this problem also cause the page wait infinitely and never
send a response to the browser.
All I have to do to resolve this is t... more >>
Adding web reference from ATL to a remote object
Posted by dinesh336 NO[at]SPAM hotmail.com at 3/1/2004 9:42:32 AM
Hi,
My remote object is HTTP/SOAP, that listens on port 8085. Whenever I
try to add a web reference from ATL client to this object I get the
following error. Anyone knows why?
error SDL1009 : could not resolve element, with [ namespace =
"http://www.w3.org/2001/XMLSchema" name = "any... more >>
Error in client with remoting
Posted by Shivonne at 3/1/2004 4:11:05 AM
Hi al
I have created a server and client app using remoting. When an event is fired in the server - the client needs to pick it up. When trying to create the event handler in the client, I get the following error
Cannot find the assembly Blah, Version=1.0.1521.20819, Culture=neutral, PublicKeyTo... more >>
|