App designed to help you keep track of how things progress in your Genshin Impact adventure
MIT License
2
stars
0
forks
source link
Fix System.IO.IOException: The process cannot access the file 'C:\Users\USER\AppData\Local\GenshinCompanion\Banners\NoviceBanner.db' because it is being used by another process. in FileStreamFactory.GetStream (Boolean canWrite, Boolean sequencial) #20
GenshinCompanion.Modules.BannersModule.Models.Banner.OpenDB(BindingList`1 wishList) in D:\Git\GenshinCompanion\src\Modules\GenshinCompanion.Modules.BannersModule\Models\Banner.cs:line 322;GenshinCompanion.Modules.BannersModule.Models
GenshinCompanion.Modules.BannersModule.Models.Banner.Open() in D:\Git\GenshinCompanion\src\Modules\GenshinCompanion.Modules.BannersModule\Models\Banner.cs:line 313;GenshinCompanion.Modules.BannersModule.Models
GenshinCompanion.Modules.BannersModule.ViewModels.BannersViewModel._OpenBanners() in D:\Git\GenshinCompanion\src\Modules\GenshinCompanion.Modules.BannersModule\ViewModels\BannersViewModel.cs:line 179;GenshinCompanion.Modules.BannersModule.ViewModels
System.IO.IOException: The process cannot access the file 'C:\Users\USER\AppData\Local\GenshinCompanion\Banners\NoviceBanner.db' because it is being used by another process.
Version 1.2.0(1.2.0.0)
Stacktrace
LiteDB.Engine.FileStreamFactory.GetStream(Boolean canWrite, Boolean sequencial);LiteDB.Engine
LiteDB.Engine.StreamPool.<>c__DisplayClass3_0.<.ctor>b__0();LiteDB.Engine.StreamPool
LiteDB.Engine.StreamPool.get_Writer();LiteDB.Engine
LiteDB.Engine.DiskService..ctor(EngineSettings settings, Int32[] memorySegmentSizes);LiteDB.Engine.DiskService
LiteDB.Engine.LiteEngine..ctor(EngineSettings settings);LiteDB.Engine.LiteEngine
LiteDB.ConnectionString.CreateEngine();LiteDB
LiteDB.LiteDatabase..ctor(ConnectionString connectionString, BsonMapper mapper);LiteDB.LiteDatabase
LiteDB.LiteDatabase..ctor(String connectionString, BsonMapper mapper);LiteDB.LiteDatabase
GenshinCompanion.Modules.BannersModule.Models.Banner.OpenDB(BindingList`1 wishList) in D:\Git\GenshinCompanion\src\Modules\GenshinCompanion.Modules.BannersModule\Models\Banner.cs:line 322;GenshinCompanion.Modules.BannersModule.Models
GenshinCompanion.Modules.BannersModule.Models.Banner.Open() in D:\Git\GenshinCompanion\src\Modules\GenshinCompanion.Modules.BannersModule\Models\Banner.cs:line 313;GenshinCompanion.Modules.BannersModule.Models
GenshinCompanion.Modules.BannersModule.ViewModels.BannersViewModel._OpenBanners() in D:\Git\GenshinCompanion\src\Modules\GenshinCompanion.Modules.BannersModule\ViewModels\BannersViewModel.cs:line 179;GenshinCompanion.Modules.BannersModule.ViewModels
MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj);MS.Internal
MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state);MS.Internal
MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled);MS.Win32
MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o);MS.Win32
MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam);MS.Win32
MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg);MS.Win32
GenshinCompanion.App.Main();GenshinCompanion
Reason
System.IO.IOException: The process cannot access the file 'C:\Users\USER\AppData\Local\GenshinCompanion\Banners\NoviceBanner.db' because it is being used by another process.
Link to App Center