System.IO.IOException: Процесс не может получить доступ к файлу "D:\WWW\017_Ekaterinodartour\Portals\0\NBSTemp\lmLZDCZpvbhk", так как этот файл используется другим процессом.
в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
в System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
в System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
в System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
в System.IO.StreamReader..ctor(String path)
в System.IO.File.OpenText(String path)
в NBrightCore.common.Utils.ReadFile(String filePath)
в Nevoweb.DNN.NBrightBuy.Components.NavigationData.Get()
в NBrightBuy.render.NBrightBuyRazorTokens`1.PageSizeDropDownList(String datatext, NBrightRazor model, String cssclass)
в CompiledRazorTemplates.Dynamic.RazorEngine_2c590e2144564d53adf3c5b71050eae2.Execute()
в RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
в RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
в RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.
b__0(TextWriter writer)
в RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
в Nevoweb.DNN.NBrightBuy.Components.NBrightBuyUtils.RazorRender(Object info, String razorTempl, String templateKey, Boolean debugMode)