Server Error in '/AVBrothers' Application.

The request failed with HTTP status 404: Not Found.

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.WebException: The request failed with HTTP status 404: Not Found.

Source Error: 

Line 45:         [return: System.Xml.Serialization.SoapElementAttribute("status")]
Line 46:         public string sendSMSToMany(string uid, string pwd, string phone, string msg) {
Line 47:             object[] results = this.Invoke("sendSMSToMany", new object[] {
Line 48:                         uid,
Line 49:                         pwd,

Source File: c:\Users\Star\AppData\Local\Temp\Temporary ASP.NET Files\avbrothers\692ee8e0\2a2d15e5\App_WebReferences.j-j9x2j8.0.cs    Line: 47 

Stack Trace: 

[WebException: The request failed with HTTP status 404: Not Found.]
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +431237
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
   Way2sms.SendSMS.sendSMSToMany(String uid, String pwd, String phone, String msg) in c:\Users\Star\AppData\Local\Temp\Temporary ASP.NET Files\avbrothers\692ee8e0\2a2d15e5\App_WebReferences.j-j9x2j8.0.cs:47
   message.Button1_Click(Object sender, EventArgs e) in c:\Users\Star\Desktop\AVBrothers\message.aspx.cs:57
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

Recommended Answers

All 4 Replies

Hard to pinpoint without code, but this "The request failed with HTTP status 404: Not Found." means you specified an invalid URL.

message.Button1_Click(Object sender, EventArgs e) in c:\Users\Star\Desktop\AVBrothers\message.aspx.cs:57

You may want to check on the message.aspx.cs (I assume the code behind file). You may have the reference to the URL that is generating the 404 (Page not found) error.

thanx 2 all of U

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.