Results 1 to 3 of 3

Thread: Error after uploading to server,please help

  1. #1

    Thread Starter
    Fanatic Member uniquegodwin's Avatar
    Join Date
    Jul 2005
    Location
    Chennai,India
    Posts
    694

    Error after uploading to server,please help

    Can someone pleaseee helppp me with this error...Im struggling for 2 days with this silly thing.
    It just doesn't work after I upload it to the server or use it with IIS on my computer.
    But,otherwise,if I simply run it from Asp.Net 2005,It works perfect,Can someone please help me?
    Thank you so so much....Here is the error...

    Server Error in '/website1' Application.
    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 44: [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/HelloWorld", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
    Line 45: public string HelloWorld() {
    Line 46: object[] results = this.Invoke("HelloWorld", new object[0]);
    Line 47: return ((string)(results[0]));
    Line 48: }


    Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\05106d39\7eca5b4e\App_WebReferences._zgxp8ri.0.cs Line: 46

    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) +1002146
    System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +33
    System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Sock
    et& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +431

    [WebException: Unable to connect to the remote server]
    System.Net.HttpWebRequest.GetRequestStream() +1504525
    System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +103
    websrv.Service.HelloWorld() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\05106d39\7eca5b4e\App_WebReferences._zgxp8ri.0.cs:46
    _Default.Button1_Click(Object sender, EventArgs e) in c:\Inetpub\vhosts\cdbyte.com\httpdocs\WebSite1\Default.aspx.cs:20
    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102


    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
    Godwin

    Help someone else with what someone helped you!

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Error after uploading to server,please help

    Firewall on the target machine?

    What is your application doing?

  3. #3

    Thread Starter
    Fanatic Member uniquegodwin's Avatar
    Join Date
    Jul 2005
    Location
    Chennai,India
    Posts
    694

    Re: Error after uploading to server,please help

    No,theres no firewall on the target machine nor on my machine when I tested it using IIS.
    This error comes only when I test it using IIS or on the server.Please help,Thanks
    Godwin

    Help someone else with what someone helped you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width