Closed tossnet closed 4 years ago
Thanks for contacting us. Try to change the logging level to Debug
and that should produce the underlying exception causing this. Let us know if there is something unexpected there.
I change the logging level to Debug in both appsettings.json and appsettings.Development.json to be sure. But strangely no additional information. The content of the fileWould you like the content of vscode-edge-debug.txt could help ?
The additional logs should show up in the ASP.NET Core Web server
tab in the output window.
Okay. Sorry about that. I was looking in the wrong place. Here is the result :
Starting IIS Express ... Successfully registered URL "http://localhost:51217/" for site "PlanningWeb" application "/" Successfully registered URL "https://localhost:44311/" for site "PlanningWeb" application "/" Registration completed for site "PlanningWeb" IIS Express is running. dbug: Microsoft.Extensions.Hosting.Internal.Host[1] Hosting starting info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[63] User profile is available. Using 'C:\Users\chris\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37] Reading data from file 'C:\Users\chris\AppData\Local\ASP.NET\DataProtection-Keys\key-308ef2e6-8168-4eba-8cab-d31442ff52a8.xml'. dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37] Reading data from file 'C:\Users\chris\AppData\Local\ASP.NET\DataProtection-Keys\key-6c32a41d-ef8e-4e11-8d2d-aed1e389ee5e.xml'. dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37] Reading data from file 'C:\Users\chris\AppData\Local\ASP.NET\DataProtection-Keys\key-a21e584b-af88-4eab-b43c-f7d517f48efb.xml'. dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37] Reading data from file 'C:\Users\chris\AppData\Local\ASP.NET\DataProtection-Keys\key-d714966e-7be9-4174-bf42-83dbebaface4.xml'. dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37] Reading data from file 'C:\Users\chris\AppData\Local\ASP.NET\DataProtection-Keys\key-f89941b0-9ea7-47b1-9144-d11fb5529ab3.xml'. dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18] Found key {308ef2e6-8168-4eba-8cab-d31442ff52a8}. dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18] Found key {6c32a41d-ef8e-4e11-8d2d-aed1e389ee5e}. dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18] Found key {a21e584b-af88-4eab-b43c-f7d517f48efb}. dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18] Found key {d714966e-7be9-4174-bf42-83dbebaface4}. dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18] Found key {f89941b0-9ea7-47b1-9144-d11fb5529ab3}. dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver[13] Considering key {d714966e-7be9-4174-bf42-83dbebaface4} with expiration date 2020-10-20 13:43:42Z as default key. dbug: Microsoft.AspNetCore.DataProtection.TypeForwardingActivator[0] Forwarded activator type request from Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlDecryptor, Microsoft.AspNetCore.DataProtection, Version=3.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 to Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlDecryptor, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60 dbug: Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlDecryptor[51] Decrypting secret element using Windows DPAPI. dbug: Microsoft.AspNetCore.DataProtection.TypeForwardingActivator[0] Forwarded activator type request from Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Version=3.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 to Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60 dbug: Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngCbcAuthenticatedEncryptorFactory[4] Opening CNG algorithm 'AES' from provider '(null)' with chaining mode CBC. dbug: Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngCbcAuthenticatedEncryptorFactory[3] Opening CNG algorithm 'SHA256' from provider '(null)' with HMAC. dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider[2] Using key {d714966e-7be9-4174-bf42-83dbebaface4} as the default key. dbug: Microsoft.AspNetCore.DataProtection.Internal.DataProtectionHostedService[65] Key ring with default key {d714966e-7be9-4174-bf42-83dbebaface4} was loaded during application startup. info: PlanningWeb.Startup[0] In Development. dbug: Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver[1] Registered SignalR Protocol: json, implemented by Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol. dbug: Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver[1] Registered SignalR Protocol: blazorpack, implemented by Microsoft.AspNetCore.Components.Server.BlazorPack.BlazorPackHubProtocol. dbug: Microsoft.AspNetCore.Hosting.Diagnostics[0] Loaded hosting startup assembly PlanningWeb 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:\VSO\PlanningWeb\PlanningWeb dbug: Microsoft.Extensions.Hosting.Internal.Host[2] Hosting started dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17437937814623748113" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/_framework/blazor.server.js - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/ - - dbug: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[0] Wildcard detected, all requests with hosts will be allowed. dbug: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[0] Wildcard detected, all requests with hosts will be allowed. dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[4] The request path / does not match a supported file type dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[5] The request path /_framework/blazor.server.js does not match an existing file dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[4] The request path / does not match a supported file type info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[6] The file /_framework/blazor.server.js was not modified dbug: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler[3] Initializing Razor view compiler with compiled view: '/Pages/_Host.cshtml'. dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[8] Handled. Status code: 304 File: /_framework/blazor.server.js info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/_framework/blazor.server.js - - - 0 - application/javascript 24.8822ms dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1001] 2 candidate(s) found for the request path '/' dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005] Endpoint 'Page: /_Host' with route pattern '' is valid for the request path '/' dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005] Endpoint 'Fallback {*path:nonfile}' with route pattern '{*path:nonfile}' is valid for the request path '/' dbug: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[1] Request matched endpoint '/_Host' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint '/_Host' dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory[12] Registered model binder providers, in the following order: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider info: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[3] Route matched with {page = "/_Host", action = "", controller = ""}. Executing page /_Host dbug: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1] Execution plan of authorization filters (in the following order): Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.AutoValidateAntiforgeryTokenAuthorizationFilter dbug: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1] Execution plan of resource filters (in the following order): Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter dbug: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1] Execution plan of action filters (in the following order): Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000) dbug: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1] Execution plan of exception filters (in the following order): None dbug: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1] Execution plan of result filters (in the following order): Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter dbug: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[101] Executing page factory for page PlanningWeb.Pages.Pages__Host (PlanningWeb.Views) dbug: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[102] Executed page factory for page PlanningWeb.Pages.Pages__Host (PlanningWeb.Views) info: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[103] Executing an implicit handler method - ModelState is Valid info: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[104] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult. info: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[4] Executed page /_Host in 100.3739ms info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint '/_Host' dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17798225728978812967" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/ - - - 200 - text/html;+charset=utf-8 200.4880ms info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/_content/Radzen.Blazor/css/default-base.css - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/css/site.css - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/css/bootstrap/bootstrap.min.css - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/css/planning.css - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/_content/Radzen.Blazor/Radzen.Blazor.js - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/_content/Blazor.ContextMenu/blazorContextMenu.min.css - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/css/spinkit.css - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/_content/MatBlazor/dist/matBlazor.css - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/_content/MatBlazor/dist/matBlazor.js - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/_content/BlazorColorPicker/colorpicker.css - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/_content/Blazor.ContextMenu/blazorContextMenu.min.js - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/js/eblm.js - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/_content/BlazorCaptcha/captcha.css - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/_content/BlazorDateRangePicker/clickAndPositionHandler.js - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/js/browser-resize.js - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/_content/BlazorDateRangePicker/daterangepicker.min.css - - info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/_content/BlazorCaptcha/captcha.css'. Physical path: 'C:\Users\chris\.nuget\packages\blazorcaptcha\1.0.1\staticwebassets\captcha.css' info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/js/browser-resize.js'. Physical path: 'D:\VSO\PlanningWeb\PlanningWeb\wwwroot\js\browser-resize.js' info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/_content/BlazorColorPicker/colorpicker.css'. Physical path: 'C:\Users\chris\.nuget\packages\blazorcolorpicker\1.0.9\staticwebassets\colorpicker.css' info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/js/eblm.js'. Physical path: 'D:\VSO\PlanningWeb\PlanningWeb\wwwroot\js\eblm.js' info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/_content/Blazor.ContextMenu/blazorContextMenu.min.css'. Physical path: 'C:\Users\chris\.nuget\packages\blazor.contextmenu\1.7.0\staticwebassets\blazorContextMenu.min.css' info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/_content/Blazor.ContextMenu/blazorContextMenu.min.js'. Physical path: 'C:\Users\chris\.nuget\packages\blazor.contextmenu\1.7.0\staticwebassets\blazorContextMenu.min.js' info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/_content/BlazorDateRangePicker/clickAndPositionHandler.js'. Physical path: 'C:\Users\chris\.nuget\packages\blazordaterangepicker\3.0.0-rc1-01\staticwebassets\clickAndPositionHandler.js' info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/_content/BlazorDateRangePicker/daterangepicker.min.css'. Physical path: 'C:\Users\chris\.nuget\packages\blazordaterangepicker\3.0.0-rc1-01\staticwebassets\daterangepicker.min.css' info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/css/spinkit.css'. Physical path: 'D:\VSO\PlanningWeb\PlanningWeb\wwwroot\css\spinkit.css' info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/css/planning.css'. Physical path: 'D:\VSO\PlanningWeb\PlanningWeb\wwwroot\css\planning.css' info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/_framework/blazor.server.js - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/js/saveAsFile.js - - info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/css/site.css'. Physical path: 'D:\VSO\PlanningWeb\PlanningWeb\wwwroot\css\site.css' info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/css/open-iconic/font/css/open-iconic-bootstrap.min.css - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/css/base.css - - dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17005592203151540233" disconnecting. dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17870283383146283064" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/_content/BlazorCaptcha/captcha.css - - - 200 343 text/css 64.6473ms dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17726168143530819597" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/css/spinkit.css - - - 200 1073 text/css 89.4088ms dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17726168195070427186" disconnecting. dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17726168160710688836" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/_content/Blazor.ContextMenu/blazorContextMenu.min.css - - - 200 2847 text/css 100.4866ms info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/_content/BlazorColorPicker/colorpicker.css - - - 200 2225 text/css 73.6354ms dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "18158513759297994771" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/css/site.css - - - 200 3546 text/css 116.9160ms info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/css/base.css'. Physical path: 'D:\VSO\PlanningWeb\PlanningWeb\wwwroot\css\base.css' info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/css/planning.css - - - 200 8636 text/css 127.2158ms dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17437937793148911625" disconnecting. info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/css/open-iconic/font/css/open-iconic-bootstrap.min.css'. Physical path: 'D:\VSO\PlanningWeb\PlanningWeb\wwwroot\css\open-iconic\font\css\open-iconic-bootstrap.min.css' info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/css/base.css - - - 200 2106 text/css 36.0025ms info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/css/open-iconic/font/css/open-iconic-bootstrap.min.css - - - 200 9395 text/css 39.1510ms dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "18302628887244308520" disconnecting. info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/css/bootstrap/bootstrap.min.css'. Physical path: 'D:\VSO\PlanningWeb\PlanningWeb\wwwroot\css\bootstrap\bootstrap.min.css' info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/_content/Radzen.Blazor/Radzen.Blazor.js'. Physical path: 'C:\Users\chris\.nuget\packages\radzen.blazor\2.13.0\staticwebassets\Radzen.Blazor.js' dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[5] The request path /_framework/blazor.server.js does not match an existing file info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/_content/Radzen.Blazor/css/default-base.css'. Physical path: 'C:\Users\chris\.nuget\packages\radzen.blazor\2.13.0\staticwebassets\css\default-base.css' info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/_content/MatBlazor/dist/matBlazor.js'. Physical path: 'C:\Users\chris\.nuget\packages\matblazor\2.7.0\staticwebassets\dist\matBlazor.js' dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17437937771674075175" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/_content/Radzen.Blazor/Radzen.Blazor.js - - - 200 21802 application/javascript 153.3671ms dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17798225728978812969" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/_content/Radzen.Blazor/css/default-base.css - - - 200 110828 text/css 163.6325ms dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17077649801484435461" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/_content/MatBlazor/dist/matBlazor.js - - - 200 365959 application/javascript 127.1026ms dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17437937775969042437" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/js/browser-resize.js - - - 200 135 application/javascript 129.3301ms info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/js/saveAsFile.js'. Physical path: 'D:\VSO\PlanningWeb\PlanningWeb\wwwroot\js\saveAsFile.js' dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17654110558082826281" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/js/saveAsFile.js - - - 200 291 application/javascript 82.2950ms info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/_content/MatBlazor/dist/matBlazor.css'. Physical path: 'C:\Users\chris\.nuget\packages\matblazor\2.7.0\staticwebassets\dist\matBlazor.css' dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17798225763338551311" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/css/bootstrap/bootstrap.min.css - - - 200 159521 text/css 184.4476ms dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17437937814623748115" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/_content/MatBlazor/dist/matBlazor.css - - - 200 456406 text/css 145.2568ms info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/_framework/blazor.server.js'. Physical path: 'N/A' info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/js/eblm.js - - - 200 149 application/javascript 147.8046ms dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17726168134940885001" disconnecting. dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17798225789108355079" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/_content/BlazorDateRangePicker/clickAndPositionHandler.js - - - 200 5842 application/javascript 154.6214ms dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17509995412956643341" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/_content/BlazorDateRangePicker/daterangepicker.min.css - - - 200 6580 text/css 152.7385ms dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17582052964044898311" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/_framework/blazor.server.js - - - 200 245805 application/javascript 108.4179ms info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/_content/Blazor.ContextMenu/blazorContextMenu.min.js - - - 200 3659 application/javascript 162.0599ms dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17509995370006970373" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 POST https://localhost:44311/_blazor/negotiate?negotiateVersion=1 text/plain;charset=UTF-8 0 dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[1] POST requests are not supported dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[1] POST requests are not supported dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1001] 2 candidate(s) found for the request path '/_blazor/negotiate' dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005] Endpoint '/_blazor/negotiate' with route pattern '/_blazor/negotiate' is valid for the request path '/_blazor/negotiate' dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005] Endpoint 'Fallback {*path:nonfile}' with route pattern '{*path:nonfile}' is valid for the request path '/_blazor/negotiate' dbug: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[1] Request matched endpoint '/_blazor/negotiate' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint '/_blazor/negotiate' dbug: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionManager[1] New connection AyE2JL-v7H1AnMBOLZLo-w created. dbug: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionDispatcher[10] Sending negotiation response. info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint '/_blazor/negotiate' dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17509995412956643343" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 POST https://localhost:44311/_blazor/negotiate?negotiateVersion=1 text/plain;charset=UTF-8 0 - 200 316 application/json 27.3099ms info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/1.1 GET https://localhost:44311/_blazor?id=uOf9_4kf81q45-Jub81lpQ - - dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[4] The request path /_blazor does not match a supported file type info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 GET https://localhost:44311/site.webmanifest - - dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[4] The request path /_blazor does not match a supported file type dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1001] 2 candidate(s) found for the request path '/_blazor' dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005] Endpoint '/_blazor' with route pattern '/_blazor' is valid for the request path '/_blazor' dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005] Endpoint 'Fallback {*path:nonfile}' with route pattern '{*path:nonfile}' is valid for the request path '/_blazor' dbug: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[1] Request matched endpoint '/_blazor' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint '/_blazor' info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/site.webmanifest'. Physical path: 'D:\VSO\PlanningWeb\PlanningWeb\wwwroot\site.webmanifest' dbug: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer[1] Connection ID "17726168134940885003" disconnecting. info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 GET https://localhost:44311/site.webmanifest - - - 200 450 application/manifest+json 9.0132ms dbug: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionDispatcher[4] Establishing new connection. dbug: Microsoft.AspNetCore.SignalR.HubConnectionHandler[5] OnConnectedAsync started. dbug: Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsTransport[1] Socket opened using Sub-Protocol: '(null)'. dbug: Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver[2] Found protocol implementation for requested protocol: blazorpack. dbug: Microsoft.AspNetCore.SignalR.HubConnectionContext[1] Completed connection handshake. Using HubProtocol 'blazorpack'. dbug: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[1] Received hub invocation: InvocationMessage { InvocationId: "0", Target: "StartCircuit", Arguments: [ https://localhost:44311/, https://localhost:44311/, [{"type":"server","sequence":0,"descriptor":"CfDJ8G6WFNfpe3RBv0KD2+uvrOR60FVbAdLFVPqC+Fhbs9UiuDUevdD3ZgtjCBMd+udlyMF1c/rFoa2ENXe3chixJ9KXbceUxTjGGMXgADlu6ZC2PXpbew5MuibJp3trRFPXNn6m3vlH7ooM8UWYrDVSe5DfPKeCKRC8DS3do3xjMA4Vx4BNmz5d8RRq7M0PNMNPXiXsg9YWogd30q6V+DHFfC+/C8ylKTcgfCWg+jUISpv7cHt4CMyPg5WsaMeINiyrrXKR4KocpyjpaxZunrmxhRWxG6rFge6DnlSbsz48F/zinX42+H725tQXTlgy0XZUqyiSCjOGNktda4Yz4lsj9Cs4Sfe7KsaX9zxF4qI0meRO"}] ], StreamIds: [ ] }. dbug: Microsoft.AspNetCore.Components.Server.Circuits.CircuitFactory[1] Created circuit ApcD5kEODZ9y2Zgf-kw0gN1ugmgiTdLUB6wPH_WL4ZE for connection AyE2JL-v7H1AnMBOLZLo-w dbug: Microsoft.AspNetCore.Components.Server.ComponentHub[6] Circuit initialization failed System.MissingMethodException: Method not found: 'System.Runtime.InteropServices.OSPlatform System.Runtime.InteropServices.OSPlatform.get_Browser()'. at Microsoft.AspNetCore.Components.Web.Extensions.ProtectedBrowserStorage..ctor(String storeName, IJSRuntime jsRuntime, IDataProtectionProvider dataProtectionProvider) at Microsoft.AspNetCore.Components.Web.Extensions.ProtectedSessionStorage..ctor(IJSRuntime jsRuntime, IDataProtectionProvider dataProtectionProvider) at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass1_0.<RealizeService>b__0(ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) at Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost.SetCircuitUser(ClaimsPrincipal user) at Microsoft.AspNetCore.Components.Server.Circuits.CircuitFactory.CreateCircuitHost(IReadOnlyList
1 components, CircuitClientProxy client, String baseUri, String uri, ClaimsPrincipal user)
at Microsoft.AspNetCore.Components.Server.ComponentHub.StartCircuit(String baseUri, String uri, String serializedComponentRecords)
dbug: Microsoft.AspNetCore.SignalR.HubConnectionHandler[6]
OnConnectedAsync ending.
dbug: Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsTransport[4]
Waiting for the application to finish sending data.
dbug: Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsTransport[2]
Socket closed.
dbug: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionManager[2]
Removing connection uOf9_4kf81q45-Jub81lpQ from the list of connections.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint '/_blazor'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET https://localhost:44311/_blazor?id=uOf9_4kf81q45-Jub81lpQ - - - 101 - - 147.4891ms`
Thanks. it looks like you're facing some kind of assembly mismatch issue. We recommend reinstalling the latest .NET 5.0 SDK and making sure that you're using the appropriate set of packages. Avoid using global.json - in case that force-downgrades the version to be used by the app.
@tossnet here's the bit that suggests a mismatch:
Microsoft.AspNetCore.Components.Server.ComponentHub[6] Circuit initialization failed System.MissingMethodException: Method not found: 'System.Runtime.InteropServices.OSPlatform System.Runtime.InteropServices.OSPlatform.get_Browser()'. at Microsoft.AspNetCore.Components.Web.Extensions.ProtectedBrowserStorage..ctor(String storeName, IJSRuntime jsRuntime, IDataProtectionProvider dataProtectionProvider)
The API is new to RC1, so I suspect there's a mix of preview8 and RC1 bits in your application.
My application worked perfectly form VS 2019. Previous version .NET5 Preview8. This morning I update to VS2019 Version 16.8.0 Preview 3.0.
I start my app (f5) but unfortunately, an error occurs and I don't find any useful information. I migrated the nuget packages Microsoft. v5.00-preview.8 to v5.00-dc.1.2045* without result.
For information, in the _Host.cstml, I never change the base :
<base href="~/" />
The only information I have is on the output window :
Further technical details
ASP.NET Core version: 5.0.0-rc.1 IDE: Visual Studio 2019 16.8.0 preview 3.0 Include the output of dotnet --info