473,394 Members | 1,828 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,394 software developers and data experts.

Remoting Problem:Requested 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.RemotingException: Requested Service not found

Server stack trace:
at
System.Runtime.Remoting.Channels.BinaryServerForma tterSink.ProcessMessage(IS
erverChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders
requestHeaders, Stream requestStream, IMessage& responseMsg,
ITransportHeaders& responseHeaders, Stream& responseStream)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessage(IMessage
reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData&
msgData, Int32 type)
at RemotObject.CIPCClass.StringMethod()
at RemoteClient.Client.Main(String[] args) in
d:\project\source\remoteclient\client.cs:line 22

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

Client config file
<configuration>
<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 8885
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.cpqcorp.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.RemotingException: Requested Service not found

Server stack trace:
at
System.Runtime.Remoting.Channels.BinaryServerForma tterSink.ProcessMessag e (IS erverChannelSinkStack sinkStack, IMessage requestMsg,
ITransportHeaders requestHeaders, Stream requestStream, IMessage&
responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)

Exception rethrown at [0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessage (IMessage reqMsg, IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData&
msgData, Int32 type)
at RemotObject.CIPCClass.StringMethod()
at RemoteClient.Client.Main(String[] args) in
d:\project\source\remoteclient\client.cs:line 22

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

Client config file
<configuration>
<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
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...
1
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...
1
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...
0
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...
0
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...
0
by: Ray Stevens | last post by:
Anyone know of a good source on how to debug a remoting service running on another server?
0
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...
4
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
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...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.