Error: "PMDataAccessLayer Error creating temporary file" (stranded tmp files)
Description
Cause

There are tmp files inside the data folder and/or tmp folders inside the PVData folder which should not exist.

There are tasks that temporarily create these tmp files/folders but then are removed when the task finishes.

They may not have been removed due to a previous abort or other error.

Resolution
CAUTION: Use caution when working with the below product functionality. Always create a backup of your data before proceeding with advanced solutions. If necessary, seek the assistance of a qualified Sage business partner, network administrator, or Sage customer support analyst.

CAUTION: The following procedure requires in-depth knowledge of database engines for your Sage product, such as Microsoft SQL Server, Pervasive SQL, and MySQL. Sage can't assist with database administration and isn't responsible for errors resulting from database changes. Back up your system and application databases required for a complete restore. Consider contacting a certified consultant or your database administrator for assistance.
 CAUTION: This solution requires advanced knowledge of Windows security and network settings. Sage isn't responsible for any issues that arise from changes to these settings. Ensure you back up all system and application databases necessary for a complete restoration. It's advisable to contact a certified consultant or your system administrator for assistance.

WARNING: Contact your network administrator, Sage 300 Construction and Real Estate Consultant, or Sage 300 Construction and Real Estate Customer Support for assistance with deleting the appropriate files.

  1. Locate the data folder directory from Help, About...
  2. Note the Current Data Folder.
  3. Browse to the data folder in Windows Explorer (or File Explorer).
  4. Delete the tmp files found inside your data folder directory. The tmp files may appear as tmp, tmp0, tmp1, tmp2, tmp3, tmp4, etc.
  5. Inside your data folder is a PVData folder. Delete the tmp folders found inside this PVData folder. The tmp folders may appear as tmp, tmp0, tmp1, tmp2, tmp3, tmp4, etc.
  6. Verify you can now complete your task without error.

If there are no tmp files/folders or this does not resolve the issue, refer to the Related Resources section for other possible causes and solutions.

DocLink: Error: "PMDataAccessLayer Error creating temporary file" (when entering, changing, or posting invoices in AP)
DocLink: Property Management errors: "Error creating temporary file..." / "Could not open temporary file" / "I/O error" (MASTER ARTICLE)
DocLink: Error: "PMDataAccessLayer Error creating temporary file" (corrupt Pervasive/Actian install)
DocLink: Error: "PMDataAccessLayer Error creating temporary file" (during DM classification)
DocLink: Error: "PMDataAccessLayer Error creating temporary file" (during PM Trial run tasks)

Need more help?

Chat now

 

 

Steps to duplicate
Related Solutions