all groups > dotnet remoting > march 2006
Filter by week: 1 2 3 4 5
Methods from a SyncProcessMessage?
Posted by Lancelot NO[at]SPAM community.nospam at 3/31/2006 2:33:56 PM
Hi,
I am working on a project and I ran into a little nag! I am writting a
set of custom attributes ,
[PreProcess(Type, aMethod)]
and [PostProcess(Type, aMethod)].
The goal here is to put these attributes on methods so that before the
method is executed the [PreProcess] method is executed ... more >>
Configuring Multiple Clients of the Same Remote Object Type with Different URL Locations
Posted by jasonjoely NO[at]SPAM gmail.com at 3/28/2006 1:56:58 PM
Hey,
Is it possible to have multiple clients of the same remote object type
but with different url locations? If so, how can this be setup?
I'm trying to use .net remoting for a current project of mine. Here's
a brief background:
The project will have a machine (which I'll refer to as the... more >>
Security level exception under Framework 2.0
Posted by Lonifasiko at 3/28/2006 5:04:41 AM
Hi,
It's my first remoting question so be patient if you do not understand
me at a first glance.
Well, I have inherited a .NET application that was built with Visual
Studio 2002. The application runs services/agents and talks to
different numeric control devices. These services are listenin... more >>
Security and Remoting Problem
Posted by David White at 3/27/2006 4:27:29 PM
Thanks in advance for any pointers or help you can provide...
I am rather new to all this so forgive any newbie mistakes...
I have a WinNT Service written in C#. Once it starts up, it exports an
IPC-based remote object interface to permit another component of my application
(a C# Windows F... more >>
Activator.GetObject on a factory that returns interface
Posted by ben NO[at]SPAM peikes.com at 3/27/2006 1:37:00 PM
This is our current setup. Server has a singleton factory which is
setup using the System.Runtime.Remoting.RemotingServices.Marshal call.
This object implements ICalcFactory which has one method GetFactory
which returns ICalculator.
There is one shared assembly which has ICalcFactory and ICalc... more >>
Returning large Dataset is throwing System.OutOfMemoryException
Posted by Oldman at 3/24/2006 11:45:29 AM
I get the following exception attempting to return a very large dataset (50
MB):
Exception of type 'System.OutOfMemoryException' was thrown.
Server stack trace:
at System.String.GetStringForStringBuilder(String value, Int32
startIndex, Int32 length, Int32 capacity)
at System.Text.... more >>
Remoting VS2005 - server vs2005 - client vs2003
Posted by James at 3/23/2006 3:24:53 PM
I am new to remoting... I am wondering if someone know how remoting works
between a server developed in vs2005 and client developed in vs2003, can
they speak with each other without problems??
Thanks for all your help
-James A Taber
... more >>
Port to use for remoting
Posted by Nadanasabapathy I at 3/23/2006 6:28:26 AM
Hi
What is the recommended range of TCP Port numbers that can be used while
using .NET remoting.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem in using Windows Service as remoting server
Posted by Nadanasabapathy I at 3/23/2006 6:26:47 AM
Hi,
I am having a Windows Service named "DataCollectionService" with the process
DataCollectionService.exe. The Sevice hosts a singleton remoting object for
the clients to use. The service start I have given as manual start.
When I reboot my machine, the DataCollectionService.exe starts
... more >>
Access to client IP in MarshalByRefObject on server side?
Posted by Arndt at 3/22/2006 12:15:29 PM
Hi there,
has anyone any clue on how one can obtain the IP-Address of the client in a
remotin object on the server side?
E.G.
class RemoteClass : MarshalByRefObject {
public object myRemoteMethod(some param) {
this.i_want_to_know_which_IP_called_me();
}
}
Any hing would ... more >>
Socket error in windows service
Posted by mais at 3/22/2006 6:44:41 AM
Hi.
I got the error 10061 trying accessing my remote windows service object
dynamically published.
Thisi sthe code in the Main of MyService.cs:
MyService Console = new MyService();
ServiceBase[] ServicesToRun = { Console };
ServiceBase.Run(ServicesToRun);
TcpChannel channel = new TcpCha... more >>
Unable to access to remote object
Posted by Anthony Sox at 3/21/2006 1:13:20 PM
I hope someone can help me. i have a remote object i could access on a
windows 200 server. After i installed active directory and made my computer
a domain controller i now can not not access my remote obejct. can some one
point me in the right direction or solution.
... more >>
Sharing Data
Posted by source at 3/20/2006 8:52:05 PM
I have two exes and would like to share a simple boolean variable among two
exes.
The client will setup the value for hte boolean while the server will read
it.
How do I do that?
I tried creating a shared variable and using IPC channel I can set the
value, but when I try to access the value... more >>
Passing IPrincipal to server activated remoting object in IIS
Posted by Jay Douglas at 3/20/2006 3:15:19 PM
I have an IPrincipal object I need to pass to a SingleCall server activated
object. I'm looking for a way to accomplish my goal without passing the
IPricipal to the SingleCall object on every method call. ex:
ServerObject.GetMyCollection(myIPrincipal);
I look into ILogicalThreadAffinative... more >>
BindingList<T> and remoting problem (SerializationException).
Posted by news.microsoft.com at 3/19/2006 6:28:54 PM
Hi,
I have a big problem with BindingList<T> and remoting (bug in dotnet 2.0 ?).
How to reproduce:
1. Create a class MyClass and implement INotifyPropertyChanged interface on
it
[Serializable()]
public class MyClass : Row, INotifyPropertyChanged
......
private void OnP... more >>
Can you recommend a good book on remoting?
Posted by James A Taber at 3/17/2006 11:23:57 PM
Can someone recommend a good book on remoting?
... more >>
web service using remoting client
Posted by CJF at 3/17/2006 9:40:26 PM
I have a web service that calls a Singleton object each time the web service
is called. I am programmically creating my client channel and calling
Activator.GetObject(...) to access the Singleton class. I unregister the
client channel each time the web service method is finished. I'm regist... more >>
How to restrict remote client by IP address
Posted by hulinning at 3/16/2006 1:26:17 PM
Hi all,
I would like to know if there is a simple way to tell who is connect to my
remote server.
I would like to limit remote client applicatiion using client' s IP Address.
Thanks a lot for any comments... more >>
Creating a CAO instance in the same application where it is hosted
Posted by Hari at 3/16/2006 5:41:32 AM
Hi,
I have a CAO component which is hosted by my server. This server also
contains function, in which i need to create an instance of this CAO.
(This CAO object has to be passed to another process)
When I first tried to create CAO component using overloaded
Activator.CreateInstance() met... more >>
Queries about .NET REMOTING
Posted by Amby at 3/16/2006 5:06:17 AM
Hi all,
I am working with .NET REMOTING.In that im dealing with Single Server
to Multiple Clients Scenario.I wanna know how to close the port used by
the client .Since im having multiple clients scenario,i want to close
the used port so that it can be made available by other clients.
My Ser... more >>
.net remoting marshal object lifetime problem
Posted by Qais at 3/16/2006 2:13:03 AM
Hi there,
A really quick question
I have something like this in my shared dll.
Imports System.Runtime.Remoting
Public Interface ISKMDialog
Function showDialog(ByVal id As Integer, ByVal guid As System.Guid,
Optional ByVal needResult As Boolean = True, Optional ByVal queueit As
Boo... more >>
the format of the file XXXX is invalid
Posted by Mark Brouwers at 3/15/2006 2:08:23 PM
Hi,
I'm getting this error 'the format of the file XXXX is invalid'.
Anyone knows what this means ?
I'm in the transition of changing form VS2003 to VS2005
TIA,
Mark
... more >>
Strong-Named Assemblies Best Practices
Posted by herc at 3/15/2006 6:56:55 AM
I am working on a .Net 2.0 project that falls under 21 CFR. One of the
requirements is that the code be tamper proof. It would appear that
strong-named assemblies would solve that problem quick and easy for me.
Assuming that to be the case...
What are the best practices for using strong-nam... more >>
1.1 Patch for 2.0 types
Posted by jminond at 3/15/2006 6:10:15 AM
Supposidly I hear that there is a patch for the 1.1 framework that
would allow it to serialize and deserialize 2.0 data types succesfully,
mainly the datetime type and datasets, things like that.
I have not been able to find the patch, but 2 blokes at Microsoft told
me it's out there... somwhe... more >>
Remoting & EntLib Jan 2006
Posted by Kals at 3/15/2006 2:27:10 AM
hi,
we are building a 3 tier application with .Net Framework 2.0 and EntLib Jan
2006
client/server talks via .Net Remoting,
an InvalidCastException is thrown on the CLIENT side if I don't comment the
code<<Logger.Write(logEntry)>>,
Strange thing is that every thing goes fine If I comment... more >>
ISponsor Renewal not being called?
Posted by lemming42 NO[at]SPAM gmail.com at 3/14/2006 10:29:47 AM
I am trying to access an object running in a Windows Service
(implemented WellKnownObjectMode.Singleton) from a client. I read
about ISponsors and leases, and I thought I had it all understood.
My Service contains a Singleton MarshalByRef object (ServiceObject).
Calls to that object can creat... more >>
Determining source of remoting call
Posted by porko at 3/13/2006 6:26:27 PM
Is there any way to determine the machine/host name from which a remoting
call has been made? For example, is it possible to do something as follows:
SomeRemoteMethod()
{
string callerName = System.Runtime.Remoting.SomeClass.SomeCall(...);
Trace.WriteLine( "SomeRemoteMethod called by... more >>
SQL faster than remoting?
Posted by markoueis NO[at]SPAM hotmail.com at 3/13/2006 1:23:52 PM
I wrote a little test where i pulled information from two sources
1) Data in an sql server through sql statemnts
2) Data in memory on a windows service through remoting. (TCP channel)
I tried to make the tests as similar as possible save for the fact that
one is using sql statements on a db ... more >>
asp.net remoting problem
Posted by jw56578 NO[at]SPAM gmail.com at 3/13/2006 9:35:26 AM
When I make a call to WellKnownClientTypeEntry[]
es=RemotingConfiguration.GetRegisteredWellKnownClientTypes();
the array contains no objects
in my web.config file i have:
<system.runtime.remoting>
<application>
<client>
<wellknown type="NAMESPACE.CLASS, NAMESPACE"
url=... more >>
Remoting business layer
Posted by markoueis NO[at]SPAM hotmail.com at 3/13/2006 8:45:19 AM
I have an ASP .NET user interface and a Windows Service based business
layer. My goal is to have the ASP .NET pages (the presentation layer)
get its computed data from my window service (whic has the busness
layer Dll's loaded).
I'm pretty sure that the only way to do this is remoting. If ther... more >>
What TCP-algorithm does dotnet use ?
Posted by zing at 3/13/2006 2:55:36 AM
Our company is in the startup phase of a large project involving lots
of network traffic. At this point, I'm trying to find out whether TCP
will be fast enough for the task. I've read a few articles that promote
UDP, claiming that TCP is slow, mainly written by gamers. But I've also
read some ar... more >>
Remoting Error -- very odd.
Posted by Chris Duden at 3/10/2006 11:09:15 AM
We are using VS.NET 2005 and .NET Framework 2.0
When attempting to send a type to a Remoted Server I receive the following
error (the server is a virtual directory on IIS):
Could not load file or assembly 'NFC.Process.Windows.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null' or one ... more >>
setting up the app.config for a middle teir (both a server and client)?
Posted by herc at 3/10/2006 8:41:44 AM
At present there is one remoting engine (standard EXE for now and in
production will be a NT Service). It needs to be split up into a
middle teir and a backend. How do I setup the app config on the middle
teir to be both a client to the backend and a server for the front end?
Assuming that th... more >>
Remoting sample code doesn't work
Posted by Paul Cheetham at 3/9/2006 9:10:25 PM
Hi,
I have bought a copy of the Microsoft Press book, Microsoft .Net
Remoting, by Scott McLean, James Naftel, and Kim Williams.
I have downloaded the sample code, and tried to build an run the samples
for Chapter 3 (Job server and clent)
The server runs OK, but when I try to run one of th... more >>
Roles in Thread.CurrentPrincipal empty after asynchron webservice method
Posted by Roland_Müller at 3/9/2006 2:20:17 PM
Hello,
i am frustrated.
There are 2 websites (lets say "A" and "B") based on the same code of a
project just with other custominzing etc.
Both .net framework 2.0!
I deploy the code to the same server but the code exists in 2 seperate
directories and 2 IIS webs. So far so good.
There i... more >>
Local System vs. Local Service/Network Service accounts
Posted by John H. at 3/9/2006 2:00:26 PM
Hi,
I hope someone could help me out on this problem:
I have a Windows Services "A", and a Windows App "B" which brings up some
Windows Forms. Both of them are on the same machine which runs XP with SP1,
and they communicate to each other using .NET Remoting.
If "A" is run under Local... more >>
How to pass alternate credentials using remoting 2.0 over tcp channel
Posted by ivan.bolcina NO[at]SPAM gmail.com at 3/8/2006 2:33:12 AM
I use remoting 2.0 over secure TCP channel.
I want to pass alternate credentials to server. On the server side, I
would like to see passed values on current thread.
When I host server as IIS app (then of course over HTTP channel), it
works. However, when server is just a console app (and t... more >>
CAO without sharing full object implementation
Posted by mdz NO[at]SPAM jawnet.pl at 3/5/2006 3:01:59 AM
Hi, I'm using Client-ACtivated Object to comunicate between My server
app and client apps
When I have the same object def dll on the server and on client
everything is ok, but I do not want to store full definition of the
object on the client. So I tried to host object which inherits from
sha... more >>
How to use multiple channels
Posted by Sebastian Loncar at 3/2/2006 10:29:46 PM
Hi,
i have two applications, which communicates very extrem together. With the
IPC-Channel i receive often the messages like "all instances of the
requested pipe are busy". So i want to use multiple Channels to communicate,
maybe 10 Connections.
For this scenario i created on each side 10 ... more >>
Function evaluation was aborted, VS2K5 crashes!
Posted by herc at 3/1/2006 1:54:36 PM
I am having a problem with a remoting object. First off, I have other
objects that are being remoted in the same app and they work fine. The
object in question, Method, follows the same pattern of other objects:
The client makes a call to the server, the server creates the object
and returns (... more >>
Remote object expires even when lease time is set to 0
Posted by bhattpiyush NO[at]SPAM gmail.com at 3/1/2006 3:42:37 AM
Hi,
I have an ASP.Net(with C#) application which uses windows forms user
control which is downloaded and executed on client machine when invoked
The application uses remoting to execute database
queries(select/insert). The database is Oracle 9i. TCPChannel is used
for remoting. On the se... more >>
|