[GH-ISSUE #112] These is a bug. #2974

Closed
opened 2026-03-13 00:33:26 +03:00 by kerem · 2 comments
Owner

Originally created by @williamtaylor121 on GitHub (Apr 22, 2021).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/112

Originally assigned to: @VShawn on GitHub.

Environment

Component Version
PRemoteM 0.5.10.2(EXE release)
.NET Framework .NET Framework 4.8
CLR 4.0.30319.42000
OS Windows 10 Enterprise 64-bits 10.0.19043.0 (2009)

Error Info

对路径“C:\Program Files\WindowsApps\16536Shawn.V.Workshop.PRemoteM_1.0.20.0_x64__c5279amkf5zgy\PRemoteM\PRemoteM.ini”的访问被拒绝。

Stack Trace

   在 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.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
   在 System.IO.File.WriteAllText(String path, String contents)
   在 Shawn.Utils.Ini.Save()
   在 PRM.Core.Model.SystemConfigKeywordMatch.Save()
   在 PRM.Core.Model.SystemConfigBase.SetAndNotifyIfChanged[T](String propertyName, T& oldValue, T newValue)
   在 PRM.Core.Model.SystemConfigKeywordMatch.set_AvailableMatcherProviders(List`1 value)
   在 PRM.Core.Model.SystemConfigKeywordMatch.Load()
   在 PRM.App.InitSystemConfig(String appDateFolder)
   在 PRM.App.App_OnStartup(Object sender, StartupEventArgs startupEvent)
   在 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

2021-04-22T22:23:16.8100606+08:00[ThreadId:0000000001]		Fatal		System.UnauthorizedAccessException: 对路径“C:\Program Files\WindowsApps\16536Shawn.V.Workshop.PRemoteM_1.0.20.0_x64__c5279amkf5zgy\PRemoteM\PRemoteM.ini”的访问被拒绝。
   在 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.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
   在 System.IO.File.WriteAllText(String path, String contents)
   在 Shawn.Utils.Ini.Save()
   在 PRM.Core.Model.SystemConfigKeywordMatch.Save()
   在 PRM.Core.Model.SystemConfigBase.SetAndNotifyIfChanged[T](String propertyName, T& oldValue, T newValue)
   在 PRM.Core.Model.SystemConfigKeywordMatch.set_AvailableMatcherProviders(List`1 value)
   在 PRM.Core.Model.SystemConfigKeywordMatch.Load()
   在 PRM.App.InitSystemConfig(String appDateFolder)
   在 PRM.App.App_OnStartup(Object sender, StartupEventArgs startupEvent)
   在 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)
   在 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.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
   在 System.IO.File.WriteAllText(String path, String contents)
   在 Shawn.Utils.Ini.Save()
   在 PRM.Core.Model.SystemConfigKeywordMatch.Save()
   在 PRM.Core.Model.SystemConfigBase.SetAndNotifyIfChanged[T](String propertyName, T& oldValue, T newValue)
   在 PRM.Core.Model.SystemConfigKeywordMatch.set_AvailableMatcherProviders(List`1 value)
   在 PRM.Core.Model.SystemConfigKeywordMatch.Load()
   在 PRM.App.InitSystemConfig(String appDateFolder)
   在 PRM.App.App_OnStartup(Object sender, StartupEventArgs startupEvent)
   在 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)
2021-04-22T22:25:39.4151044+08:00[ThreadId:0000000001]		Fatal		System.UnauthorizedAccessException: 对路径“C:\Program Files\WindowsApps\16536Shawn.V.Workshop.PRemoteM_1.0.20.0_x64__c5279amkf5zgy\PRemoteM\PRemoteM.ini”的访问被拒绝。
   在 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.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
   在 System.IO.File.WriteAllText(String path, String contents)
   在 Shawn.Utils.Ini.Save()
   在 PRM.Core.Model.SystemConfigKeywordMatch.Save()
   在 PRM.Core.Model.SystemConfigBase.SetAndNotifyIfChanged[T](String propertyName, T& oldValue, T newValue)
   在 PRM.Core.Model.SystemConfigKeywordMatch.set_AvailableMatcherProviders(List`1 value)
   在 PRM.Core.Model.SystemConfigKeywordMatch.Load()
   在 PRM.App.InitSystemConfig(String appDateFolder)
   在 PRM.App.App_OnStartup(Object sender, StartupEventArgs startupEvent)
   在 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)
   在 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.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
   在 System.IO.File.WriteAllText(String path, String contents)
   在 Shawn.Utils.Ini.Save()
   在 PRM.Core.Model.SystemConfigKeywordMatch.Save()
   在 PRM.Core.Model.SystemConfigBase.SetAndNotifyIfChanged[T](String propertyName, T& oldValue, T newValue)
   在 PRM.Core.Model.SystemConfigKeywordMatch.set_AvailableMatcherProviders(List`1 value)
   在 PRM.Core.Model.SystemConfigKeywordMatch.Load()
   在 PRM.App.InitSystemConfig(String appDateFolder)
   在 PRM.App.App_OnStartup(Object sender, StartupEventArgs startupEvent)
   在 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 @williamtaylor121 on GitHub (Apr 22, 2021). Original GitHub issue: https://github.com/1Remote/1Remote/issues/112 Originally assigned to: @VShawn on GitHub. <details> ## Environment | Component | Version | |:------------------|:--------------------------------------| |PRemoteM | `0.5.10.2`(EXE release)| |.NET Framework | `.NET Framework 4.8` | |CLR | `4.0.30319.42000` | |OS | `Windows 10 Enterprise 64-bits 10.0.19043.0 (2009)` | ## Error Info 对路径“C:\Program Files\WindowsApps\16536Shawn.V.Workshop.PRemoteM_1.0.20.0_x64__c5279amkf5zgy\PRemoteM\PRemoteM.ini”的访问被拒绝。 ## Stack Trace ``` 在 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.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) 在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) 在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) 在 System.IO.File.WriteAllText(String path, String contents) 在 Shawn.Utils.Ini.Save() 在 PRM.Core.Model.SystemConfigKeywordMatch.Save() 在 PRM.Core.Model.SystemConfigBase.SetAndNotifyIfChanged[T](String propertyName, T& oldValue, T newValue) 在 PRM.Core.Model.SystemConfigKeywordMatch.set_AvailableMatcherProviders(List`1 value) 在 PRM.Core.Model.SystemConfigKeywordMatch.Load() 在 PRM.App.InitSystemConfig(String appDateFolder) 在 PRM.App.App_OnStartup(Object sender, StartupEventArgs startupEvent) 在 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 ``` 2021-04-22T22:23:16.8100606+08:00[ThreadId:0000000001] Fatal System.UnauthorizedAccessException: 对路径“C:\Program Files\WindowsApps\16536Shawn.V.Workshop.PRemoteM_1.0.20.0_x64__c5279amkf5zgy\PRemoteM\PRemoteM.ini”的访问被拒绝。 在 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.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) 在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) 在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) 在 System.IO.File.WriteAllText(String path, String contents) 在 Shawn.Utils.Ini.Save() 在 PRM.Core.Model.SystemConfigKeywordMatch.Save() 在 PRM.Core.Model.SystemConfigBase.SetAndNotifyIfChanged[T](String propertyName, T& oldValue, T newValue) 在 PRM.Core.Model.SystemConfigKeywordMatch.set_AvailableMatcherProviders(List`1 value) 在 PRM.Core.Model.SystemConfigKeywordMatch.Load() 在 PRM.App.InitSystemConfig(String appDateFolder) 在 PRM.App.App_OnStartup(Object sender, StartupEventArgs startupEvent) 在 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) 在 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.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) 在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) 在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) 在 System.IO.File.WriteAllText(String path, String contents) 在 Shawn.Utils.Ini.Save() 在 PRM.Core.Model.SystemConfigKeywordMatch.Save() 在 PRM.Core.Model.SystemConfigBase.SetAndNotifyIfChanged[T](String propertyName, T& oldValue, T newValue) 在 PRM.Core.Model.SystemConfigKeywordMatch.set_AvailableMatcherProviders(List`1 value) 在 PRM.Core.Model.SystemConfigKeywordMatch.Load() 在 PRM.App.InitSystemConfig(String appDateFolder) 在 PRM.App.App_OnStartup(Object sender, StartupEventArgs startupEvent) 在 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) 2021-04-22T22:25:39.4151044+08:00[ThreadId:0000000001] Fatal System.UnauthorizedAccessException: 对路径“C:\Program Files\WindowsApps\16536Shawn.V.Workshop.PRemoteM_1.0.20.0_x64__c5279amkf5zgy\PRemoteM\PRemoteM.ini”的访问被拒绝。 在 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.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) 在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) 在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) 在 System.IO.File.WriteAllText(String path, String contents) 在 Shawn.Utils.Ini.Save() 在 PRM.Core.Model.SystemConfigKeywordMatch.Save() 在 PRM.Core.Model.SystemConfigBase.SetAndNotifyIfChanged[T](String propertyName, T& oldValue, T newValue) 在 PRM.Core.Model.SystemConfigKeywordMatch.set_AvailableMatcherProviders(List`1 value) 在 PRM.Core.Model.SystemConfigKeywordMatch.Load() 在 PRM.App.InitSystemConfig(String appDateFolder) 在 PRM.App.App_OnStartup(Object sender, StartupEventArgs startupEvent) 在 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) 在 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.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) 在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) 在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) 在 System.IO.File.WriteAllText(String path, String contents) 在 Shawn.Utils.Ini.Save() 在 PRM.Core.Model.SystemConfigKeywordMatch.Save() 在 PRM.Core.Model.SystemConfigBase.SetAndNotifyIfChanged[T](String propertyName, T& oldValue, T newValue) 在 PRM.Core.Model.SystemConfigKeywordMatch.set_AvailableMatcherProviders(List`1 value) 在 PRM.Core.Model.SystemConfigKeywordMatch.Load() 在 PRM.App.InitSystemConfig(String appDateFolder) 在 PRM.App.App_OnStartup(Object sender, StartupEventArgs startupEvent) 在 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-03-13 00:33:26 +03:00
Author
Owner

@VShawn commented on GitHub (Apr 23, 2021):

thanks for reporting, fix will be coming soon.

<!-- gh-comment-id:825278544 --> @VShawn commented on GitHub (Apr 23, 2021): thanks for reporting, fix will be coming soon.
Author
Owner

@VShawn commented on GitHub (Apr 26, 2021):

plz try this as a temporary solution

Release.zip

<!-- gh-comment-id:826662389 --> @VShawn commented on GitHub (Apr 26, 2021): plz try this as a temporary solution [Release.zip](https://github.com/VShawn/PRemoteM/files/6375543/Release.zip)
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#2974
No description provided.