954,206 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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

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

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

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You