Post by frogc4sserole on Dec 31, 2020 22:10:02 GMT -5
I posted this on another thread, have searched for many other complaints for this all over the forums and they all have the same advice of running as admin and then silence. I'm getting the error code where access is denied to a log file. Here are the things I have tried:
- Running as administrator, which does NOT solve the problem.
- I have tried both zip and installer.
- I installed the latest version of S4S, which came out shortly after I installed 3.1.4.2 and had the problem for the first time.
- I have followed the troubleshooting tips and done the .NET framework thing.
- I have tried repairing my game thru origin.
- I have made sure that the paths to each folder for my game are correct. (I have installed TS4 on an D:, rather than C: due to space issues.)
- I have followed the path described in the error code and can not find the log file. It does not exist. On that note, the S4S studio folder contains the Batch Fixes, CombinedTuning, Logs, Mods and Palettes folders; all are empty.
- I have changed the permissions for the S4S folder to make sure that every user has full access to this folder.
- I have changed the folder from read-only. Every time I do this, it changes back to read only after.
- After playing around with permissions (I followed this tutorial windowsreport.com/folder-reverting-to-read-only/) my s4s folder changed to this: imgur.com/a/Zgd9zqJ . It did not fix anything. It's worth mentioning that I have no idea what I was doing. If I broke my user permissions while trying to get this program to work, I will be fairly angry
It's also worth mentioning how many times I've installed S4S (a lot) to try and get this to work, and if I disregard the error to see if I can do a batch fix anyway, a whole range of other errors come up. I'm assuming that's because of the first error, but if fixing the first error doesn't fix it, well, that's a problem for future me.
I don't know what else to do. Literally ALL I WANT TO DO IS FIX MY WINDOWS AND DOORS. And after seeing so many reports of this error and no solutions offered, well, it is not a vibe!! Please help me find a solution!!
- Running as administrator, which does NOT solve the problem.
- I have tried both zip and installer.
- I installed the latest version of S4S, which came out shortly after I installed 3.1.4.2 and had the problem for the first time.
- I have followed the troubleshooting tips and done the .NET framework thing.
- I have tried repairing my game thru origin.
- I have made sure that the paths to each folder for my game are correct. (I have installed TS4 on an D:, rather than C: due to space issues.)
- I have followed the path described in the error code and can not find the log file. It does not exist. On that note, the S4S studio folder contains the Batch Fixes, CombinedTuning, Logs, Mods and Palettes folders; all are empty.
- I have changed the permissions for the S4S folder to make sure that every user has full access to this folder.
- I have changed the folder from read-only. Every time I do this, it changes back to read only after.
- After playing around with permissions (I followed this tutorial windowsreport.com/folder-reverting-to-read-only/) my s4s folder changed to this: imgur.com/a/Zgd9zqJ . It did not fix anything. It's worth mentioning that I have no idea what I was doing. If I broke my user permissions while trying to get this program to work, I will be fairly angry
It's also worth mentioning how many times I've installed S4S (a lot) to try and get this to work, and if I disregard the error to see if I can do a batch fix anyway, a whole range of other errors come up. I'm assuming that's because of the first error, but if fixing the first error doesn't fix it, well, that's a problem for future me.
I don't know what else to do. Literally ALL I WANT TO DO IS FIX MY WINDOWS AND DOORS. And after seeing so many reports of this error and no solutions offered, well, it is not a vibe!! Please help me find a solution!!
{Spoiler - error code}
The Sims 4 Studio - Version 3.1.4.3
S4Studio.Logging.S4SLogException: Failed to write to log file. ---> System.UnauthorizedAccessException: Access to the path 'D:\documents\Sims 4 Studio\Logs\Log_2021-1-1.txt' is denied.
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)
at System.IO.File.Create(String path)
at S4Studio.Logging.S4SLog.get_Stream()
at S4Studio.Logging.S4SLog.Log(LogLevel level, String text)
--- End of inner exception stack trace ---
at S4Studio.Logging.S4SLog.Log(LogLevel level, String text)
at S4Studio.Shared.AppModel.Init()
The Sims 4 Studio - Version 3.1.4.3
S4Studio.Logging.S4SLogException: Failed to write to log file. ---> System.UnauthorizedAccessException: Access to the path 'D:\documents\Sims 4 Studio\Logs\Log_2021-1-1.txt' is denied.
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)
at System.IO.File.Create(String path)
at S4Studio.Logging.S4SLog.get_Stream()
at S4Studio.Logging.S4SLog.Log(LogLevel level, String text)
--- End of inner exception stack trace ---
at S4Studio.Logging.S4SLog.Log(LogLevel level, String text)
at S4Studio.Shared.AppModel.Init()