all groups > dotnet remoting > august 2004
Filter by week: 1 2 3 4 5
Binary of HTTP config issues
Posted by cduden at 8/31/2004 5:29:18 PM
I have tried:
Server Web.config:
<system.runtime.remoting>
<application>
<channels>
<channel ref="http">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>
<service>
<wellknown mode="Sing... more >>
How to use Marshal By Value
Posted by Henke at 8/31/2004 2:21:10 AM
Hi!
What actions do I have to do in order to get my objects marshaled by value?
For the moment we are using Marshal by reference, so all my object derive
from MarshalByRef.
Thanks in advance!
/Henke... more >>
How to expose two different objects from single server via .NET Remoting?
Posted by orencs NO[at]SPAM nice.com at 8/29/2004 11:28:24 PM
How to expose two different objects via .NET Remoting?
Hello,
I am trying to do the following:
Exposing Obj1 and Obj2 via ProcessA
Conects to obj1 from Client1 and connect Obj2 from Client2
both Objects has events.
Obj1 is implemented in ProcessA
Obj2 is implemented in DLL.
The DLL is ... more >>
Invoking a .Net remoting component from Visual Basic 6.0 COM component
Posted by rahul_4u40 NO[at]SPAM rediffmail.com at 8/28/2004 3:55:02 AM
Hi is it posisble to invoke a method of a .Net remoting component from
a COM component developed using Visual Basic 6.0.
If yes request you to provide me how can I achieve it.
Any help on this would be highly appreviated... more >>
Channel relationship to RegisterWellKnownServiceType()
Posted by Alex Maghen at 8/27/2004 6:33:12 PM
I'm confused about the relationship between Channels and Registered Well
Known Service Types.
Many of the sampes I've seen for Remoting server applications show the
following code for starting up the availability of a class to other
applications:
HttpChannel channel = new HttpChannel(810... more >>
Starting/Stopping/Checking State on Remoted Objects
Posted by Alex Maghen at 8/27/2004 6:27:02 PM
Hi. I'm a little confused about how to control the availability of an object
that I make available from my server software. In all of the examples, I
follow these steps to make a class available...
1. Create a Channel
2. Register the channel
3. Do a RegisterWellKnownServiceType()
This work... more >>
is there a way to pre-load remote objects in the host application?
Posted by MR at 8/27/2004 4:44:06 PM
i have an application that uses enterprise services remote objects. the
calls are very fast usually within 50ms. EXCEPT for the first time the
object is called or after a long period of inactivity.
is there a way to preload all the objects in the host application so that
even the first call w... more >>
Problems using Serializable attribute
Posted by Henke at 8/27/2004 7:55:02 AM
Hi!
I read in MSDN that an object could be marshaled by value just be mark it
[Serializable]. When I do this and tries to invoke a method on the object I
get this exception:
An unhandled exception of type 'System.Runtime.Remoting.RemotingException'
occurred in mscorlib.dll
Additional informa... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Sharing a hashtable with .net remoting
Posted by Stephane at 8/27/2004 5:35:02 AM
Hi,
I have a C# server working as a service using MarshalByRefObject
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT15.asp).
I only have one instance of the main server. This instance has a hashtable
containing my customers list. From an ASP.net w... more >>
Been asked such question, any idea how to do it?
Posted by Hardy Wang at 8/26/2004 3:21:54 PM
You have 4 separate applications that all use .NET Remoting on the middle
tier. You are asked to implement logging functionality that will log the
caller's IP Address, and the method call being requested BEFORE the request
actually reaches the function being called (ie: your logging cannot oc... more >>
SOAPSUDS/Interfaces/Config Files.
Posted by .NetHelpWanted at 8/26/2004 2:39:08 PM
Hello
I have a application in which the client has an Interface.
I have used SOAPSUDS for remoting.
I haveused SOAPSUDS the URI is hard coded into the Interfacedll.
Now I have a problem.
We are planning to run this service on two servers. When one of the server
is down I should be able ... more >>
internal customError in remoting?
Posted by gaetan NO[at]SPAM xeberon.net at 8/26/2004 11:06:50 AM
hello
I have a set of application playing with remoting. All seems to work
on local but it crash with the following exception when i set up a
client on an other computer:
Fatal exception occured : Server encountered an internal error. For
more information, turn on customErrors in the server'... more >>
Local System Account
Posted by Pawan at 8/26/2004 8:54:50 AM
Hi All,
I have written a Windows Service which runs a batch file.
Now this file contains command to run executables ....
ie. If the bat file contains ... start notepad ....
start notepad ....
and upon execution on this windows service .... it
actually runs 2 notepad applications ... Jus... more >>
Singlecall vs singleton
Posted by Deepak Arora at 8/25/2004 10:29:34 AM
Hi,
I am using singleton in remot host, then it works fine.
but when i go for single call ....It does not.
Can any one help....
Deepak Kumar ----------------------------- Sr. Software Executive - Software
Solutions Business Group IDS Infotech Limited +91-172-5085 903 (Direct) /
2612 218 (EPA... more >>
Server to Client is Fine Client to Server is SerializationException
Posted by Lord2702 at 8/24/2004 10:10:06 PM
Tue. Aug. 24, 2004 10:10 PM PT
I have a remoting server, SingleCall, on which I am hosting a COM+ Business
Object Component, Now when I am getting an Object/ Class, which is marked by
Serializable Attribute, also, using Custom serialization with ISerializable
interface, with protected: Constru... more >>
Static constructor called on client for SAO?
Posted by rory.plaire NO[at]SPAM co.benton.or.us at 8/24/2004 7:39:55 PM
Greetings,
I have a SAO which uses a singleton pattern. I want to expose the
singleton factory via remoting so I set up the remoting infrastructure
to publish as a well-known object in Singleton mode. On the client, I
grab the URL and Activator.GetObject or RemotingServices.Connect. When
I do... more >>
Windows Service
Posted by Emil Solakov at 8/24/2004 5:18:16 PM
Hi all,
I have a Remoting application that using http channel.
When I tried to make Windows Service from this application all seems to be
all right until I restart service. I have the following Exception.
Service cannot be started. System.Net.Sockets.SocketException: Only one
usage of each so... more >>
Raise an event in the client from the server
Posted by zorhel at 8/24/2004 9:12:46 AM
Hi.
How can I raise an event in a specific client, or in all clients, not using
thread, in a web application using asp.net?
The .net remoting works in this case? How? I can't understand yet!
Someone have any example?
Thanks in advance.
Zorhel
... more >>
Async remoting events.
Posted by Bob Rundle at 8/24/2004 7:10:37 AM
I saw a note in this news group awhile back concerning the delivery of
remote events. The gist of the note was that you do not want to use the
standard event handling mechanism for remoting events because when one event
delivery fails, the remaining event handlers will not be called.
I was wr... more >>
Deserializing a string with \r\n
Posted by johnwest72 NO[at]SPAM excite.com at 8/23/2004 3:46:46 PM
I serialize a string with char 13 and char 10 in it (\r\n). It's
serialized just fine. When I deserialize it, however, the 13 and 10
is replaced with just a single 10. Here's an example that can be run
in immediate mode showing the problem. The ascii value of the
character in position 2 shou... more >>
System Time synchronization
Posted by arcvonz at 8/23/2004 3:29:58 PM
We have a time critical smart client application running on Windows 2000/XP
systems.
Is there any reliable service that would help in syncing the local system
time to atomic clock or local time at the least in case the user changes the
system clock in purpose or inadvertently?
- Network synch... more >>
.NET v2.0 Remoting...bug or config problem?
Posted by Stuart Campbell at 8/23/2004 2:25:03 AM
Hi,
I have been doing some Remoting vs. Web Services tests for
the architecture of a new project. I have performed my
tests using both .NET v1.1 and .NET v2.0 Beta 1 and I have
had some confusing results in v2.0. Either I am not
configuring it properly or there is a bug where it might
b... more >>
Urgent :SN utility and .net distributed transaction
Posted by shabbir hussain bohra at 8/23/2004 1:07:08 AM
I have written a vb.net component for automatic distributed transaction.
the code is as:
Imports System.Data.SqlClient
Imports System.Configuration
Imports System.EnterpriseServices
<Transaction(transactionoption.required)> _
Public Class ShabTransmitDataComponent
Inherits Servicedcompone... more >>
Error Handling in remote objects
Posted by C Antonio at 8/21/2004 6:47:47 PM
Hi all,
I have a question about error trapping with remote objects.
Say I have 1 client and 5 servers, the client sends a call call to all 5
servers to copy a file (a dll or assembly) from one location and store this
file in a specific location on the each server hard drive ( the location
... more >>
Serializable Exception - the constructor won't deserialize.
Posted by Phil Jones at 8/21/2004 2:17:28 PM
I'm having a problem with Exceptions. If I call my server application from
a client, and the invoked server procedure throws a standard system
[ApplicationException] there is no problem. The client reports accurately
the details of the excpetion.
However, if I have a custom error - for insta... more >>
Urgent and Highly important :Help in MTS and Distributed transaction implemention
Posted by shabbir hussain bohra at 8/21/2004 8:50:40 AM
I am writing a distributed transaction code. My current scenario include a client database(Suppose client- having 4 main database) which can be installed anywhere which would connect to a public database placed at ISP datacentre(Suppose Server- having 2 database[host,transmissionqueue]). this ser... more >>
Remote event subscription not working.
Posted by Brian Vallelunga at 8/20/2004 10:44:16 PM
I hope someone can help me. I'm trying to implement a remote object and
subscribe to an event on it. I'm using an event wrapper as suggested in Ingo
Rammer's book so that I can use interfaces with remoting. My problem is that
my server object's event never gets subscribed to successfully. The ... more >>
Beta Testers Invited - Xavier's DNS Client .NET Component
Posted by Xavier Jefferson at 8/20/2004 4:23:28 PM
Hi all,
I'm in the beta stage of distributing an inexpensive .NET component with
which to do DNS queries. Looking for suggestions and to see how well this
performs in some other-than-my-own real world situations. The current beta
will run until 9/3/2004 after which I'll be selling this item ... more >>
Client -> Server -> Client call hangs
Posted by CheeseToast at 8/20/2004 12:13:02 PM
I have a client that passes a reference to itself to a server. If a call
from the client to the server results in a server call back to the client,
the client hangs. Pseudocode:
(Client)
ServerObect.Connect(Me) <- Client passes a reference to itself, which the
server maintains.
(Clien... more >>
Connecting to a .Net Remoting Server from a C++ DLL
Posted by John Hann at 8/20/2004 11:07:00 AM
Hi,
I would like to integrate IAS with a .NET Remoting Server
via an IAS extension DLL written in C. Ideally, I would be
able to simply configure IAS to call a local C# dll to
handle RADIUS requests and invoke the remote .NET object
from C#, but I'm not sure how/if I can do this.
Anothe... more >>
Ftp LIST command, directory with space
Posted by kjon at 8/20/2004 10:33:36 AM
Hi, I'm doing an FTP function where I find that if I use the LIST command on
a directory name with space (e.g. My Folder), it said cannot find path "My",
it seems like the command doesn't support space in the directory name. Is
there a solution for this?
I've tried including single quote/doubl... more >>
Will this client/server to client/server thing work?
Posted by CheeseToast at 8/19/2004 6:53:02 PM
I am going to attempt this anyway. but if someone can give me some helpful
input I would appreciate it. (Sorry this is so long)
I have a distributed processing project where several systems need to do
some intensive work assigned by a controlling system. Most of the engineers
on the proje... more >>
Remoting event problem... client hangs after server fires event
Posted by Me at 8/19/2004 1:17:01 PM
I'm working on a "chat" application to learn DotNet remoting and I have
reviewed several examples, but I'm having a problem...
When the client is being initialized I instantiate the remote object (works
fine), then access a property on the server object to get the machine name
(works fine... more >>
The underlying connection was closed - Remoting.Channels.Http.HttpClientTransportSink
Posted by Gilad Ravid at 8/19/2004 12:09:12 PM
Hi,
I got the following error. I search the web and found many discussions and
solutions all of them like http://p2p.wrox.com/topic.asp?TOPIC_ID=4858
the problem I use remoting and not webservie. I dont have
reference.cs file. do you have any solution? which function to
override ? where to ... more >>
Remoting Events Problem
Posted by Dave Keenan at 8/19/2004 7:46:44 AM
I'm a working on a Windows Forms application using
remoting and have hit a problem. I have three basic
components:
1) A Remote object, call it myServer which is a
MarshallByRef singleton. This raises an Event called
myRemoteEvent.
2) A Client business logic class, call it myClient. Th... more >>
Error on events subscriptions
Posted by emmanuel.castellani NO[at]SPAM laposte.net at 8/19/2004 7:39:16 AM
Hi all,
I have a serious problem regarding the subscription to events to a
remote objects.
I have sometimes this error, and I really don't know why !
Does anybody can help me?
Thanks
Here is the error:
An unhandled exception of type
'System.Runtime.Serialization.SerializationExceptio... more >>
Remoting VB 6.0
Posted by hamilton NO[at]SPAM nsgc.gov.ns.ca at 8/19/2004 3:56:23 AM
Does anyone have an example of using remoting between c# and vb 6.0?
Thanks...... more >>
Threading Problem
Posted by Abhi at 8/18/2004 11:04:31 PM
I have a console app. which has a timer which is set to fire every 30
seconds.
The function which the timer calls then calls another function using
ThreadPool
Function A
{
Timer Declared with 30 seconds interval
Timer.Change(Infinite,Infinite) //Timer stopped for infite time
... more >>
Gaining Access to a Windows App's Forms from its Server Object
Posted by Alex Maghen at 8/18/2004 4:21:01 PM
I have created a nice little Client-Server test using .Net Remoting. I've
created a separate Interface representing the Remoted (exposed) class from
the Server application. The Server Application is a Windows Application
created in C#.
Everything's working fine with the Client App accessing... more >>
Remoting and web-client
Posted by Henke at 8/18/2004 3:43:07 PM
Hi
Is there any best practises about how and when channels should be registred
in a web client?
I have a Web application that gets data from a business layer on a remote
machine. When should my channel be registred?
Thanks in advance!
/Henke
... more >>
Suggestion needed reagrding Impersonation
Posted by .NetHelpWanted at 8/18/2004 2:15:01 PM
Hi All,
I have an application in which
I have a service running as some user.
And i have a dll which odes remoting calls.
my question is
Any one who wants to connect to DB has to use dll.
Now my problem is that only one user can write to datbase.
ie the user running the service.
Say... more >>
Get all connected users from an asp.net app using remoting and thread
Posted by Fernando Lopes at 8/17/2004 7:38:57 PM
Hi ALL,
So, I need to asp.net custom control, with this function:
Retrieve a list of connected users on app using remoting
and thread.
So, my manager pass some code to me, one html page use
frameset, and aspx project. In this aspx project, there is
an global.asax file. I guess is in this way t... more >>
Scheduling a .NET component
Posted by arcvonz at 8/17/2004 6:13:59 PM
I have a.NET component that needs to be scheduled to run programmatically.
How can it be done, any interface to Task Scheduler from .NET?
Thanks,
Arc
... more >>
Question reg. Pub-Sub architecture
Posted by rdilipk NO[at]SPAM gmail.com at 8/17/2004 5:11:49 PM
Howdy All
I have a quick question on an architecture I am trying to implement.
I want to implement something similar to a pub-sub architecture. Is
it possible to broadcast event notifications across machines and
networks? I have a .NET application (lets call it .NETApp) sitting on
an IIS ... more >>
IsProxy() ??
Posted by Phil Jones at 8/16/2004 7:20:29 PM
I'm finding programming remoting can get confusing when you're not sure
whether the object you're dealing with really is instantiated on another
machine.
Is there some way to determine if an object is a proxy, or the real thing?
Like an IsProxy method?
Thanks everyone.
===
Phil
(Auckla... more >>
1st hosting of objects, new(), etc.
Posted by Mike at 8/16/2004 6:52:16 PM
I'd like to have the first-running application that references my object
host a singleton server for the app's lifetime, and I'd like the hosting
application to use a local (non-remoted, same process) version of the
object.
For instance, if my winforms app is the first app to need the object, it... more >>
Newbie remoting question
Posted by MC at 8/16/2004 4:25:03 PM
I know this is probably a total newbie question. But, I am taking over a
project in .NET and in it they reference an objuri="Page.rem". Now, my
question is where does this .rem file come from? How do I go about creating
this? I've looked over all of their source code and cannot find this f... more >>
Talking to the server from the hosting app.
Posted by Phil Jones at 8/16/2004 2:32:59 PM
I have a Remoting server assembly being hosted within a windows Form.
There is an Singleton object published by the server. The object can be
retrieved via an shared "Instance" field that retrieves an instance of
itself (as per the .NET Singleton pattern).
Here's the weird thing I'm finding... more >>
problem unregistering channel
Posted by killkennyhouse NO[at]SPAM hotmail.com at 8/16/2004 9:19:24 AM
hi
In my cleint, I registered channel this way:
TcpChannel chan = new TcpChannel();
ChannelServices.RegisterChannel(chan);
when i run my program again it complains that the channel has been
registerd and bombs. So I do the following
ChannelServices.UnregisterChannel(chan);
It then com... more >>
Return Values and network usage.
Posted by Shaun Wilson at 8/16/2004 9:13:03 AM
When a client calls a method on an remote object, but does not require
the return value, does the remoting framework still send the return
value over the network back to the client or is it intelligent enough to
know it isn't necessary?
Example:
public class RemoteObject : Marsha... more >>
|