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