greeny_1984 14 Posting Whiz

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
private void 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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.