none
ASP.NET Remoting RRS feed

  • Question

  • Hi guys,

    I was setting my ASP.NET web with remoting in the web.config, but when i am running the app in Visual Studio 2015 (Community version), I have the exception of "unable to connect to remote server localhost:50001 ....".

    Please help, thanks.

    The web.config is as follow:

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
     <system.runtime.remoting>
      <application>
       <channels>
        <channel ref="http">
         <clientProviders>
          <formatter ref="binary"/>
                <provider type="XXX.YYY.TA.Remoting.CredentialsClientSinkProvider, XXX.YYY.TA"/>
         </clientProviders>
        </channel>
       </channels>
       <client>
         <wellknown type="XXX.YYY.Application.BF.CodeTableBF, XXX.YYY.Application.BF" url="http://localhost:50001/CodeTableBF.rem" />
            <wellknown type="XXX.YYY.Application.BF.PatientMovementBF, XXX.YYY.Application.BF" url="http://localhost:50001/PatientMovementBF.rem" />
            <wellknown type="XXX.YYY.Application.BF.PrescriptionBF, XXX.YYY.Application.BF" url="http://localhost:50001/PrescriptionBF.rem" />
          </client>
      </application>
     </system.runtime.remoting>
    </configuration>

    Friday, August 17, 2018 7:10 AM

All replies

  • How do you know that anything is listening on TCP 50,001?
    Monday, August 20, 2018 8:21 PM
  • Hi Kentan2608,
    According to your description, the post is related to .Net Remote, which has deviated from the forum topic. Please post the thread in the following forum.
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=netfxremoting
    Best Regards
    Abraham
    Tuesday, August 21, 2018 1:14 AM
    Moderator