all groups > dotnet remoting > october 2006
Is remoting being used?
Posted by Peter Morris [Droopy eyes software] at 10/28/2006 12:00:00 AM
Hi all
I'd like to enable/disable the remoting ability on instances of my class
depending on a user license. If the user has a "Professional" license then
they can only use the class within the current application, if they have an
"Enterprise" license then the class may also be used on a s... more >>
Attempted to call a method declared on type 'MyInterface' on an object which exposes 'RemotableTypeObject'
Posted by Amit at 10/27/2006 9:08:11 AM
Hello All,
I have been searching for a solution for the last 2 days. As a last
resort, I am turning to this group. Please help.
I have an assembly called "RemoteObjectsInterfaces.dll" that has an
interface called "IHelloWorldInterface". I have another assembly called
"RemoteObjects.dll" tha... more >>
Binary Serialization -- how to actually insert into database?
Posted by matt NO[at]SPAM mailinator.com at 10/26/2006 9:54:11 AM
hey all,
ive read some good articles on the tenents of serialization and when &
why youd want to do it, as well as the types. great!
now id like to put it to practice. however....none of the articles i
found had database examples -- all were files. how do i insert a memory
stream into the d... more >>
problem with using IPC and TCP channels
Posted by dr at 10/26/2006 9:39:01 AM
I have a service which has both an IPC and TCP remoting channel. A client
can use either to access my service and I talk to the clients via a callback
they pass to me. If I try to have the service talk to another instance of
the service running on a different machine, the callback fails and ... more >>
Romting vs Web Service in vs2005
Posted by FLDaveM at 10/26/2006 5:46:02 AM
I'd like to get some ideas of the best way to accomplish the following in
vs2005:
Win1 - a windows application
Web1 through WebX- many website applications
I'd like to talk from Web1-WebX to Win1 and also back through, at this
thinking, a web service. I need Win1 to communicate to on... more >>
Performance differences Remoting with http and binary
Posted by Maxx at 10/25/2006 10:31:02 PM
I use .Net Framework 1.1 with Remoting channel= http and formatter=binary.
The remoting server components are hosted as webservice in IIS.
The client application is a WinForms application for file upload and download
I have serveral performance differences, why ?
The quantity of data is say 1 ... more >>
what's the best way to pass XML document as a remoting argument?
Posted by Keith Langer at 10/24/2006 6:57:06 PM
Hi,
I'm looking for the most efficient way to pass an XML document into a
remoting call. I know that I can return an XMLDocument from a remoting
call, but passing one as an argument causes errors. If I pass the XML
as a string, I believe that all tags will get URL-encoded, making the
docume... more >>
net remoting performance
Posted by Felix González at 10/24/2006 12:00:00 AM
Hi,
I've read an article about performace net remoting, enterprise services and
web service. the prformance test was down when the comunitation uses
dataset. But this article was writed for framework 1.1. Thare are any
similar article in framawork 2.0?
Has been Improved the performace in ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Multithreaded singleton object, is it possible?
Posted by Magnus at 10/23/2006 8:28:01 AM
I have a server that provides clients with a singleton object in the normal
"remoting" way. However, I want to allow several clients to be able to
execute at the same time inside the singleton object, and then control the
execution inside the object with normal threading critical sections (I u... more >>
Registering two Singleton remoting object on two different ports on the same machine
Posted by jesper.hvid NO[at]SPAM gmail.com at 10/23/2006 12:36:17 AM
Hi.
I have an standard Win32 .NET application that uses a remoting entry
point for add-in applications to communicate with it.
Multiple instances of the Win32 application can be started on the same
machine at the same time (eg. different users logged in simultaneously
via Citrix or other). ... more >>
Remoting: Connection Refused (Server to Client)
Posted by Norman Chong at 10/19/2006 6:27:28 AM
Hey ho,
This is a question that I have already posted, but received no valuable
anser... So maybe I have more luck this time :-)
I have a (hopefully) little problem with remoting:
I'm currently developing an application (VB.NET) which should execute
some methods on a different client within... more >>
STA Threads
Posted by Pranav at 10/18/2006 10:32:47 PM
Hello All,
I have an application server that works with legacy com components with
Apartment threading model. The components take very long to initialize
and I store them in a global collection once created.
All the remoting threads (from default threadpool) are MTA threads. So
when a reque... more >>
Client Activated objects from a asp.net client
Posted by siddharthkhare NO[at]SPAM hotmail.com at 10/18/2006 8:40:41 PM
Hi All,
In my current projects i have business obejcts that are running on a
remote server and Presentation (ASP.net) is accesing it using .net
remoting(IIS + TCP + BinaryFormatter).
Sample objects are ..users object that contains a collection of user
objects.
ASP.net request will instanti... more >>
Problem with windows service
Posted by Fernando at 10/18/2006 5:03:23 PM
if i create a windows service and register a class that is not part of the
service project (it is part of a classlibrary project), when i start de
service an error message says that can not start the service becouse there
is nothing to do.
If i do the same thing with a console app, it works ... more >>
Because of security restrictions, the type xxx.xxx cannot be accessed."
Posted by Russ at 10/18/2006 6:06:50 AM
I am getting a security error while trying to remote. My first
Remoting call works just fine. I retrieve a class object just fine. I
then use that object to make another call (a little later on in my
program), that's when I receive the error.
I do have <formatter ref="binary" typeFilterLe... more >>
VS2005 and VS2003 remoting problem when client is WEB-application
Posted by V&G at 10/17/2006 10:42:33 PM
Hello all,
I have following configuration for remoting application:
Server side; was wrote in VS2003
Shared library; was wrote in VS2003. Contains shared objects
Client side; was wrote in VS2005.
I use WEB-application as a client. Each call to remote objects executes
with some object from ... more >>
Remoted classes and dll dependencies
Posted by leotohill NO[at]SPAM gmail.com at 10/17/2006 10:35:43 AM
My assembly has a remotable class, and dependencies on some other
application assemblies.
In theory, the remoting client needs only the first assembly, so that
..NET can build the proxy. If possible, I would like to avoid deploying
the other assemblies on the client side.
How can I be assu... more >>
Serializing Problem while remoting
Posted by Russ at 10/17/2006 5:59:44 AM
I am having problems with Serializing and Deserializing when remoting.
Basically I have a class that inherits another class. How do I get
them serialized properly.
I can serialize to my base class just fine. I can serialize to my
other class just fine (if I do not inherit my base class). Bu... more >>
IPCChannel Events Stop when second Client Connects
Posted by Olie at 10/17/2006 3:24:24 AM
I startted off by using TCPChannel but this caused me several problems
the most serious being that if someone disconnected the network cable
my local app would stop working. So I decided to change to IPCChannels
thinking that it would just slot in and work as before. Mostly this is
what has happ... more >>
Infinite loop in NT.dll
Posted by silent tone at 10/16/2006 8:09:03 AM
I have a simple console test application that sets up a TCP channel for
remoting and registers an object, and then services requests until I close
it. I've compiled it to target .net 1.1 and 2.0. The problem is that after
a while, in the .net 2.0 version, a thread makes a native API call to ... more >>
Again with the socket exceptions
Posted by JMoore at 10/13/2006 2:44:02 PM
Sorry if this seems like a rehash, but I'm fairly sure it isn't. I'm getting
the somewhat infamous "System.Net.Sockets.SocketException: Only one usage of
each socket address (protocol/network address/port) is normally permitted at
System.Runtime.Remoting.Channels.Http.HttpServerChannel.StartL... more >>
Unregistered custom channel still being used
Posted by Gary H at 10/11/2006 12:35:02 PM
I created a custom client formatter sink to pass some information. I can
create it as follows:
BinaryClientFormatterSinkProvider binarySink = new
BinaryClientFormatterSinkProvider();
ClientSecuritySinkProvider secureSink = new
ClientSecuritySinkProvider(username, password);
secureSink.Ne... more >>
Client-side vs Server-side objects - how to mix for performance?
Posted by Todd Beaulieu at 10/11/2006 12:04:01 PM
I'm designing a remoting C/S application. I want to obtain references to
"business" objects created on the server side to enable invoking methods that
will run on the server side. In order to make it more chunky, I want to
enable the serialization, transportation of copies of the objects so th... more >>
Remoting Problem: Connection refused
Posted by normanchong NO[at]SPAM freenet.de at 10/11/2006 1:44:14 AM
Hi,
I have a (hopefully) little problem with remoting:
I'm currently developing an application (VB.NET) which should execute
some methods on a different client within the LAN. So I wrote this
little piece of code for testing purposes:
Public Class RemoteObject
Inherits MarshalByRefOb... more >>
Default Channels Precreated?
Posted by Spam Catcher at 10/10/2006 1:19:42 PM
Hi all,
I'm a bit stumped - I created a new .NET 2.0 remoting project, and there
seems to be a "HTTP Client" channel that is pre-registered.
Does anyone know why the channel is precreated?
My .config file does not have any channel setup information - everything
was done in code.
Anyo... more >>
removed per user request
Posted by Fernando Vasconcelos Mendes at 10/6/2006 6:16:53 PM
Store Asyncresult to session with sessionState mode = "SQLServer"
Posted by sean.swords NO[at]SPAM gmail.com at 10/6/2006 6:38:45 AM
Hi there,
I was previously able to store my AsyncResult to the Session with the
sessionstate mode="InProc" but now I get:
System.Web.HttpException: Unable to serialize the session state. Please
note that non-serializable objects or MarshalByRef objects are not
permitted when session state mod... more >>
The service started and then stopped
Posted by cashdeskmac at 10/5/2006 9:06:02 AM
I have created a windows service and installed it. I use NET START
servicename but I get the message that the service has started and then
stopped. Same thing if I start it through the Services utility.
This service registers a remote object in a dll and chat clients communicate
through... more >>
Socket.Send - sending to the same process
Posted by BuddyWork at 10/5/2006 1:19:02 AM
Hello,
Could someone please explain why the Socket.Send is slow to send to the same
process it sending from. Eg. Process1 calls Socket.Send which sends to the
same IP address and port, the receiver is running within Process1.
If I move the receiver into Process2 then its fast.
Please ca... more >>
Attack prevention?
Posted by EmeraldShield at 10/4/2006 7:31:18 PM
I am writing a new remoting service for a system that will be exposed to the
Internet. We originally had it built as a webservice, but the overhead is
huge and I am looking for a way to get the CPU / bandwidth requirements
down. Remoting looks very promosing for this system, it is dot net to... more >>
Redundancy and .NET Remoting
Posted by Zoe Hart at 10/3/2006 1:27:31 PM
We have two parts of an overall application that use .NET Remoting and we're
looking at adding a third feature that will also use .NET Remoting. Each
individual remoted piece does not carry enough traffic to warrant a
redundant solution, but the combination of the three is adding up to a
sol... more >>
Server hangs on a client callback
Posted by dvestal NO[at]SPAM gmail.com at 10/3/2006 5:10:08 AM
I'm new to .NET remoting, and I'm having trouble getting a callback to
work from a server. I've been through a dozen webpages and the
references available to me, but I'm still missing something.
I'm trying to have a client pass a callback function to a server, and
the server call it. The cal... more >>
remoting slowing down COM dlls?
Posted by madmik3 NO[at]SPAM gmail.com at 10/2/2006 3:14:00 PM
I have a C# exe with remoting. That talks to a COM C++ dll.
so
client.exe -> [c# remoting].exe -> [shared.dll] ->[myCom.dll]
and I also have it without remoting
client.exe -> [shared.dll] ->[myCom.dll]
Without remoting I've timed function Foo() in MyCom.dll at about
700-800 ms. With... more >>
Switching to local data objects when Remoting fails
Posted by Ekin Caglar at 10/1/2006 3:34:20 PM
Hi everybody,
Here is the scenario: We have a number of web servers and although each one
has a copy of the business objects required by our application, they connect
and get their data from a Remoting server. (Benefits include centralized
caching, single db access point, etc.)
This work... more >>
|