2
Vote

Access to the path 'C:\Program Files\Fiddler2\Scripts\watcher_exceptions.txt' is denied.

description

The watcher_exceptions.txt file cannot be created on Vista or Windows 7 systems if Watcher was installed to the 'Program Files' directory. This directory requires administrative permissions to write to. An unhandled exception will occur:

at System.IO.StreamWriter.CreateFile(String path, Boolean append)

Since this file is low priority, the solution is to catch this exception and avoid trying to create the file.

comments

elamid wrote Feb 17 at 2:03 PM

Hi,
My thoughts are watcher_exceptions.txt file should always be written to the %userprofile%\Documents\Fiddler2\Scripts folder, whatever folder the Watcher Tools are installed in ...
Regards,
Eric.