473,769 Members | 2,355 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Remoting Problem:Request ed service Not found

Hello
I am learnign Dot NEt
I have implemted
1. remote object
2.Listener
3.Client

Listener started and listening to requests
Client started and able to nstantiate remote object
But when a Remote object method is invoked, following error happens
Error
System.Runtime. Remoting.Remoti ngException: Requested Service not found

Server stack trace:
at
System.Runtime. Remoting.Channe ls.BinaryServer FormatterSink.P rocessMessage(I S
erverChannelSin kStack sinkStack, IMessage requestMsg, ITransportHeade rs
requestHeaders, Stream requestStream, IMessage& responseMsg,
ITransportHeade rs& responseHeaders , Stream& responseStream)

Exception rethrown at [0]:
at System.Runtime. Remoting.Proxie s.RealProxy.Han dleReturnMessag e(IMessage
reqMsg, IMessage retMsg)
at System.Runtime. Remoting.Proxie s.RealProxy.Pri vateInvoke(Mess ageData&
msgData, Int32 type)
at RemotObject.CIP CClass.StringMe thod()
at RemoteClient.Cl ient.Main(Strin g[] args) in
d:\project\sour ce\remoteclient \client.cs:line 22

My server config file
<configuratio n>
<system.runtime .remoting>
<application>
<service>
<wellknown
mode="Singleton "
type="CIPCClass , CIPCClass"
objectUri="CIPC Class.rem"
/>
</service>
<channels>
<channel ref="tcp" port="6123"/>
</channels>
</application>
</system.runtime. remoting>
</configuration>

Client config file
<configuratio n>
<system.runtime .remoting>
<application>
<client>
<wellknown
type="CIPCClass , CIPCClass"
url="tcp://localhost:6123/CIPCClass"
/>
</client>
</application>
</system.runtime. remoting>
</configuration>

I guess there is some problem with my configuration file
Please help
Regards
Srikanth B
Nov 16 '05 #1
1 8991
And if you replace 'localhost' with the machine name your machine really
has? localhost is an alias for 127.0.0.1, and your machine likely has
another IP address as well with a netbios name (or full domain name). The
service might listen on that IP address and port, not on localhost:6123

FB

"vijay" <bs**@india.hp. com> wrote in
news:Ld******** ********@news.c pqcorp.net:
Hello
I am learnign Dot NEt
I have implemted
1. remote object
2.Listener
3.Client

Listener started and listening to requests
Client started and able to nstantiate remote object
But when a Remote object method is invoked, following error happens
Error
System.Runtime. Remoting.Remoti ngException: Requested Service not found

Server stack trace:
at
System.Runtime. Remoting.Channe ls.BinaryServer FormatterSink.P rocessMessag e (IS erverChannelSin kStack sinkStack, IMessage requestMsg,
ITransportHeade rs requestHeaders, Stream requestStream, IMessage&
responseMsg, ITransportHeade rs& responseHeaders , Stream& responseStream)

Exception rethrown at [0]:
at
System.Runtime. Remoting.Proxie s.RealProxy.Han dleReturnMessag e (IMessage reqMsg, IMessage retMsg)
at
System.Runtime. Remoting.Proxie s.RealProxy.Pri vateInvoke(Mess ageData&
msgData, Int32 type)
at RemotObject.CIP CClass.StringMe thod()
at RemoteClient.Cl ient.Main(Strin g[] args) in
d:\project\sour ce\remoteclient \client.cs:line 22

My server config file
<configuratio n>
<system.runtime .remoting>
<application>
<service>
<wellknown
mode="Singleton "
type="CIPCClass , CIPCClass"
objectUri="CIPC Class.rem"
/>
</service>
<channels>
<channel ref="tcp" port="6123"/>
</channels>
</application>
</system.runtime. remoting>
</configuration>

Client config file
<configuratio n>
<system.runtime .remoting>
<application>
<client>
<wellknown
type="CIPCClass , CIPCClass"
url="tcp://localhost:6123/CIPCClass"
/>
</client>
</application>
</system.runtime. remoting>
</configuration>

I guess there is some problem with my configuration file

--
Get LLBLGen Pro, the new O/R mapper for .NET: http://www.llblgen.com
My .NET Blog: http://weblogs.asp.net/fbouma
Microsoft C# MVP
Nov 16 '05 #2

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

Similar topics

0
1153
by: Vlad Azarkhin | last post by:
Hello, I have a Window service that creates an object and exposes it through remoting as a singleton. I also have a client application that connects to this remote object in order to receive feedback from the windows service. At the beginning it works perfectly, that is untill I close the client application, and start it over after about 5 minutes (don't have exact timings). What happends is that the client can't create the remote...
1
1626
by: Ray Stevens | last post by:
We have a remoting service that runs fine on local development machines, but throws the following error when attempting to start it on a Windows 2003 server: "Error 1053: The service did not respond to the start or control request in a timely fashion" This error occurs in a fraction of a second. Does anyone know what might be causing it?
1
545
by: vijay | last post by:
Hello I am learnign Dot NEt I have implemted 1. remote object 2.Listener 3.Client Listener started and listening to requests Client started and able to nstantiate remote object But when a Remote object method is invoked, following error happens
0
1662
by: Mike Treadway | last post by:
Here's a posting from someone else that describes my problem. The issue is happening on two Windows 2000 machines that have Veritas installed. That's the only obvious common thing I can see between the two machines. Someone Else: I am developing a three tiered Windows Service application using remoting. The Server portion of the program runs on a Windows Server 2k3 machine and intermittently crashes. The event log contains the...
0
1025
by: Pushpendra | last post by:
Hi, I have created 2 dlls (Irefdata.dll, RefdataServer.dll) and one remoting service RefDataService.exe. Irefdata is ainterface and I have implemented this interface in refdataserver. I have referenced Irefdata & Refdataserver in the service (Refdataservice.exe) so that I can register this service on tcp channel and access the methods of refdataserver. If I reference these dll without deplying these in global assembly cache (means copy...
0
846
by: Ray Stevens | last post by:
Anyone know of a good source on how to debug a remoting service running on another server?
0
2203
by: mbbostwick | last post by:
I have a problem with a mail merge procedure I used to use with Access '97. We recently converted to Office XP (2002) and I now have an issue I am unfamilliar with and have been unable to resolve. I am trying to merge individual records into seperate mail merge word docs. In the past I linked my word files directly to the tables and then simply changed the QueryString of the merge file for the particular record I need to create a...
4
3614
by: John Wilmot | last post by:
I have a service that is set up to use remoting. Is there a way that calls from a web page to this service can be debugged in Visual Studio 2005?
1
1751
by: sjoshi | last post by:
Hi All I have written an Windows Service that exposes a Remoting object that takes a DataSet and fills it up. However when I get the dataset back on the client it's rows are empty. When I log the process I can see a filled dataset on the server. This is what I'm doing in the client code, where dSet is an empty initialized DataSet being sent to the server.
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10222
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10050
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9866
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.