Click here to Skip to main content
15,899,124 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: IIS alternatives... Pin
originSH7-Aug-07 6:31
originSH7-Aug-07 6:31 
GeneralRe: IIS alternatives... Pin
Rob 387-Aug-07 22:45
Rob 387-Aug-07 22:45 
Questioninterval in dundas charts.. Pin
hkchauhan7-Aug-07 5:07
hkchauhan7-Aug-07 5:07 
Questionhow to reach a UserControl by a Repeater??? Pin
Deeloc7-Aug-07 4:34
Deeloc7-Aug-07 4:34 
AnswerRe: how to reach a UserControl by a Repeater??? Pin
ToddHileHoffer7-Aug-07 7:49
ToddHileHoffer7-Aug-07 7:49 
QuestionRetaining the dynamic controls Pin
sathyanarayanan_v047-Aug-07 4:02
sathyanarayanan_v047-Aug-07 4:02 
AnswerRe: Retaining the dynamic controls Pin
bit_cmdr7-Aug-07 5:42
bit_cmdr7-Aug-07 5:42 
QuestionNo connection could be made because the target machine actively refused it Pin
Daniel_Logan7-Aug-07 4:01
Daniel_Logan7-Aug-07 4:01 
Hi every one. Please help.
I am connecting to a database via a webservice and it works great..
but then i have to connect my GUI via my codebehind page to the webservice and then i get this error.....

Everything works at home on a stand alone computer but not here at college on a networked computer. Can anyone tell me why and what i can do to fix it? Thanks
--------------------------------------------------------------------
error attached
--------------------------------------------------------------------
No connection could be made because the target machine actively refused it
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it

Source Error:


Line 61: string theight,
Line 62: string tphoto) {
Line 63: object[] results = this.Invoke("InsertClient", new object[] {
Line 64: tfirstName,
Line 65: tlastName,


Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\web page\c818c298\b074d3c7\App_WebReferences.qyhgim7u.1.cs Line: 63

Stack Trace:


[SocketException (0x274d): No connection could be made because the target machine actively refused it]
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +200
System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +60
System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +579

[WebException: Unable to connect to the remote server]
System.Net.HttpWebRequest.GetRequestStream() +732
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +176
localhost.WebServ.InsertClient(String tfirstName, String tlastName, Int32 tidNumber, String taddress, String tpostalCode, String tcellPhone, String temail, String tpassword, String tusername, String tquestion, String tanswer, String tgender, String thair, String teyes, String tethnic, String theight, String tphoto) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\web page\c818c298\b074d3c7\App_WebReferences.qyhgim7u.1.cs:63
Reg.cmdSubmit_Click1(Object sender, EventArgs e) in C:\Documents and Settings\craig\Desktop\Web Page\reg.vb:70
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +96
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +116
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +31
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +32
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +72
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3839

GeneralRe: No connection could be made because the target machine actively refused it Pin
Guffa7-Aug-07 4:41
Guffa7-Aug-07 4:41 
QuestionPaging in a DataList Control Pin
postmaster@programmingknowledge.com7-Aug-07 4:00
postmaster@programmingknowledge.com7-Aug-07 4:00 
QuestionGridview Rowcommand - Javascript (window.open) Pin
Md Arif7-Aug-07 3:32
Md Arif7-Aug-07 3:32 
AnswerRe: Gridview Rowcommand - Javascript (window.open) Pin
Imran Khan Pathan7-Aug-07 3:53
Imran Khan Pathan7-Aug-07 3:53 
QuestionAbout SQL server reporting Pin
SNSDeveloper7-Aug-07 3:04
SNSDeveloper7-Aug-07 3:04 
Questionhow can i check the hperlinks in PDF using .Net 2.0 Pin
koolprasad20037-Aug-07 2:30
professionalkoolprasad20037-Aug-07 2:30 
QuestionResolveAssemblyReference Exception Pin
ali bagheri7-Aug-07 2:09
ali bagheri7-Aug-07 2:09 
AnswerRe: ResolveAssemblyReference Exception Pin
Vasudevan Deepak Kumar7-Aug-07 2:11
Vasudevan Deepak Kumar7-Aug-07 2:11 
QuestionDisplaying data on gridview using ASP.NET AJAX Pin
Mamphekgo Bahula7-Aug-07 1:38
Mamphekgo Bahula7-Aug-07 1:38 
AnswerRe: Displaying data on gridview using ASP.NET AJAX Pin
Vasudevan Deepak Kumar7-Aug-07 2:12
Vasudevan Deepak Kumar7-Aug-07 2:12 
GeneralRe: Displaying data on gridview using ASP.NET AJAX Pin
Mamphekgo Bahula7-Aug-07 2:24
Mamphekgo Bahula7-Aug-07 2:24 
GeneralRe: Displaying data on gridview using ASP.NET AJAX Pin
Vasudevan Deepak Kumar7-Aug-07 3:07
Vasudevan Deepak Kumar7-Aug-07 3:07 
QuestionHow to insatll cdo.dll Pin
attalurisubbu7-Aug-07 1:34
attalurisubbu7-Aug-07 1:34 
AnswerRe: How to insatll cdo.dll Pin
Vasudevan Deepak Kumar7-Aug-07 1:42
Vasudevan Deepak Kumar7-Aug-07 1:42 
Questionhow to create aspx page from another aspx page dynamically Pin
santoshkumarB7-Aug-07 1:15
santoshkumarB7-Aug-07 1:15 
AnswerRe: how to create aspx page from another aspx page dynamically Pin
Christian Graus7-Aug-07 1:21
protectorChristian Graus7-Aug-07 1:21 
GeneralRe: how to create aspx page from another aspx page dynamically Pin
Malcolm Smart7-Aug-07 1:27
Malcolm Smart7-Aug-07 1:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.