1
Vote

Backup fails without error when file accessed failed.

description

When running without admin rights it seem to work (shows "Backup completed"), but the wlwbackup file is not written. Logfile shows:
 
22.03.2009 11:42:53: System.ArgumentException: Access to the path is denied.
at System.IO.FileSystemInfo.set_Attributes(FileAttributes value)
at System.IO.FileInfo.set_IsReadOnly(Boolean value)
at LiveWriterBackupWPF.BackupMethods.CopyFiles(String source, String destination)
at LiveWriterBackupWPF.BackupMethods.CopyFolders(String source, String destination)
at LiveWriterBackupWPF.BackupMethods.BackupPlugins()
at LiveWriterBackupWPF.canBackupControl._doBackup_DoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
22.03.2009 11:42:53: C:\bak\wlwbak220309.wlwbackup was not written.

comments

ScottIsAFool wrote Mar 23, 2009 at 7:32 PM

Can you check, if you have another drive (say d:) that you can use, try saving the backup to there. I think the program might only need to be run as administrator if you're saving to the C: drive. Sadly windows seems to think anyone writing anything to the C: drive must have administrator privileges.

barmala wrote Jan 10, 2010 at 10:06 AM

I experience exactly the same behavior. Backup to F: doesn't change anything. Only Admin privileges help. I even tried to write into the same directory where the log file is written, which obviously is accessible, since otherwise the log file couldn't be written. But even there I get the same error, described above.

wrote Feb 13, 2013 at 8:43 PM