C# Twilio单击呼叫csharp-首次启动后出现内部500错误

C# Twilio单击呼叫csharp-首次启动后出现内部500错误,c#,twilio,C#,Twilio,设置正确的“TwilioAccountSID”、“TwilioAuthToken”和“TwilionNumber”后,网页会显示“呼叫您时出现问题-请稍后重试”。我可以在其他应用程序中使用其他Twilio功能,但ClickToCall不起作用。它不会拨出任何一个号码 项目示例: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 8/24/2017 11:53:34 AM Even

设置正确的“TwilioAccountSID”、“TwilioAuthToken”和“TwilionNumber”后,网页会显示“呼叫您时出现问题-请稍后重试”。我可以在其他应用程序中使用其他Twilio功能,但ClickToCall不起作用。它不会拨出任何一个号码

项目示例:

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 8/24/2017 11:53:34 AM 
Event time (UTC): 8/24/2017 3:53:34 PM 
Event ID: 9b90d28d894f41a09a832ce672308828 
Event sequence: 13 
Event occurrence: 1 
Event detail code: 0 

Application information: 
    Application domain: /LM/W3SVC/2/ROOT-1-131480635887199949 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\ 
    Machine name: DEV-103 

Process information: 
    Process ID: 74140 
    Process name: iisexpress.exe 
    Account name: DEV-103\Rhodes 

Exception information: 
    Exception type: NullReferenceException 
    Exception message: Object reference not set to an instance of an object.
   at ClickToCall.Web.Controllers.CallCenterController.<>c__DisplayClass7_0.<IsProduction>b__0(String domain) in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 68
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at ClickToCall.Web.Controllers.CallCenterController.IsProduction() in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 68
   at ClickToCall.Web.Controllers.CallCenterController.GetUri(String salesNumber) in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 54
   at ClickToCall.Web.Controllers.CallCenterController.<Call>d__5.MoveNext() in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 46
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeAsynchronousActionMethod>b__36(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.<BeginExecute>b__15(IAsyncResult asyncResult, Controller controller)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
   at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



Request information: 
    Request URL: http://localhost:1430/CallCenter/Call 
    Request path: /CallCenter/Call 
    User host address: ::1 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: DEV-103\Rhodes 

Thread information: 
    Thread ID: 8 
    Thread account name: DEV-103\Rhodes 
    Is impersonating: False 
    Stack trace:    at ClickToCall.Web.Controllers.CallCenterController.<>c__DisplayClass7_0.<IsProduction>b__0(String domain) in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 68
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at ClickToCall.Web.Controllers.CallCenterController.IsProduction() in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 68
   at ClickToCall.Web.Controllers.CallCenterController.GetUri(String salesNumber) in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 54
   at ClickToCall.Web.Controllers.CallCenterController.<Call>d__5.MoveNext() in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 46
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeAsynchronousActionMethod>b__36(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.<BeginExecute>b__15(IAsyncResult asyncResult, Controller controller)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
   at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

在Firefox中登录控制台:

不推荐使用getPreventDefault()。防止使用默认值 相反jquery-1.10.2.js:5375:28 XML解析错误:没有根元素 找到位置: 第1行第1列:中止:1:1 POST XHR [HTTP/1.1500内部服务器 错误18ms]响应调用堆栈后的标头 Cache-ControlprivateContent-Length12174Content-Typetext/html; charset=utf-8DateTue,2017年8月22日17:26:58 GMTServerMicrosoft IIS/10.0X-AspNet-Version4.0.30319X-Powered-ByASP.NETX源文件=?UTF-8?B?QZPCVxNLCNCumhvzVzXERVD25SB2FkC1XJBGLJA3RVY2FfsBC1JC2HHCNATCBwFzDgYIcXKVXJBGLJA3RVY2FSBC1JC2HCNATBwFzDgVzWnWnWnWnWnWg9DyWwLdlylXDYWqVudgyXENHBGW== acceptionapplication/json,text/javascript,/;q=0.01接受编码gzip, 泄气的语言让我们,嗯;q=0.5Connectionkeep-aliveContent-Length52Content-Typeapplication/x-www-form-urlencoded; 字符集=UTF-8Hostlocalhost:1430Refererhttp://localhost:1430/User-AgentMozilla/5.0(Windows NT 10.0;WOW64;rv:54.0)Gecko/20100101 Firefox/54.0X-request-WithXMLHttpRequest

换行67:

计算机日志:

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 8/24/2017 11:53:34 AM 
Event time (UTC): 8/24/2017 3:53:34 PM 
Event ID: 9b90d28d894f41a09a832ce672308828 
Event sequence: 13 
Event occurrence: 1 
Event detail code: 0 

Application information: 
    Application domain: /LM/W3SVC/2/ROOT-1-131480635887199949 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\ 
    Machine name: DEV-103 

Process information: 
    Process ID: 74140 
    Process name: iisexpress.exe 
    Account name: DEV-103\Rhodes 

Exception information: 
    Exception type: NullReferenceException 
    Exception message: Object reference not set to an instance of an object.
   at ClickToCall.Web.Controllers.CallCenterController.<>c__DisplayClass7_0.<IsProduction>b__0(String domain) in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 68
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at ClickToCall.Web.Controllers.CallCenterController.IsProduction() in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 68
   at ClickToCall.Web.Controllers.CallCenterController.GetUri(String salesNumber) in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 54
   at ClickToCall.Web.Controllers.CallCenterController.<Call>d__5.MoveNext() in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 46
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeAsynchronousActionMethod>b__36(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.<BeginExecute>b__15(IAsyncResult asyncResult, Controller controller)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
   at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



Request information: 
    Request URL: http://localhost:1430/CallCenter/Call 
    Request path: /CallCenter/Call 
    User host address: ::1 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: DEV-103\Rhodes 

Thread information: 
    Thread ID: 8 
    Thread account name: DEV-103\Rhodes 
    Is impersonating: False 
    Stack trace:    at ClickToCall.Web.Controllers.CallCenterController.<>c__DisplayClass7_0.<IsProduction>b__0(String domain) in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 68
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at ClickToCall.Web.Controllers.CallCenterController.IsProduction() in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 68
   at ClickToCall.Web.Controllers.CallCenterController.GetUri(String salesNumber) in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 54
   at ClickToCall.Web.Controllers.CallCenterController.<Call>d__5.MoveNext() in C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall-csharp-master\ClickToCall.Web\Controllers\CallCenterController.cs:line 46
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeAsynchronousActionMethod>b__36(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.<BeginExecute>b__15(IAsyncResult asyncResult, Controller controller)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
   at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
事件代码:3005
事件消息:发生未处理的异常。
活动时间:2017年8月24日上午11:53:34
活动时间(UTC):2017年8月24日下午3:53:34
事件ID:9b90d28d894f41a09a832ce672308828
事件顺序:13
事件发生率:1
事件详细信息代码:0
申请资料:
应用程序域:/LM/W3SVC/2/ROOT-1-13148063588719949
信任级别:完全信任
应用程序虚拟路径:/
应用程序路径:C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\clicktocall csharp master\clicktocall.Web\
机器名称:DEV-103
过程信息:
进程ID:74140
进程名称:iisexpress.exe
帐户名:DEV-103\Rhodes
例外信息:
异常类型:NullReferenceException
异常消息:对象引用未设置为对象的实例。
在c:\Users\Rhodes\Documents\Visual Studio 2017\Projects\ClickToCall csharp master\ClickToCall.Web\Controllers.CallCenterController.c\uu中显示Class7\u0.b\u0(字符串域):第68行
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source,Func`2谓词)
在C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\ClickToCall csharp master\ClickToCall.Web\Controllers\CallCenterController.IsProduction()中的ClickToCall.Web.Controllers.CallCenterController.IsProduction()处:第68行
在C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\ClickToCall csharp master\ClickToCall.Web\Controller.CallCenterController.GetUri(字符串salesNumber)中的ClickToCall.Web.Controller.CallCenterController.GetUri(字符串salesNumber):第54行
在C:\Users\Rhodes\Documents\Visual Studio 2017\Projects\ClickToCall csharp master\ClickToCall.Web\Controllers.CallCenterController.d\u 5.MoveNext()中,单击调用
---来自引发异常的上一个位置的堆栈结束跟踪---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)
在System.Runtime.CompilerServices.TaskWaiter.HandleNonSuccessAndDebuggerNotification(任务任务)中
位于System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
在System.Web.Mvc.Async.AsyncControllerActionInvoker.c__DisplayClass37.b__36(IAsyncResult asyncResult)
位于System.Web.Mvc.Async.AsyncResultRapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
位于System.Web.Mvc.Async.AsyncResultRapper.WrappedAsyncResultBase`1.End()
位于System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
在System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.b__3d()中
在System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.c__DisplayClass46.b__3f()中
在System.Web.Mvc.Async.AsyncControllerActionInvoker.c__DisplayClass33.b_u 32(IAsyncResult asyncResult)
位于System.Web.Mvc.Async.AsyncResultRapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
位于System.Web.Mvc.Async.AsyncResultRapper.WrappedAsyncResultBase`1.End()
位于System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
在System.Web.Mvc.Async.AsyncControllerActionInvoker.c_uuDisplayClass21.c_uuDisplayClass2B.b_u1C()中
在System.Web.Mvc.Async.AsyncControllerActionInvoker.c__DisplayClass21.b__1e(IAsyncResult asyncResult)
位于System.Web.Mvc.Async.AsyncResultRapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
位于System.Web.Mvc.Async.AsyncResultRapper.WrappedAsyncResultBase`1.End()
位于System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
在System.Web.Mvc.Controller.b_u1d(IAsyncResult asyncResult,ExecuteCoregreat innerState)
位于System.Web.Mvc.Async.AsyncResultRapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
位于System.Web.Mvc.Async.AsyncResultRapper.WrappedAsyncResultBase`1.End()
位于System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
在System.Web.Mvc.Controller.b_uu15上(IAsyncResult asyncResult,Controller)
位于System.Web.Mvc.Async.AsyncResultRapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
位于System.Web.Mvc.Async.AsyncResultRapper.WrappedAsyncResultBase`1.End()
在System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)上
位于System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)
在System.Web上。