| | |
An unhandled exception of type 'System.Net.Sockets.SocketException' error
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
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
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
![]() |
Similar Threads
- COMException error, class not registered (VB.NET)
- use excel in vb.net 2003 (VB.NET)
- An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system. (VB.NET)
- how to save what u type? (VB.NET)
- 'System.Security.Policy.PolicyException' compiler error on shared drive (ASP.NET)
- Error message when passing property changes between forms (VB.NET)
- refresh datagrid causes error if oper scrolled off right side of grid (VB.NET)
- Big Problem, Generic Error (VB.NET)
- c++ debugging error (C++)
Other Threads in the ASP.NET Forum
- Previous Thread: Retaining highest res. of a photo in upload?
- Next Thread: How to display a simple Access DB
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn checkbox class click commonfunctions compatible confirmationcodegeneration content contenttype countryselector courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deadlock development dgv dropdownlist dropdownmenu edit expose flash flv formatdecimal forms formview gridview homeedition iframe iis javascript jquery list listbox login menu microsoft mono mouse mssql multistepregistration nameisnotdeclared news numerical objects order panelmasterpagebuttoncontrols problem radio ratings rotatepage save schoolproject search security serializesmo.table silverlight smartcard sql sql-server sqlserver2005 suse textbox tracking unauthorized validation vb.net video videos virtualdirectory vista visual-studio visualstudio vs2008 web webarchitecture webdevelopemnt webservice wizard xml youareanotmemberofthedebuggerusers





