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

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Apr 2007
Posts: 370
Reputation: greeny_1984 is an unknown quantity at this point 
Solved Threads: 29
greeny_1984's Avatar
greeny_1984 greeny_1984 is offline Offline
Posting Whiz

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

 
0
  #1
Apr 11th, 2007
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

Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC