remoting

Remoting and missing channel sinks

I ran into a remoting exception: "This remoting proxy has no channel sink which means either the server has no registered server channels that are listening, or this application has no suitable client channel to talk to the server." The cause is best explained by this blog entry I found: The second case is more obscure. This occ...

OutOfMemoryException during remote method call

Hi, Iam getting OutOfMemoryException while making remote method call. "RemoteEntity.SetLocalStore(DATASET);" passed value is dataset. Note Size of dataset is 38mb Envoirment c# VS2008 Thanks Code : private void backgroundSync_DoWork(object sender, DoWorkEventArgs e) { backgroundSync.ReportProgress(...

Travelling Visual Studio developers

Hi, I am about to travel to Europe (I'm Australian but imagine this is a similar circumstance for US users and simply flipped for European users). However, there is the slim possibility I will need to do some Visual Studio work while I'm travelling. As I see it I have three options: Leave a desktop PC on at home, access remotely via...

Why can I only read properties and not set properties from ASP.NET web app when using .NET remoting?

Hi everyone. I'm having an issue with attempting to set a property on a remote object hosted in a Windows Service. I'm trying to change a property of an object and it is not saving for some reason. Here is the pertinent code of the service: private static List<Alert> _alerts = new List<Alert>(); // List of the Alerts private T...

Remoting - Is an object remote?

How can I determine whether an object is local or remote (using C# remoting)? Both checking in local code if the object is remote or in the object if the code is executed from remote would be okay. ...

.NET Remoting for Occasionally Connected App - good fit?

Our 70 mobile laptop users are struggling with a new version of an externally developed .NET application that downloads a subset of cases, allows offline data entry, then uploads the results when reconnected. Data transfer seems unreliable on both dialup and wired Ethernet links. Using .NET 2.0 SP1. If you've used .NET Remoting, shou...

How does [RemoteClass] work in Flex Actionscript can I use it for custom data-binding?

Actionscript supports a [RemoteClass] metadata tag that is used in BlazeDS to provide data-binding hints for marshalling AMF binary objects from Java to BlazeDS. For example: Java: package sample; public class UserInfo { private String userName; public String getUserName() { return userName; } public ...

BlazeDS accessing HTTPRequest/HTTPSession in custom Java MessageAdapter

In a custom MessageAdapter written for a BlazeDS Java server, is there any way to access HTTPSession and HTTPRequest in a custom MessageAdapter. I'm trying to adapt an existing COMET JSON long-poll messaging system to BlazeDS and we use HTTPRequest parameters to specify message sending/polling paramers (such as a unique ContextID for an...

Flex Cairngorm Spring Blazeds - Remoting Error - help me please....

Hi all, I seem to be getting the following error when I try to access a Remote Java class (on Spring/BlazeDS) from the Flex/Cairngorm application. I am going crazy at the moment trying to see what is wrong - any help would be greatly appreciated - thanks Mike. **Error: C0007E: RemoteObject not found for mycomponentsService at Remote...

Two way communications in .Net remoting

Once the communication between Client and Server is created, the Client could call the remote object functions through proxy. Under this situation, is it possible that Server could call functions reside in Client side? If so, in what way? Thanks, ...

Remoting options between flex and IIS6 running ASP

We're getting a custom RIA built using flex/flash for the front-end, the display is a scrollable timeline that shows about 100 out of 8,000 total results at a time. Results can be filtered by one of 4-5 criteria. So as a user filters and/or scrolls, we expect a remote call/pagination of some sort for another 100 or so results, each recor...

Powershell v2 remoting and delegation

I have installed Powershell V2 on 2 machines and run Enable-PsRemoting on both of them. Both machines are Win 2003 R2 and are joined to the same active directory domain and I can successfully run commands remotely. So PS remoting is working between the local server and remote server. But when I try to access a share on a 3rd server (di...

Does Flash remoting keep the NetConnection Object open?

Hi, I've built a application that communicates with Coldfusion cfc functions via Remoting. I've noticed that the NetConnection object disconnects after each call, is this expected behaviour? For some reason I was expecting the NetConnection object to stay connected until I closed it myself (I'm making about 1 request per second and had ...

Using external objects from MarshalByRefObject descendant in .NET Remoting

I'm using .NET Remoting to communicate between client and server applications. The MarshalByRefObject on the server side activates as singleton. The question is: how can I get from this object some other objects that have been created in server application runtime? Here is a simple example: what if the remote object needs to show somethi...

Start a program in active user session with PowerShell remoting

Is it possible to detect that a specific user has an open session on a computer and to open a process in that session so that the application can be interacted with by the user using PowerShell remoting? How would I go around detecting which users have sessions open on the machine and what their state is (active, idle, disconnected, etc...

Is System.AddIn mostly about making it easier to use Remoting or does it make it harder to do so?

It takes at least 7 assemblies and restricting my AddIn's data model to data types that remoting can deal with before the appdomain isolation features begin to work. It is so complex! The System.AddIn teams blog implies to me they were trying to re-create a mental model of COM, a model I never understood very well in the first place and...

Problem in setting up remoting with zend_amf and cairngorm

Hello all I am using Flex 3.4 and Cairngorm 2.2 and Zend_AMF for server side. I am having problem in setting up RemoteObjects. I am getting the infamous Channel disconnected error. [RPC Fault faultString="Channel disconnected" faultCode="Client.Error.DeliveryInDoubt" faultDetail="Channel disconnected before an acknowledgement was rec...

What issues should I expect when porting an application from Genuine Channels to WCF

Genuine Channels is a set of 3rd party chancels for .Net Remoting. I have been given the tasks of replace the usages of .Net Remoting in a rick client and server with WCF. I am familiar with standard .net remoting but not Genuine Channels. So what problems should I expect and any pointers to the solutions? ...

.NET IE BHO Remoting

I have a IE Browser Helper Object, which is a Toolbar addin for IE 8. I have another .NET .EXE application (Remoting Client) that connects to this BHO (Remoting Server) using remoting via common Interface. When I test the communication between the .EXE application and a TEMP Console application with the same code used in the Server compo...

Lazy/Eager loading strategies in remoting cases (JPA)

I'm running into LazyLoading exceptions like the most people who try remoting with an ORM. In most cases switching to eager fetching solves the problem (Lazy Loading / Non atomic queries / Thread safety / n+1 problem ...). But eager fetching has also disadvantages if you are dealing with a really big object graph. Loading the whole ob...