web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Cannot create temporary files

(0) ShareShare
ReportReport
Posted on by 610

There is an error message when I click the Select button to specify report criteria in some sales reports. It shows:

Cannot create temporary files: C:\Program Files (x86)\Microsoft Dynamics AX\50\Client\appl\standard\tmp\$tmp00303e8.$$.  The disk may be full.

This problem only happens when we run reports from AX 2009 installed on a x64 Windows server 2008. All client computers running x86 systems (WINXP, WIN7) have no this problem when running the same reports. Though it says "The disk may be full.", I ensure that there is enough space on the servers.  And we did not have this problem before even on the x64 system.

Does someone know what the probem might be and how to fix it?

 Thanks a lot!

*This post is locked for comments

I have the same question (1)
  • Community Member Profile Picture
    on at

    Hi,

     

    can you check security settings in the tmp folder?

  • Community Member Profile Picture
    on at

    Hi again,

     I just got a very similar issue and fixed it by disable the antivirus application.

    Hope it is useful for you.

  • tylerlee Profile Picture
    610 on at

    Hi Pin,

    Thanks for your response.  But there is just no such directory \appl\standard\tmp\ in AX 2009 client installation folder. A similar directory did exist in Axapta 3.0 (Axapta Client\appl\standard\tmp).  We upgraded from AX 3.0 SP5 to AX 2009 SP1 almost one year ago and everything had been working well.

     Also there is no anti-virus software installed on the x64 Windows server 2008.

     

  • LiuJie Xu Profile Picture
    90 on at

    Hi tylerlee,

    Did you fix this issure? Can you show me your solutions step? I got this error in my server now.

    Thanks

  • tylerlee Profile Picture
    610 on at

    We fixed the problem by modifying the System Environment Variables on the AX server and then reinstall MS SQL. This problem seems involved with SQL registered servers.

    The below script is used (saved it as a .vbs file) to change the user environment variables. If you want to know the detailed steps, please email me  tylerl[at]qvsglobal.com.cn

    [quote]

    Set wshShell = CreateObject( "WScript.Shell" )

    'For User environment variable.

    Set wshSystemEnv = wshShell.Environment("USER")
    ' Display the current value
    tempStr=wshSystemEnv( "Temp" )
    WScript.Echo "Temp=" & tempStr

    if Right(tempStr,1)=";" then
    WScript.Echo "Already contains ;"
    else
    ' Set the environment variable
    wshSystemEnv( "Temp" ) = tempStr & ";"

    ' Display the result
    WScript.Echo "Temp=" & wshSystemEnv( "Temp" )
    end if


    ' Display the current value
    tmpStr=wshSystemEnv( "Tmp" )
    WScript.Echo "Tmp=" & tmpStr

    if Right(tmpStr,1)=";" then
    WScript.Echo "Already contains ;"
    else
    ' Set the environment variable
    wshSystemEnv( "Tmp" ) = tmpStr & ";"

    ' Display the result
    WScript.Echo "Tmp=" & wshSystemEnv( "Tmp" )
    end if

    '
    Set wshSystemEnv = Nothing


    Set wshShell     = Nothing

     

    [/quote]

  • Community Member Profile Picture
    on at

    Dear Tyler,

    Could you please show me how to solve the issues

    Cannot create temporary files

    Cannot create temporary files: C:\Program Files (x86)\Microsoft Dynamics AX\50\Client\appl\standard\tmp\$tmp00303e8.$$.  The disk may be full.

    As your comment in the Microsoft Dynamic site, do we have to reinstall SQL Server?

    I am looking for your respond.

    Thank you for your time.

    I can not reach you at you email address tylerl[at]qvsglobal.com.cn

    Could you send me by email anh_mainguyen@hotmail.com.

    Best Regards,

    Anh Mai

  • Suggested answer
    Community Member Profile Picture
    on at

    Dear brother,

    this problem happened with me and I spent 1 day to solve it.

    the solution is:

    got the following path in RegEdit:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server

    then change the value of     PerSessionTempDir to be dword:00000000

    now everything Is ok.

    Eng.khalid Saleh

    00966590010831

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans