Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

NAV 2009-Can't Open Application-Error Invalid File Name

(0) ShareShare
ReportReport
Posted on by

Hello,

I am new to NAV. Can't open my application at all. Its giving me error "The file name contains character that canto be used. Check file name"

I changed temp file location for exporting reports and after I closed the application, I can't even open the application at all. Please help!!

1447.ERROR.jpg

Thanks in advance!!

Varinder Singh

*This post is locked for comments

  • Suggested answer
    Yogesh Kulkarni_ Profile Picture
    1,762 on at
    RE: NAV 2009-Can't Open Application-Error Invalid File Name

    Varindersra,

    Please check for the TempFilePath property available under Tools -> Options.

    i.e. Tools -> Options -> TempFilePath

    Please change that to store your exported files to different folder.

     

    -Yogesh Kulkarni
    Please verify, if you find answer helpful.

  • Community Member Profile Picture
    on at
    RE: NAV 2009-Can't Open Application-Error Invalid File Name

    Thanks a lot!! That has fixed the error.

    The reason I wanted to change the folder was because I was trying to export a report and application was trying to put that into the "Temp" folder but storage space allocated to the folder is not enough to store this file. So, application was giving me the error "not enough space available.

    Is there a way to change the folder, so I can export a larger size file from NAV 2009?

    Thanks a lot for you help!!!

  • Verified answer
    Alex A Profile Picture
    2,348 on at
    RE: NAV 2009-Can't Open Application-Error Invalid File Name

    What version of NAV do you have? Try deleting the local configuration (.zup) file.

    Look for it:
    C:\Documents and Settings\USERNAME\Application Data\
    OR
    C:\Users\USERNAME\AppData\Roaming

  • Community Member Profile Picture
    on at
    RE: NAV 2009-Can't Open Application-Error Invalid File Name

    I change it to Network Drive location: <O:\Folder Name.

    It was: <C:\Users\Vsingh\AppData\Local\Temp (I may not know all the right characters to put in but that was the location).

    Yes, this is only affecting my computer. For other users its working fine.

  • Alex A Profile Picture
    2,348 on at
    RE: NAV 2009-Can't Open Application-Error Invalid File Name

    What did you change it to? And what was it before? Is this only affecting your computer/NAV? Are there other computers on the network and are they able to get into NAV?

  • Community Member Profile Picture
    on at
    RE: NAV 2009-Can't Open Application-Error Invalid File Name

    That's was the only change that I made. The error message that shows up also lists the file path that I used. So, that tells me that is the issue.

    I made that change by going to menu: Tools>Options and then changing the "Temp folder location".

    I think if I could reset the user setting without going into application UI, that will fix my problem but I don't know how to do that.

  • Alex A Profile Picture
    2,348 on at
    RE: NAV 2009-Can't Open Application-Error Invalid File Name

    That change you described doesn't seem like it  would cause this but  you never know... Were there any other changes? Can you open the Development environment and find the page or table where the change was made?

    There are other ways to alter the data stored in the database without actually opening the application, but it requires expert analysis. Do you have a Reseller you can call for support? Do you have a Database Administrator in-house?

  • Community Member Profile Picture
    on at
    RE: NAV 2009-Can't Open Application-Error Invalid File Name

    I can't change it back. When I try to start the application, I get an error message and application closes after that.

    I am not able to access the application, that's my issue.

  • Alex A Profile Picture
    2,348 on at
    RE: NAV 2009-Can't Open Application-Error Invalid File Name

    Change it back. Make sure the file name & location does not contain any special characters or spaces.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans