There was an error running the report file

Source: Internet
Author: User
Tags tmp file tmp file extension

Occurs when you try to run a report

Error while setting server report parameters. Error message: The DefaultValue expression for the report parameter "Ax_companyname" contains errors: the file exists. (rsruntimeerrorinexpression)

This mistake has some inexplicable its confusion, feel irrelevant, set a parameter of the default value how to also reported file existence error.

Try to view the report at the Service site of the SSRS site with the following error message:

It looks like you need to log in to AX2012 when you view the report, and when you log in, it tries to create a temporary file through the GetTempFileName method to view the comment information for that method on MSDN.

This method creates a band. Temp file with the TMP file name extension.

gettempfilename method would raise an ioexception if it's used To create more than 65535 files without deleting previous temporary files. " If you use   gettempfilename  method to create more than 65,535 files without deleting the previous temporary files, the   will be raised; IOException.

gettempfilename method would raise an ioexception if no unique Temporary file name is available. " If you do not provide a unique temporary file name,   gettempfilename  method will raise   IOException.   To resolve this error, remove any temporary files that you do not need.

View the temporary folder where the SSRS run account resides.

In this directory, the temporary files have reached the tmpffff.tmp, and then create more than the maximum number of times, so there is a file error, the Temp folder will be empty.

As for why the report is running to create a temporary file, you need to decompile the relevant DLL to know.

There was an error running the report file

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.