473,569 Members | 2,791 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET Remoting object unavailable in in-process dll

I have a server app which hosts a remote object, published via http.
The app works fine as a self-standing .exe.

However, when I host the same code as a library .dll, the object is
unavailable to clients. I can verify that the object is indeed
published on http://localhost:8080/object1uri by viewing the location in
my browser.

However, the client reports an error : Requested service not found
(Remoting Exception)

Any issues around accessibility in in-process .dll's?

Jean-Pierre


Output from browser is as follows

System.Argument NullException: No message was deserialized prior to
calling the DispatchChannel Sink. Parameter name: requestMsg at
System.Runtime. Remoting.Channe ls.DispatchChan nelSink.Process Message(ISer
verChannelSinkS tack sinkStack, IMessage requestMsg, ITransportHeade rs
requestHeaders, Stream requestStream, IMessage& responseMsg,
ITransportHeade rs& responseHeaders , Stream& responseStream) at
System.Runtime. Remoting.Channe ls.BinaryServer FormatterSink.P rocessMessag
e(IServerChanne lSinkStack sinkStack, IMessage requestMsg,
ITransportHeade rs requestHeaders, Stream requestStream, IMessage&
responseMsg, ITransportHeade rs& responseHeaders , Stream& responseStream)
at
System.Runtime. Remoting.Channe ls.SoapServerFo rmatterSink.Pro cessMessage(
IServerChannelS inkStack sinkStack, IMessage requestMsg,
ITransportHeade rs requestHeaders, Stream requestStream, IMessage&
responseMsg, ITransportHeade rs& responseHeaders , Stream& responseStream)
at
System.Runtime. Remoting.Metada taServices.SdlC hannelSink.Proc essMessage(I
ServerChannelSi nkStack sinkStack, IMessage requestMsg, ITransportHeade rs
requestHeaders, Stream requestStream, IMessage& responseMsg,
ITransportHeade rs& responseHeaders , Stream& responseStream) at
System.Runtime. Remoting.Channe ls.Http.HttpSer verTransportSin k.ServiceReq
uest(Object state) at
System.Runtime. Remoting.Channe ls.SocketHandle r.ProcessReques tNow()


*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #1
0 1062

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

Similar topics

0
1282
by: Linesh Gajera | last post by:
Hi, I have unique problem. I have configured RemotingServer running as Console Application and my Remoting object access Oracle database. My remoting object make call to Oracle database and returns result if i run RemotingServer as Console Application. Then i configured RemotingServer as Windows Service. My Windows Service starts fine, it...
0
989
by: Matthew Wieder | last post by:
Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <uLD8l$26DHA.3360@tk2msftngp13.phx.gbl> Newsgroups: microsoft.public.dotnet.languages.csharp NNTP-Posting-Host: 207.106.112.178 Path:...
2
303
by: frazer | last post by:
i am checking a remoting sample and cant understand what this means. what does this mean? if(!System.Runtime.Remoting.RemotingServices.IsTransparentProxy(Object1)) { throw new ApplicationException("Configure remoting first"); }
8
2691
by: Richard Bell | last post by:
I have a class in a seperate dll which I want to remote. I have referenced the class and registered it using a simple exe. I can connect to the class's interface using Activator.GetObject and call it's methods. However, when I use soapsuds to extract meta data, I get the following error: Error: Unable to retrieve schema from url:...
4
3107
by: Uchiha Jax | last post by:
Hello everyone, I am a plenty silly person who is trying to learn .NET remoting through trial and error (all articles I read are going over my head at the moment (mostly) so I thought i'd give it a go). What I want to do is this: Have a server instance of the program, this server instance will receive communication from client programs...
3
1501
by: S Chapman | last post by:
I have a simple remote server object that raises an event when the list maintined by it changes. The idea is to enable the remote client to update the GUI when the server list changes. When the I create the server object without using remoting (i.e. just use new()) the event fires and the client updates the UI but when I create the server...
4
6628
by: Rich | last post by:
Can anyone suggest a good (current) tutorial on how to do basic remoting with C# (2005 express edition)?
0
271
by: Rich | last post by:
I have a simple test case using a remote object. When I run with server and client on the same PC everything works fine. When I run the client on another PC, the remote object works, but when the client program is exited then the server crashes with an access violation writing location 0x00000000. Why would the server crash upon closing...
2
3046
by: erbilkonuk | last post by:
Hi, I am very new to .NET Remoting and I try to run a simple program to subscribe to an event raised by Remoting Class. The Remoting Server initiates an instance of Remoting Class as Singleton / Server activated mode on startup. The Remoting Client accesses the Remoting Class through the interface of the Class and subscribes to an event of...
0
1554
by: senpark15 | last post by:
Hi EveryBody, I am developing .net remoting application.I have Created server and client application. Server has installed on Two Pc's and cliient have to connect two Pc's and do some functions. Its working Fine on local machine . But when i tried to connect two PC's, its through an remoting exception This is my server code: ...
0
7605
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...
0
7917
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. ...
0
8118
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...
1
7665
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7962
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...
0
6277
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...
0
5217
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...
1
2105
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
933
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...

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.