Why am I getting a ‘file name is empty or contains only whitespace’ or 'The file exists' error in Signature Manager Outlook Edition?

Problem:

You observe the either of the following errors in the Event Log:


Error: The file name is empty or contains only whitespace.
Parameter name: fileName
Information: System.ArgumentException: The file name is empty or contains only whitespace.
Parameter name: fileName


“Information: System.IO.IOException: The file exists.”  

Reason:

This error is displayed when the number of temp files reaches a given number - e.g. ~65K.


There are a number of reasons why this can happen but generally, temp files simply tend to build up over time.

Solution:

Temp files used by Signature Manager Outlook Edition adopt the naming convention of: tmpXXXX.tmp. To resolve the error, delete these files from the following locations:

  • C:\Temp
  • C:\Windows\Temp
  • C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp

You may also find these temp files in your own %temp% directory.


Having deleted the files, access the Exclaimer console, make any minor change to the configuration and save changes - the error should not be shown in the event log.