Server Error in '/' Application.

The magic number in GZip header is not correct. Make sure you are passing in a GZip stream.

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.IO.InvalidDataException: The magic number in GZip header is not correct. Make sure you are passing in a GZip stream.

Source Error:

Line 149: Line 150: public string sms_deliver(string smsid) { Line 151: return base.Channel.sms_deliver(smsid); Line 152: } Line 153:

Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\root\7612fa20\7eba5129\App_WebReferences.e4v agn_t.0.cs Line: 151

Stack Trace:

[InvalidDataException: The magic number in GZip header is not correct. Make sure you are passing in a GZip stream.] System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessage(IMessage reqMsg, IMessage retMsg) +10618895 System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData& msgData, Int32 type) +336 sms_service.sms_webservicePort.sms_deliver(String smsid) +0 sms_service.sms_webservicePortClient.sms_deliver(S tring smsid) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\root\7612fa20\7eba5129\App_WebReferences.e4v agn_t.0.cs:151 delivery_report.show_delivery_report(Int32 _cp) in d:\hosts\arax-sms.ir\httpdocs\delivery_report.aspx.cs:160 delivery_report.Page_Load(Object sender, EventArgs e) in d:\hosts\arax-sms.ir\httpdocs\delivery_report.aspx.cs:244 System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +92 System.Web.UI.Control.LoadRecursive() +54 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18045