Page 1 of 1

Error Loading Scenario - "Access to the path is denied" (Even when running as Administrator)

Posted: Sat Nov 15, 2025 1:34 pm
by hanzawa1991
Hello,

I am experiencing an issue when trying to load a custom scenario created by another user. The game is installed on my D: drive, inside the Program Files (x86) directory.

When I try to load the scenario, I receive the following error: "ERROR - Unable to load scenario!"

I have already tried the most common solution—running the game as Administrator—but this did not solve the problem.

Here is the complete error log. I have anonymized my scenario's filename (to My_Scenario_File.scen). The key exception message appears to be "Access to the path... is denied."

ERROR - Unable to load scenario! Please copy this entire text and submit it to the dev team for investigation.

Exception: Access to the path 'D:\Program Files (x86)\Steam\steamapps\common\Command - Modern Operations\Scenarios\DDD\My_Scenario_File.scen' is denied.

Exception source: mscorlib
Stack Trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at Command_Core.ScenContainer.LoadFromFile(String theFileName)
at Command.LoadScenario.eUex5PscwVD8erPRnjyY(Object )
at Command.LoadScenario.LoadFromPath(String thePath, String selFilename)
Since running as Administrator did not work, I suspect this might be a more complex file permission issue, perhaps related to Windows Security, "Controlled folder access," or an antivirus program.

Could the development team please investigate what might be causing System.IO.FileStream.Init to fail with an access denied error, even with administrative privileges?

Any help would be greatly appreciated.

Thank you.

Re: Error Loading Scenario - "Access to the path is denied" (Even when running as Administrator)

Posted: Tue Nov 18, 2025 8:24 pm
by Raptorx7_slith
Try reinstalling or verifying your game files through Steam. The issue may be because you're pointing towards a copied EXE or shortcut that doesn't have proper permissions

Re: Error Loading Scenario - "Access to the path is denied" (Even when running as Administrator)

Posted: Thu Nov 20, 2025 5:42 am
by Dimitris
As a last resort, you can try installing the game outside the "Program Files" directory tree and see if that helps.