[GH-ISSUE #275] 修改用户文件夹后故障 #1199

Closed
opened 2026-02-28 12:03:01 +03:00 by kerem · 3 comments
Owner

Originally created by @aaaol on GitHub (Jul 30, 2022).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/275

Originally assigned to: @VShawn on GitHub.

Environment

Component Version
PRemoteM(Store) 0.7.1.2(Microsoft store)
.NET Framework .NET Framework 4.8
CLR 4.0.30319.42000
OS Windows 10 Pro 64-bits 10.0.19043.0 (2009)

Error Info

对路径“C:\Users\Admin.DESKTOP-DFAVM7M\AppData\Roaming\PRemoteM”的访问被拒绝。
新路径为 C:\Users\Admin\AppData\Roaming\PRemoteM
软件经过卸载和重装也是一样

Stack Trace

   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45
   在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262
   在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119
   在 Stylet.BootstrapperBase.Start(String[] args)
   在 System.Windows.Application.OnStartup(StartupEventArgs e)
   在 System.Windows.Application.<.ctor>b__1_0(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log

[T:001][09:42:09.758]	`Debug`		SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM")
[T:001][09:42:09.937]	`Debug`		SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM")
[T:001][09:42:10.073]	`Fatal`		[(TryCatchWhen:0)]	
> System.UnauthorizedAccessException: 对路径“C:\Users\Admin.DESKTOP-DFAVM7M\AppData\Roaming\PRemoteM”的访问被拒绝。
   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45
   在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262
   在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119
   在 Stylet.BootstrapperBase.Start(String[] args)
   在 System.Windows.Application.OnStartup(StartupEventArgs e)
   在 System.Windows.Application.<.ctor>b__1_0(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
> StackTrace:    在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45
   在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262
   在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119
   在 Stylet.BootstrapperBase.Start(String[] args)
   在 System.Windows.Application.OnStartup(StartupEventArgs e)
   在 System.Windows.Application.<.ctor>b__1_0(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[T:001][10:34:17.316]	`Debug`		SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM")
[T:001][10:34:17.434]	`Debug`		SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM")
[T:001][10:34:17.514]	`Fatal`		[(TryCatchWhen:0)]	
> System.UnauthorizedAccessException: 对路径“C:\Users\Admin.DESKTOP-DFAVM7M\AppData\Roaming\PRemoteM”的访问被拒绝。
   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45
   在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262
   在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119
   在 Stylet.BootstrapperBase.Start(String[] args)
   在 System.Windows.Application.OnStartup(StartupEventArgs e)
   在 System.Windows.Application.<.ctor>b__1_0(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
> StackTrace:    在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45
   在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262
   在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119
   在 Stylet.BootstrapperBase.Start(String[] args)
   在 System.Windows.Application.OnStartup(StartupEventArgs e)
   在 System.Windows.Application.<.ctor>b__1_0(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[T:001][10:36:36.363]	`Debug`		SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM")
[T:001][10:36:36.458]	`Debug`		SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM")
[T:001][10:36:36.526]	`Fatal`		[(TryCatchWhen:0)]	
> System.UnauthorizedAccessException: 对路径“C:\Users\Admin.DESKTOP-DFAVM7M\AppData\Roaming\PRemoteM”的访问被拒绝。
   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45
   在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262
   在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119
   在 Stylet.BootstrapperBase.Start(String[] args)
   在 System.Windows.Application.OnStartup(StartupEventArgs e)
   在 System.Windows.Application.<.ctor>b__1_0(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
> StackTrace:    在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45
   在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262
   在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119
   在 Stylet.BootstrapperBase.Start(String[] args)
   在 System.Windows.Application.OnStartup(StartupEventArgs e)
   在 System.Windows.Application.<.ctor>b__1_0(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[T:001][10:40:51.440]	`Debug`		SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM")
[T:001][10:40:51.526]	`Debug`		SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM")
[T:001][10:40:51.585]	`Fatal`		[(TryCatchWhen:0)]	
> System.UnauthorizedAccessException: 对路径“C:\Users\Admin.DESKTOP-DFAVM7M\AppData\Roaming\PRemoteM”的访问被拒绝。
   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45
   在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262
   在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119
   在 Stylet.BootstrapperBase.Start(String[] args)
   在 System.Windows.Application.OnStartup(StartupEventArgs e)
   在 System.Windows.Application.<.ctor>b__1_0(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
> StackTrace:    在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45
   在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262
   在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119
   在 Stylet.BootstrapperBase.Start(String[] args)
   在 System.Windows.Application.OnStartup(StartupEventArgs e)
   在 System.Windows.Application.<.ctor>b__1_0(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[T:001][10:42:34.148]	`Debug`		SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM")
[T:001][10:42:34.233]	`Debug`		SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM")
[T:001][10:42:34.291]	`Fatal`		[(TryCatchWhen:0)]	
> System.UnauthorizedAccessException: 对路径“C:\Users\Admin.DESKTOP-DFAVM7M\AppData\Roaming\PRemoteM”的访问被拒绝。
   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45
   在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262
   在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119
   在 Stylet.BootstrapperBase.Start(String[] args)
   在 System.Windows.Application.OnStartup(StartupEventArgs e)
   在 System.Windows.Application.<.ctor>b__1_0(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
> StackTrace:    在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45
   在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262
   在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119
   在 Stylet.BootstrapperBase.Start(String[] args)
   在 System.Windows.Application.OnStartup(StartupEventArgs e)
   在 System.Windows.Application.<.ctor>b__1_0(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[T:001][10:44:05.565]	`Debug`		SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM")
[T:001][10:44:05.661]	`Debug`		SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM")
[T:001][10:44:05.730]	`Fatal`		[(TryCatchWhen:0)]	
> System.UnauthorizedAccessException: 对路径“C:\Users\Admin.DESKTOP-DFAVM7M\AppData\Roaming\PRemoteM”的访问被拒绝。
   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45
   在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262
   在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119
   在 Stylet.BootstrapperBase.Start(String[] args)
   在 System.Windows.Application.OnStartup(StartupEventArgs e)
   在 System.Windows.Application.<.ctor>b__1_0(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
> StackTrace:    在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45
   在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262
   在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119
   在 Stylet.BootstrapperBase.Start(String[] args)
   在 System.Windows.Application.OnStartup(StartupEventArgs e)
   在 System.Windows.Application.<.ctor>b__1_0(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Originally created by @aaaol on GitHub (Jul 30, 2022). Original GitHub issue: https://github.com/1Remote/1Remote/issues/275 Originally assigned to: @VShawn on GitHub. <details> ## Environment | Component | Version | |:------------------|:--------------------------------------| |PRemoteM(Store) | `0.7.1.2`(Microsoft store)| |.NET Framework | `.NET Framework 4.8` | |CLR | `4.0.30319.42000` | |OS | `Windows 10 Pro 64-bits 10.0.19043.0 (2009)` | ## Error Info 对路径“C:\Users\Admin.DESKTOP-DFAVM7M\AppData\Roaming\PRemoteM”的访问被拒绝。 新路径为 C:\Users\Admin\AppData\Roaming\PRemoteM 软件经过卸载和重装也是一样 ## Stack Trace ``` 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) 在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45 在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262 在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119 在 Stylet.BootstrapperBase.Start(String[] args) 在 System.Windows.Application.OnStartup(StartupEventArgs e) 在 System.Windows.Application.<.ctor>b__1_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ``` ## Recent Log ``` [T:001][09:42:09.758] `Debug` SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM") [T:001][09:42:09.937] `Debug` SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM") [T:001][09:42:10.073] `Fatal` [(TryCatchWhen:0)] > System.UnauthorizedAccessException: 对路径“C:\Users\Admin.DESKTOP-DFAVM7M\AppData\Roaming\PRemoteM”的访问被拒绝。 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) 在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45 在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262 在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119 在 Stylet.BootstrapperBase.Start(String[] args) 在 System.Windows.Application.OnStartup(StartupEventArgs e) 在 System.Windows.Application.<.ctor>b__1_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) > StackTrace: 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) 在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45 在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262 在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119 在 Stylet.BootstrapperBase.Start(String[] args) 在 System.Windows.Application.OnStartup(StartupEventArgs e) 在 System.Windows.Application.<.ctor>b__1_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) [T:001][10:34:17.316] `Debug` SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM") [T:001][10:34:17.434] `Debug` SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM") [T:001][10:34:17.514] `Fatal` [(TryCatchWhen:0)] > System.UnauthorizedAccessException: 对路径“C:\Users\Admin.DESKTOP-DFAVM7M\AppData\Roaming\PRemoteM”的访问被拒绝。 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) 在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45 在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262 在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119 在 Stylet.BootstrapperBase.Start(String[] args) 在 System.Windows.Application.OnStartup(StartupEventArgs e) 在 System.Windows.Application.<.ctor>b__1_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) > StackTrace: 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) 在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45 在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262 在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119 在 Stylet.BootstrapperBase.Start(String[] args) 在 System.Windows.Application.OnStartup(StartupEventArgs e) 在 System.Windows.Application.<.ctor>b__1_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) [T:001][10:36:36.363] `Debug` SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM") [T:001][10:36:36.458] `Debug` SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM") [T:001][10:36:36.526] `Fatal` [(TryCatchWhen:0)] > System.UnauthorizedAccessException: 对路径“C:\Users\Admin.DESKTOP-DFAVM7M\AppData\Roaming\PRemoteM”的访问被拒绝。 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) 在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45 在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262 在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119 在 Stylet.BootstrapperBase.Start(String[] args) 在 System.Windows.Application.OnStartup(StartupEventArgs e) 在 System.Windows.Application.<.ctor>b__1_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) > StackTrace: 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) 在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45 在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262 在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119 在 Stylet.BootstrapperBase.Start(String[] args) 在 System.Windows.Application.OnStartup(StartupEventArgs e) 在 System.Windows.Application.<.ctor>b__1_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) [T:001][10:40:51.440] `Debug` SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM") [T:001][10:40:51.526] `Debug` SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM") [T:001][10:40:51.585] `Fatal` [(TryCatchWhen:0)] > System.UnauthorizedAccessException: 对路径“C:\Users\Admin.DESKTOP-DFAVM7M\AppData\Roaming\PRemoteM”的访问被拒绝。 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) 在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45 在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262 在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119 在 Stylet.BootstrapperBase.Start(String[] args) 在 System.Windows.Application.OnStartup(StartupEventArgs e) 在 System.Windows.Application.<.ctor>b__1_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) > StackTrace: 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) 在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45 在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262 在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119 在 Stylet.BootstrapperBase.Start(String[] args) 在 System.Windows.Application.OnStartup(StartupEventArgs e) 在 System.Windows.Application.<.ctor>b__1_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) [T:001][10:42:34.148] `Debug` SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM") [T:001][10:42:34.233] `Debug` SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM") [T:001][10:42:34.291] `Fatal` [(TryCatchWhen:0)] > System.UnauthorizedAccessException: 对路径“C:\Users\Admin.DESKTOP-DFAVM7M\AppData\Roaming\PRemoteM”的访问被拒绝。 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) 在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45 在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262 在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119 在 Stylet.BootstrapperBase.Start(String[] args) 在 System.Windows.Application.OnStartup(StartupEventArgs e) 在 System.Windows.Application.<.ctor>b__1_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) > StackTrace: 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) 在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45 在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262 在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119 在 Stylet.BootstrapperBase.Start(String[] args) 在 System.Windows.Application.OnStartup(StartupEventArgs e) 在 System.Windows.Application.<.ctor>b__1_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) [T:001][10:44:05.565] `Debug` SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM") [T:001][10:44:05.661] `Debug` SetSelfStartingHelper.SetSelfStartByStartupTask(False, "PRemoteM") [T:001][10:44:05.730] `Fatal` [(TryCatchWhen:0)] > System.UnauthorizedAccessException: 对路径“C:\Users\Admin.DESKTOP-DFAVM7M\AppData\Roaming\PRemoteM”的访问被拒绝。 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) 在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45 在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262 在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119 在 Stylet.BootstrapperBase.Start(String[] args) 在 System.Windows.Application.OnStartup(StartupEventArgs e) 在 System.Windows.Application.<.ctor>b__1_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) > StackTrace: 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) 在 PRM.Model.PrmContext.InitSqliteDb(String sqlitePath) 位置 D:\DemoProject\PRemoteM-NET6\Ui\Model\PrmContext.cs:行号 45 在 PRM.AppInit.InitOnConfigure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\AppInit.cs:行号 262 在 PRM.Bootstrapper.Configure() 位置 D:\DemoProject\PRemoteM-NET6\Ui\Bootstrapper.cs:行号 119 在 Stylet.BootstrapperBase.Start(String[] args) 在 System.Windows.Application.OnStartup(StartupEventArgs e) 在 System.Windows.Application.<.ctor>b__1_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ``` </details>
kerem 2026-02-28 12:03:01 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@VShawn commented on GitHub (Jul 30, 2022):

靠了。。。发布的时候写错配置了,把调试用配置发上去了。感谢反馈,我马上下架 app,重新发布。

<!-- gh-comment-id:1200075643 --> @VShawn commented on GitHub (Jul 30, 2022): 靠了。。。发布的时候写错配置了,把调试用配置发上去了。感谢反馈,我马上下架 app,重新发布。
Author
Owner

@VShawn commented on GitHub (Jul 30, 2022):

你可以暂时先用 exe 版本,等 store 上重新上架后就是问题修好了。

<!-- gh-comment-id:1200075995 --> @VShawn commented on GitHub (Jul 30, 2022): 你可以暂时先用 exe 版本,等 store 上重新上架后就是问题修好了。
Author
Owner

@VShawn commented on GitHub (Aug 1, 2022):

已重新上架

<!-- gh-comment-id:1200594355 --> @VShawn commented on GitHub (Aug 1, 2022): 已重新上架
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#1199
No description provided.