Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application: PK-Sim® 11.3.208 #2970

Open
yanzh1222 opened this issue Sep 15, 2024 · 1 comment
Open

Application: PK-Sim® 11.3.208 #2970

yanzh1222 opened this issue Sep 15, 2024 · 1 comment
Labels
File System Relating to issues of writing or accessing file system

Comments

@yanzh1222
Copy link

Application:
PK-Sim® 11.3.208

Access to the path 'C:\ProgramData\Open Systems Pharmacology\PK-Sim\11.3\ApplicationSettings.xml' is denied.

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)
   at System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding)
   at OSPSuite.Serializer.Xml.XmlHelper.saveXmlObjectToFile(String fileName, Action`1 saveAction)
   at OSPSuite.Serializer.Xml.XmlHelper.saveXmlContentToFile(String xmlContent, String fileName)
   at PKSim.Infrastructure.Services.SettingsPersistor`1.Save(TSettings userSettings)
   at PKSim.Infrastructure.Services.SettingsPersistor`1.SaveCurrent()
   at PKSim.UI.UICommands.ExitCommand.Execute()
   at OSPSuite.Presentation.UICommands.UICommandExtensions.ExecuteWithinExceptionHandler(IUICommand uiCommand, IEventPublisher eventPublisher, IChangePropagator changePropagator)
@rwmcintosh
Copy link
Member

Does the folder exist there, if it does, do you have access to edit/add content?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
File System Relating to issues of writing or accessing file system
Projects
None yet
Development

No branches or pull requests

2 participants