info: Microsoft.Hosting.Lifetime[0]

      Application started. Press Ctrl+C to shut down.

info: Microsoft.Hosting.Lifetime[0]

      Hosting environment: Development

info: Microsoft.Hosting.Lifetime[0]

      Content root path: D:\安勤\AMESCoreStudio.Web

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IAuth.LogicalHandler[100]

      Start processing HTTP request POST http://127.0.0.1:5000/api/Auth/Login

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IAuth.ClientHandler[100]

      Sending HTTP request POST http://127.0.0.1:5000/api/Auth/Login

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IAuth.ClientHandler[101]

      Received HTTP response after 3085.6461ms - OK

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IAuth.LogicalHandler[101]

      End processing HTTP request after 3095.5834ms - OK

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IAuth.LogicalHandler[100]

      Start processing HTTP request GET http://127.0.0.1:5000/api/Auth

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IAuth.ClientHandler[100]

      Sending HTTP request GET http://127.0.0.1:5000/api/Auth

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IAuth.ClientHandler[101]

      Received HTTP response after 65.6186ms - OK

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IAuth.LogicalHandler[101]

      End processing HTTP request after 69.5632ms - OK

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.LogicalHandler[100]

      Start processing HTTP request GET http://127.0.0.1:5000/api/UserInfoes/6

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.ClientHandler[100]

      Sending HTTP request GET http://127.0.0.1:5000/api/UserInfoes/6

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.ClientHandler[101]

      Received HTTP response after 61.7602ms - OK

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.LogicalHandler[101]

      End processing HTTP request after 72.1864ms - OK

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.LogicalHandler[100]

      Start processing HTTP request GET http://127.0.0.1:5000/api/UserRoles/User/6?page=0&limit=10

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.ClientHandler[100]

      Sending HTTP request GET http://127.0.0.1:5000/api/UserRoles/User/6?page=0&limit=10

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.ClientHandler[101]

      Received HTTP response after 142.346ms - OK

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.LogicalHandler[101]

      End processing HTTP request after 147.6452ms - OK

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.LogicalHandler[100]

      Start processing HTTP request GET http://127.0.0.1:5000/api/RoleModules/User/6?page=0&limit=10

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.ClientHandler[100]

      Sending HTTP request GET http://127.0.0.1:5000/api/RoleModules/User/6?page=0&limit=10

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.ClientHandler[101]

      Received HTTP response after 182.9515ms - OK

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.LogicalHandler[101]

      End processing HTTP request after 187.5336ms - OK

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.LogicalHandler[100]

      Start processing HTTP request GET http://127.0.0.1:5000/api/RolePrograms/User/6?page=0&limit=10

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.ClientHandler[100]

      Sending HTTP request GET http://127.0.0.1:5000/api/RolePrograms/User/6?page=0&limit=10

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.ClientHandler[101]

      Received HTTP response after 206.5677ms - OK

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.ISYS.LogicalHandler[101]

      End processing HTTP request after 211.5391ms - OK

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IBAS.LogicalHandler[100]

      Start processing HTTP request GET http://127.0.0.1:5000/api/FactoryUnits

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IBAS.ClientHandler[100]

      Sending HTTP request GET http://127.0.0.1:5000/api/FactoryUnits

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IBAS.ClientHandler[101]

      Received HTTP response after 72.877ms - OK

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IBAS.LogicalHandler[101]

      End processing HTTP request after 79.5723ms - OK

fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]

      An unhandled exception has occurred while executing the request.

System.NullReferenceException: Object reference not set to an instance of an object.

   at AspNetCore.Views_WHS_WHS003.ExecuteAsync() in D:\安勤\AMESCoreStudio.Web\Views\WHS\WHS003.cshtml:line 58

   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)

   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)

   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)

   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)

   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)

   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ActionContext actionContext, IView view, ViewDataDictionary viewData, ITempDataDictionary tempData, String contentType, Nullable`1 statusCode)

   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync(ActionContext context, ViewResult result)

   at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync(ActionContext context)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|29_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()

--- End of stack trace from previous location where exception was thrown ---

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)

   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)

   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)

   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)

   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)

   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)

   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)

   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IBAS.LogicalHandler[100]

      Start processing HTTP request GET http://127.0.0.1:5000/api/FactoryUnits

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IBAS.ClientHandler[100]

      Sending HTTP request GET http://127.0.0.1:5000/api/FactoryUnits

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IBAS.ClientHandler[101]

      Received HTTP response after 47.9631ms - OK

info: System.Net.Http.HttpClient.AMESCoreStudio.Web.IBAS.LogicalHandler[101]

      End processing HTTP request after 52.1951ms - OK

fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]

      An unhandled exception has occurred while executing the request.

Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.CompilationFailedException: One or more compilation failures occurred:

D:\安勤\AMESCoreStudio.Web\Views\WHS\WHS003.cshtml(80,125): error CS0122: 'i' 由於其保護層級之故,所以無法存取。

D:\安勤\AMESCoreStudio.Web\Views\WHS\WHS003.cshtml(84,125): error CS0122: 'i' 由於其保護層級之故,所以無法存取。

   at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(RazorCodeDocument codeDocument, String generatedCode)

   at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(String relativePath)

   at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.OnCacheMiss(String normalizedPath)

--- End of stack trace from previous location where exception was thrown ---

   at Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultRazorPageFactoryProvider.CreateFactory(String relativePath)

   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.CreateCacheResult(HashSet`1 expirationTokens, String relativePath, Boolean isMainPage)

   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.OnCacheMiss(ViewLocationExpanderContext expanderContext, ViewLocationCacheKey cacheKey)

   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.LocatePageFromViewLocations(ActionContext actionContext, String pageName, Boolean isMainPage)

   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.FindView(ActionContext context, String viewName, Boolean isMainPage)

   at Microsoft.AspNetCore.Mvc.ViewEngines.CompositeViewEngine.FindView(ActionContext context, String viewName, Boolean isMainPage)

   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.FindView(ActionContext actionContext, ViewResult viewResult)

   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync(ActionContext context, ViewResult result)

   at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync(ActionContext context)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|29_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()

--- End of stack trace from previous location where exception was thrown ---

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)

   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)

   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)

   at Microsoft.AspNetCore.Session.Sessi