When opening an attachment in outlook, you get an error stating that it cannot create the file or you need to check the permissions of the folder. This can happen if you often receive attachments with the same name. For example, you may receive many emails from a supplier using MYOB which sends out emails with a PDF attachment called esale.pdf.
When the attachment is opened, Outlook creates a copy of the file in a temporary folder. This is stored in the user profile, in a subfolder of the Temporary Internet Files hidden folder. The name of this folder is quite random. When another file of the same name is saved here, it is renamed filename (n).ext. And when n reached 99, you will have reached the maximum number of attachments of this name that can be saved. So, when a new file save is attempted, the error is produced.
To fix this, you need to delete the previous files saved in this folder. Locating the folder is not too difficult. A registry key controls this location.
Depending on your version of outlook, you can find the registry key as follows.
- Outlook 97 – HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Outlook\Security
- Outlook 98 – HKEY_CURRENT_USER\Software\Microsoft\Office\8.5\Outlook\Security
- Outlook 2000 – HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Outlook\Security
- Outlook 2002/XP – HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Security
- Outlook 2003 – HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security
- Outlook 2007 – HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security
- Outlook 2010 – HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security
The location of the folder will be found in the registry key – OutlookSecureTempFolder
- Open the registry key
- Copy the path in this key
- Open Windows Explorer
- Paste this path into the addresss bar
- Locate and delete all instances of the attachment file name