944,049 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 6497
  • ASP.NET RSS
Apr 11th, 2007
0

An unhandled exception of type 'System.Net.Sockets.SocketException' error

Expand Post »
hi everyone,
iam a newbie in asp.net,i am doing a small remoting application where i have a login page in the client side and the code is like this
privatevoid button1_Click(object sender, System.EventArgs e)
{
remoteinterface.Class1.RI x;
x=(remoteinterface.Class1.RI) Activator.GetObject(typeof(remoteinterface.Class1.RI),"tcp://localhost:1120/abc");

bool b=x.checkuser(textBox1.Text,textBox2.Text);
MessageBox.Show(b.ToString());
}
}server side program is running well but in the client side iam getting error asAn unhandled exception of type 'System.Net.Sockets.SocketException' occurred in mscorlib.dll
Additional information: No connection could be made because the target machine actively refused it. waiting for u r replies

Reputation Points: 25
Solved Threads: 29
Posting Whiz
greeny_1984 is offline Offline
372 posts
since Apr 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Retaining highest res. of a photo in upload?
Next Thread in ASP.NET Forum Timeline: How to display a simple Access DB





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC