Server Error in '/' Application.
System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at WxPayAPI.HttpService.Post(String xml, String url, Boolean isUseCert, Int32 timeout) in f:\WxPayAPI\WxPayAPI\lib\HttpService.cs:line 74
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: WxPayAPI.WxPayException: System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at WxPayAPI.HttpService.Post(String xml, String url, Boolean isUseCert, Int32 timeout) in f:\WxPayAPI\WxPayAPI\lib\HttpService.cs:line 74
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[WxPayException: System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at WxPayAPI.HttpService.Post(String xml, String url, Boolean isUseCert, Int32 timeout) in f:\WxPayAPI\WxPayAPI\lib\HttpService.cs:line 74]
WxPayAPI.HttpService.Post(String xml, String url, Boolean isUseCert, Int32 timeout) in f:\WxPayAPI\WxPayAPI\lib\HttpService.cs:100
WxPayAPI.WxPayApi.UnifiedOrder(WxPayData inputObj, Int32 timeOut) in f:\WxPayAPI\WxPayAPI\lib\WxPayApi.cs:399
WxPayAPI.NativePay.GetPayUrl(String productId) in f:\WxPayAPI\WxPayAPI\business\NativePay.cs:52
WxPayAPI.NativePayPage.Page_Load(Object sender, EventArgs e) in f:\WxPayAPI\WxPayAPI\example\NativePayPage.aspx.cs:28
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +61
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1966
Version Information: Microsoft .NET Framework Version:4.0.30128; ASP.NET Version:4.0.30128.1