Error u2lcapw.dll in Crystal Reports for Sage 300
In order to use the PWFormatDate() formula, the u2lcapw.dll file must be located within a specific place on the computer. This formula is used for Date and Time fields.
During the installation of Sage 300, or Client Installation, they are created in:
C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86
Resolution
To have the formula work properly for Sage 300, the u2lcapw.dll needs to be copied in the following locations:
- On older versions of Sage 300 the various u2*.dll files needed to be in c:\Windows\Crystal.
- On newer versions they needed to be in C:\Windows\System32 or C:\Windows\SysWOW64.