View Single Post
  #1 (permalink)  
Old August 9th, 2005, 12:48 AM
anurag_singh02 anurag_singh02 is offline
Registered User
 
Join Date: Aug 2005
Location: bangalore, , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default The underlying connection was closed: Unable to co

HI All

I am trying to build a test remoting project. i have created one class library project and build one clsRemote file which returns Hello message. In that i have included one web.config file having <wellknown mode="Singleton" type="clsRemote.Class1, clsRemote" objectUri="PortData.soap" /> where clsRemote is the namespace and class1 having a function Hello.
this class lib is in my local machine and when i try to connect to this class i gets a error that "The underlying connection was closed: Unable to connect to the remote server." pls suggest what may be the prob.
on client side config file i am using <client url="http://localhost:8080/clsRemote">
            <wellknown type="clsRemote.Class1, clsRemote" url="http://localhost:8080/clsRemote/PortData.soap" />
        </client>

rgds,
Anurag

Reply With Quote