Fermium-co / Fermium-co/ToDoLine
Could not find wwwroot Folder
- Dominant language
- C#
- Stars
- 11
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
When I Run Web Project Occurs this Exception :
System.IO.DirectoryNotFoundException: Could not find a part of the path '...\\ToDoLine\\ToDoLine\\wwwroot\\index.html'.\r\n at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)\r\n at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)\r\n at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)\r\n at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)\r\n at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)\r\n at System.IO.File.AsyncStreamReader(String path, Encoding encoding)\r\n at System.IO.File.InternalReadAllTextAsync(String path, Encoding encoding, CancellationToken cancellationToken)\r\n at Bit.Owin.Middlewares.IndexPageMiddleware.Invoke(HttpContext context)\r\n at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)\r\n at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)\r\n at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)\r\n at Microsoft.Owin.Mapping.MapMiddleware.Invoke(IDictionary`2 environment) in /_/src/Microsoft.Owin/Mapping/MapMiddleware.cs:line 72\r\n at Microsoft.Owin.Mapping.MapMiddleware.Invoke(IDictionary`2 environment) in /_/src/Microsoft.Owin/Mapping/MapMiddleware.cs:line 72\r\n at Microsoft.Owin.Mapping.MapMiddleware.Invoke(IDictionary`2 environment) in /_/src/Microsoft.Owin/Mapping/MapMiddleware.cs:line 72\r\n at Microsoft.Owin.Mapping.MapMiddleware.Invoke(IDictionary`2 environment) in /_/src/Microsoft.Owin/Mapping/MapMiddleware.cs:line 72\r\n at Microsoft.Owin.Mapping.MapMiddleware.Invoke(IDictionary`2 environment) in /_/src/Microsoft.Owin/Mapping/MapMiddleware.cs:line 72\r\n at Microsoft.AspNetCore.Owin.WebSocketAcceptAdapter.<>c__DisplayClass6_0.<b__0>d.MoveNext()\r\n--- End of stack trace from previous location ---\r\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\r\n at Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1.Invoke(IOwinContext context) in /_/src/Microsoft.Owin.Security/Infrastructure/AuthenticationMiddleware.cs:line 30\r\n at Microsoft.AspNetCore.Owin.WebSocketAcceptAdapter.<>c__DisplayClass6_0.<b__0>d.MoveNext()\r\n--- End of stack trace from previous location ---\r\n at Bit.Owin.Middlewares.DisposePipelineAwareDisposablesMiddleware.Invoke(HttpContext httpContext)\r\n at Bit.Owin.Middlewares.AspNetCoreExceptionHandlerMiddleware.Invoke(HttpContext context)",
"ExceptionAdditionalMessage": "Request-Execution-Exception",
"ExceptionType": "System.IO.DirectoryNotFoundException",
"ExceptionTypeAssemblyQualifiedName": "System.IO.DirectoryNotFoundException, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.