Unhandled Exception (Support requests)
An application unhandled exception has raised:
System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\LAVA SoftWorks\icomancer\Onscreen Settings.xml' 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Xml.XmlWriterSettings.CreateWriter(String outputFileName)
at System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings)
at System.Xml.Linq.XElement.Save(String fileName, SaveOptions options)
at Icomancer.Functions.SaveOnScreenSettings(Boolean IgnoreSkeletonSaving) in H:\Icomancer\Icomancer\Functions.vb:line 2392
at Icomancer.modAppOps.DownloadandRunReleaseUpdater(XElement xmlReleaseData) in H:\Icomancer\Icomancer\modAppOps.vb:line 622
at Icomancer.modAppOps.CheckForUpdates(Boolean CallingFromOpenedForm) in H:\Icomancer\Icomancer\modAppOps.vb:line 587
at Icomancer.frmLauncher.CheckForUpdates() in H:\Icomancer\Icomancer\frmLauncher.vb:line 92
at Icomancer.frmLauncher.frmLauncher_Shown(Object sender, EventArgs e) in H:\Icomancer\Icomancer\frmLauncher.vb:line 85
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
Unhandled Exception
Mh. Something isn't allowing icomancer to save its own settings. I see that the updater was launched and on-screen settings where trying to be saved when the exception occured.
So, either Windows UAC or your antivirus/antimalware or something else is preventing icomancer to write its own settings.
Please add it as exception, full-trust application or whatever is called by your security program.
Anyway, I'll add a fallback in the settings writer to try preventing this problem.