473,386 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

.Net Remoting - Did something change from '2003 to '2005?

I've been using Remoting in VB 2003 app's for a while now.

Over the last couple of days, I've been playing around, trying to use
Remoting to talk to a '2005 Windows Service.

If I set up the client with a configuration file ...

<configuration>
<system.runtime.remoting>
<application>
<client>
<wellknown
type="[-class-name-], [-assembly-name-]"
url="tcp://localhost:[-port-]/[-uri-]"
/>
</client>
<channels>
<channel ref="tcp" port="0"/>
</channels>
</application>
</system.runtime.remoting>
</configuration>

.... everything works as expected; Remoted objects are loaded and run.

So why am I complaining?

Under VB '2003, I /didn't/ need to have any of this; I just added - in
code ...

Dim sURI As String _
= "tcp://localhost:[-port-]/[-uri-]"
Dim oPlugin As Plugin _
= DirectCast( RemotingServices.Connect( _
GetType(Plugin) _
, sURI _
))
Dim sRequest As String = ...
Dim sResult As String _
= oPlugin.Execute(sRequest)

If I try the above code (that /used/ to work; I have it in loads of
client applications), I get a connection to the service (if I kill the
service, I get the "connection forcibly closed" exception in the client)
but the remoted objects never get loaded or executed.

Any ideas?

TIA,
Phill W.
Aug 2 '07 #1
0 1059

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
3
by: Sunny | last post by:
Hi all, I'm creating client/server app in C# (VS. 2003). So, I need the client to call the server with some auth info (user and pass). If the auth is OK, server will do some work and will prepare...
0
by: Ron L | last post by:
We are in the process of upgrading our application from Visual Studio 2003 to 2005, and we have run into a problem with the server component of our remoting application. Apparently there is a...
11
by: kiln | last post by:
I am starting a project that may be suitable for vb.net, using windows forms. I want a rich client, thus win forms vs web forms. Most users will access the app data over a LAN, but some will be...
0
by: m.posseth | last post by:
Hello All , I encounter the following strange situation ,,, I have developed a remoting component , this functions fine ,,, however a customer wanted to have the ability to access this...
0
by: Kirk | last post by:
I'm trying to use a Web Service to be a Remoting client of an existing ..NET 2.0 server. But I get the following error when I try to use System.Runtime.Remoting.Channels.Http in my WebService. ...
1
by: ThunderMusic | last post by:
Hi, I have a web project in VS 2005 and I'm using a wrapper to work with a COM object. this object must work in a remoting environment. So we've done a simple console app to give us the access...
5
by: Nick | last post by:
Hi there, Can anyone tell me what RTD is? And can it be used for simple interprocess communication? I am just interested in sending strings to a previous instance. I am currently using .NET...
6
by: Mike9900 | last post by:
How can I connect my .NET app which use remoting to communicate over internet, 2 instance of the same app? My app is already done using .NET Remoting. I am wondering if to change them to WCF or...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.