Plugin Help with "Access Denied" Error in Heliosphere Download Task

AdachiYanas

New member
Pronouns
He/ Him
Hello everyone,

I’m encountering an issue when running the Heliosphere download task, and I’m hoping someone here might be able to help.

Problem:​

When attempting to execute the download task, I get the following error:

Code:
Error type: System.IO.IOException
   Message: Access to the path '\\?\C:\Users\Admin\OneDrive\Documents\Mod's Directory\hs-The Body SE - Body Type Edits-2.1.0-sZw\.hs-hashes' is denied.
   HResult: 0x80131620
   at System.IO.FileSystem.RemoveDirectoryInternal(String fullPath, Boolean topLevel, Boolean allowDirectoryNotEmpty)
   at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
   at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
   at Heliosphere.DownloadTask.<CreateDirectories>b__123_1() in /_/DownloadTask.cs:line 319
   at Polly.ResiliencePipeline.<>c.<Execute>b__29_0(ResilienceContext _, Action state)
   --- End of stack trace from previous location ---
   at Polly.ResiliencePipeline.Execute(Action callback)
   at Heliosphere.DownloadTask.CreateDirectories() in /_/DownloadTask.cs:line 317
   at Heliosphere.DownloadTask.Run() in /_/DownloadTask.cs:line 163

The issue is related to a file path (\\?\C:\Users\Admin\OneDrive\Documents\Mod's Directory\hs-The Body SE - Body Type Edits-2.1.0-sZw\.hs-hashes) being denied access, causing the download task to fail.

What I’ve Tried:​

  • I’ve already tried running the application as an administrator, but the issue persists.
  • I’ve checked file permissions and verified that my account should have full access to the directory.
  • OneDrive sync is not currently the problem (I've paused syncing).
Has anyone encountered a similar issue? I’d appreciate any guidance or suggestions on how to resolve this!

Thanks in advance for your help!
 
Try a location other than OneDrive. Penumbra recommends against using OneDrive for your Penumbra root, and so do I. That is very likely the issue.
 
Try a location other than OneDrive. Penumbra recommends against using OneDrive for your Penumbra root, and so do I. That is very likely the issue.
i did try to localise the file, the problem is still there. even after moving the mod directory. its just that one specific mod that is neither updating, nether is working even when i download it manually
 
If you tried installing it completely fresh in a non-OneDrive location and you got the same issue, then you have a permissions issue or, less likely, FS corruption. I cannot solve the issue for you. If it were me, I would try deleting the mod entirely and reinstalling it.
 
If you tried installing it completely fresh in a non-OneDrive location and you got the same issue, then you have a permissions issue or, less likely, FS corruption. I cannot solve the issue for you. If it were me, I would try deleting the mod entirely and reinstalling it.
When you say delete the mod entirely, you mean just normal delete with no extra steps? Or is there something else to delete it entirely? Because if there is no extra steps, then i did already delete and reinstalled it. But im still stuck on it
 
Deleting it normally should remove the mod folder, so that's what I mean. I cannot assist you further; this is not a Heliosphere problem but a problem with your permissions/filesystem/antivirus/OneDrive/anything else on your system that could be causing an access denied error. I don't know what specifically is causing it, but it's not Heliosphere.

All I can tell you is that access is being denied when attempting to delete that folder.
 
for the future, if anyone is reading this
the issue was having multiple versions installed of the same file, heliosphere does not delete the old versions of the mod when it installs the newer ones
 
Back
Top