• Search
  • Register
  • Log in
  • Exendo Forum » History Explorer
  • Comparing Files
  •  

    Every time I use the file compare function, I get the exception below. I checked the file in question, and the path in question, and there should be no access restrictions, so what else could be causing this? I'm using the latest version- I just updated.

    System.UnauthorizedAccessException: Access to the path 'C:\Documents and Settings\charlesl\Local Settings\Temp\tmp3E04.tmp' 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)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
    at System.IO.File.OpenFile(String path, FileAccess access, SafeFileHandle& handle)
    at System.IO.File.SetLastWriteTimeUtc(String path, DateTime lastWriteTimeUtc)
    at System.IO.File.SetLastWriteTime(String path, DateTime lastWriteTime)
    at HistoryExplorer.Client.Logic.File.SaveHistoryFile(FileWrapper file, FileState state, String newFileName)
    at HistoryExplorer.Client.Logic.Utils.CompareFiles()
    at HistoryExplorer.Client.Controls.DetailedFileListControl.compareFilesToolStripMenuItem_Click(Object sender, EventArgs e)
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ToolStrip.WndProc(Message& m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    #36
    wraith808
    Member
    Posted 5 months ago
     

    Hi Charles,

    Sorry you are having problems with the software.
    When you say you have checked the access restrictions have you checked the original file or the temp file?
    When the exception is visible you should check the temp file (in this case C:\Documents and Settings\charlesl\Local Settings\Temp\tmp3E04.tmp)

    Also could you let me know what comparison tool you are using?
    Do you get the same error if you just double click on an old version of a file?
    If you modify a file twice, so that you get 2 new versions of the file, do you get the same problem when comparing these 2... or is it only related to older versions of files ( not from the last minutes ) ?

    I hope we can find a solution quickly.

    Kind regards
    Peter

    #37
    Peter
    Peter Molyneux, Exendo
    Posted 5 months ago
    RSS feed for this topic  

    Reply

    You must log in to post.

  • Tags
  •  

  •  
    Exendo Forum is proudly powered by bbPress.   //   Theme by Mike Lothar  
    [ Time : 0.581s | 13 Queries ]