Error: A Number, Currency Amount, Boolean, Date, Time, Date-Time, or String Is Expected Here
Explanation: You're getting the error message "A Number, Currency Amount, Boolean, Date, Time, Date-Time, or String Is Expected Here". In general, this happens when you're running a Crystal Reports template that was created on one machine, that the report developer used a custom DLL to create the report (in a formula field), and those DLLs were not copied/installed/registered on the machines running Report Runner Viewer or Report Runner Batch. The custom DLLs are normally stored/registered in the Windows Crystal directory.
In short, it means your report is trying to use a function that the Crystal Reports runtime engine does not recognize. You're missing a custom UFL/DLL that is used in the formula field.
You can also get this with version incompatibilities. For example, if you were to run a Crystal Reports 2008 template in Crystal Reports XI, there are a few new functions to 2008 that XI doesn't know how to run. HasValue is one of those functions.
---
Where to install custom DLLs:
32-bit machine:
C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86
64-bit machine:
C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86
You have to copy the custom DLL from a working machine to the machine where it's not working.