473,385 Members | 1,570 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,385 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 8880
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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...

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.