Search Engine: Elastic

Article ID: 1826, created on May 7, 2007, last review on May 11, 2014

  • Applies to:
  • Operations Automation


Install AspMail on customer's website, then open AspMail URL like and try to send email.

After submit you see the following error message:
Mailing Failed... Error is:
Cannot create file

Error in the Windows Event Viewer on a server where webspace is located:
The Template Persistent Cache initialization failed for Application Pool 'poolName' because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool. The data may have additional error codes.


AspMail cannot create file in system temp folder on Windows Shared Hosting server.


Check permissions for the Windows system temp folder (usually %SystemRoot%\TEMP).
  • Make sure CREATOR OWNER has full control for 'Subfolders and files only'
  • Make sure local 'Users' group has 'Traverse Folder', 'Create Files', and 'Create Folders' permissions for 'This folder and subfolders'.
  • Make sure inheritable permissions from the parent are not allowed. This is important because unwanted allow and deny rules may be inherited from parent.

8fc71f07abe5b233fea1ae0377cd5e3d 5356b422f65bdad1c3e9edca5d74a1ae

Email subscription for changes to this article
Save as PDF