Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception: The process cannot access the file '...\AzureDay\AzureDay-Global\src\layout\partials\header.hjs' because it is being used by another process #44

Open
boyko-helen opened this issue Jul 23, 2018 · 0 comments
Labels

Comments

@boyko-helen
Copy link
Member

OS: Windows 8
Release: v0.2

Unhandled Exception: System.AggregateException: One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (The process cannot access the file '...\AzureDay\AzureDay-Global\src\layout\partials\header.hjs' because it is being used by another process.))) ---> System.AggregateException: One or more errors occurred. (One or more errors occurred. (The process cannot access the file '...\AzureDay\AzureDay-Global\src\layout\partials\header.hjs' because it is being used by another process.)) ---> System.AggregateException: One or more errors occurred. (The process cannot access the file '...\AzureDay\AzureDay-Global\src\layout\partials\header.hjs' because it is being used by another process.) ---> System.IO.IOException: The process
cannot access the file '...\AzureDay\AzureDay-Global\src\layout\partials\header.hjs' because it is being used by another process.
   at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at SolidifyProject.Engine.Services.ContentReaderService.FileSystemTextContentReaderService`1.<LoadContentByIdAsync>d__1.MoveNext() in /opt/vsts/work/1/s/src/SolidifyProject.Engine.Services/ContentReaderService/FileSystemTextContentReaderService.cs:line 23
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at SolidifyProject.Engine.Services.TemplateService.MustacheTemplateService.loadTemplate(String name) in /opt/vsts/work/1/s/src/SolidifyProject.Engine.Services/TemplateService/MustacheTemplateService.cs:line 53
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Lazy`1.CreateValue()
   at SolidifyProject.Engine.Utils.Cache.LazyCache`1.<GetFromCacheAsync>d__4.MoveNext() in /opt/vsts/work/1/s/src/SolidifyProject.Engine.Utils/Cache/LazyCache.cs:line 24
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at SolidifyProject.Engine.Services.TemplateService.MustacheTemplateService.getTemplate(String key) in /opt/vsts/work/1/s/src/SolidifyProject.Engine.Services/TemplateService/MustacheTemplateService.cs:line 66
   at Nustache.Core.RenderContext.Include(String templateName, String indent)
   at Nustache.Core.Section.RenderParts(RenderContext context)
   at Nustache.Core.Template.Render(Object data, TextWriter writer, TemplateLocator templateLocator, RenderContextBehaviour renderContextBehaviour)
   at Nustache.Core.Render.StringToString(String template, Object data, TemplateLocator templateLocator, RenderContextBehaviour renderContextBehaviour)
   at SolidifyProject.Engine.Services.TemplateService.MustacheTemplateService.RenderTemplateAsync(String template, PageModel pageModel, ExpandoObject dataModel) in /opt/vsts/work/1/s/src/SolidifyProject.Engine.Services/TemplateService/MustacheTemplateService.cs:line 38
   at SolidifyProject.Engine.Infrastructure.Services.OrchestrationService.<ProcessPageByIdAsync>d__41.MoveNext() in /opt/vsts/work/1/s/src/SolidifyProject.Engine.Infrastructure/Services/OrchestrationService.cs:line 68
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant