Server Error in '/' Application.

伺服器無法辨認 HTTP 標頭 SOAPAction 的值: http://tempuri.org/GetTotalCounter。

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.Web.Services.Protocols.SoapException: 伺服器無法辨認 HTTP 標頭 SOAPAction 的值: http://tempuri.org/GetTotalCounter。

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:


[SoapException: 伺服器無法辨認 HTTP 標頭 SOAPAction 的值: http://tempuri.org/GetTotalCounter。]
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +183743
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +221
   TDSMQSer.WebReference.WebService.GetTotalCounter(String pgname) in D:\MVCWeb\TDSMQSer\TDSMQSer\TDSMQSer\Web References\WebReference\Reference.cs:265
   TDSMQSer.MvcApplication.Application_Start() in D:\MVCWeb\TDSMQSer\TDSMQSer\TDSMQSer\Global.asax.cs:19

[HttpException (0x80004005): 伺服器無法辨認 HTTP 標頭 SOAPAction 的值: http://tempuri.org/GetTotalCounter。]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +10109667
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +123
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +181
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +228
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +314

[HttpException (0x80004005): 伺服器無法辨認 HTTP 標頭 SOAPAction 的值: http://tempuri.org/GetTotalCounter。]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10089908
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +99
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +263


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