IndexOutOfRangeException:索引超出数组的范围

时间:2019-05-14 03:01:25

标签: asp.net asp.net-web-api owin spring.net

堆栈

  

System.Web.HttpApplication.GetNotifcationContextProperties(Boolean&isReentry,Int32&eventCount)+12062659
  System.Web.PipelineStepManager.ResumeSteps(异常错误)+252
  System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext上下文,AsyncCallback cb)+121
  System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr,HttpContext上下文)+475

代码

OWINHelper.SpringContext = Spring.Context.Support.ContextRegistry.GetContext();

config.DependencyResolver = new SpringWebApiDependencyResolver(OWINHelper.SpringContext);

0 个答案:

没有答案