PrinterSwitch and “Data Execution Prevention” on Windows

Warning: copy(): Filename cannot be empty in C:\inetpub\\wp-content\plugins\mytube\mytube.php on line 220

Lately we have been getting regular reports from people experiencing a problem when trying to use PrinterSwitch on systems with Windows Server 2003/2008 or Windows Vista (and 7).

After running the installer, and starting FileMaker, the PrinterSwitch plug-in is not automatically enabled. Manually trying to enable it generates an error message "myFMbutler PrinterSwitch could not be enabled".

This problem is caused by certain security settings of the above versions of Windows, by a feature that's called "Data Execution Prevention".

To correct the settings, do the following:

  • Navigate to 'My Computer'; right click, select 'Properties'.
  • Click the 'Advanced' tab, then click the 'Settings' button in the 'Performance' section.
  • Click the 'Data Execution Prevention' tab. Click the Add... button and add "FileMaker Pro.exe" to the list.
  • Relaunch FileMaker - the problem should now be fixed.

Due to the nature of what PrinterSwitch does, i.e. manipulating the printer settings, there is no real workaround for this, except adding the FileMaker client as an exception.

For more details about 'Data Execution Prevention' (DEP), please check the Microsoft Technet site.

Leave a Reply

You must be logged in to post a comment.