Note that there are some explanatory texts on larger screens.

plurals
  1. POSystem.Runtime.Remoting.RemotingException: Requested Service not found
    primarykey
    data
    text
    <p>I have the following code in my <code>Web.Config</code> in a remoting project which is having a reference to a dll of another class library. The class library has the following class inside it:</p> <pre><code>public class Generator: MarshalByRefObject, IGenerator { } </code></pre> <p>When I run the remoting project for the configured uri which is exposing the above class, I get the mentioned error in the question header.</p> <p>The url I run is this: <code>http://localhost/documentgenerationserver/Generator.rem</code></p> <pre><code>&lt;application&gt; &lt;service&gt; &lt;wellknown mode="SingleCall" objectUri="Generator.rem" type="ABC.Generator, Generator" /&gt; &lt;/service&gt; &lt;channels&gt; &lt;channel ref="http" /&gt; &lt;serverProviders&gt; &lt;formatter ref="binary" typeFilterLevel="Full" /&gt; &lt;/serverProviders&gt; &lt;/channels&gt; &lt;/application&gt; </code></pre> <p>Can someone advise me, how to resolve this issue?</p> <p><code>EDIT 1:</code> After going through an article on remoting on google, I tried appending <code>?wsdl</code> to my <code>URL</code> above and it worked. It shows me WSDL file for my remote object. In my <code>Client Project</code> which is an asp.net web application hosted in <code>IIS 7.5</code>, when I instantiate the remote object using following:</p> <p><code>Activator.GetObject()</code></p> <p>It successfully instantiates, but when I use this proxy of remote to call its method, it does not reach up to that method and returns immediately.</p> <p>Can some one please help me knowing, how can I at least debug it and see, what's happening. Why it is not reaching to the remote object method?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload