Skip to content

IIS start website , Hint 400 error

yaozhenzhen edited this page Oct 2, 2019 · 1 revision

“/”应用程序中的服务器错误。 远程服务器返回错误: (400) 错误的请求。 说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Net.WebException: 远程服务器返回错误: (400) 错误的请求。

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:

[WebException: 远程服务器返回错误: (400) 错误的请求。] System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) +729 System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization) +47 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60 Elasticsearch.Net.d__14`1.MoveNext() +2438

[ApplicationException: Error creating the index stacks-v1: Original: (400 - WebException) 远程服务器返回错误: (400) 错误的请求。 Server: (400) Type: mapper_parsing_exception Reason: "Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [stacks : {include_in_all=false, dynamic=false, properties={references={include_in_all=true, type=text}, date_fixed={type=date}, total_occurrences={type=integer}, is_hidden={type=boolean}, is_regressed={type=boolean}, description={include_in_all=true, type=text}, type={type=keyword}, title={include_in_all=true, boost=1.1, type=text}, updated_utc={type=date}, tags={include_in_all=true, boost=1.2, type=text, fields={keyword={ignore_above=256, type=keyword}}}, first_occurrence={type=date}, last_occurrence={type=date}, occurrences_are_critical={type=boolean}, project_id={type=keyword}, organization_id={type=keyword}, fixed={type=boolean}, fixed_in_version={type=keyword}, id={type=keyword}, created_utc={type=date}, signature_hash={type=keyword}}}]" CausedBy: "Type: mapper_parsing_exception Reason: "Root mapping definition has unsupported parameters: [stacks : {include_in_all=false, dynamic=false, properties={references={include_in_all=true, type=text}, date_fixed={type=date}, total_occurrences={type=integer}, is_hidden={type=boolean}, is_regressed={type=boolean}, description={include_in_all=true, type=text}, type={type=keyword}, title={include_in_all=true, boost=1.1, type=text}, updated_utc={type=date}, tags={include_in_all=true, boost=1.2, type=text, fields={keyword={ignore_above=256, type=keyword}}}, first_occurrence={type=date}, last_occurrence={type=date}, occurrences_are_critical={type=boolean}, project_id={type=keyword}, organization_id={type=keyword}, fixed={type=boolean}, fixed_in_version={type=keyword}, id={type=keyword}, created_utc={type=date}, signature_hash={type=keyword}}}]"" ] Foundatio.Repositories.Elasticsearch.Configuration.d__17.MoveNext() +723 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60 Foundatio.Repositories.Elasticsearch.Configuration.d__18.MoveNext() +1161 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60 Foundatio.Repositories.Elasticsearch.Configuration.d__31.MoveNext() +571 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60 Exceptionless.Core.Extensions.d__1.MoveNext() in C:\projects\exceptionless\src\Exceptionless.Core\Extensions\ContainerExtensions.cs:19 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60 Exceptionless.Api.AppBuilder.Build(IAppBuilder app, Container container) in C:\projects\exceptionless\src\Exceptionless.Api\AppBuilder.cs:97

[TargetInvocationException: 调用的目标发生了异常。] System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +142 Owin.Loader.<>c__DisplayClass12.b__b(IAppBuilder builder) +93 Owin.Loader.<>c__DisplayClass1.b__0(IAppBuilder builder) +212 Microsoft.Owin.Host.SystemWeb.OwinAppContext.Initialize(Action1 startup) +873 Microsoft.Owin.Host.SystemWeb.OwinBuilder.Build(Action1 startup) +51 Microsoft.Owin.Host.SystemWeb.OwinHttpModule.InitializeBlueprint() +101 System.Threading.LazyInitializer.EnsureInitializedCore(T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory) +135 Microsoft.Owin.Host.SystemWeb.OwinHttpModule.Init(HttpApplication context) +160 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +580 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +165 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +267 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +341

[HttpException (0x80004005): 调用的目标发生了异常。] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +523 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +688

版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3429.0

You can’t perform that action at this time.