Skip to Content
0
Jul 03, 2012 at 09:28 PM

Error in formula UFL 'u25samp1.dll' that implements this function is missing

135 Views

I have inherited an application that appears to be converted to Visual Studio 2010 already, but the Crystal Reports are not compiling. I am unable to compile due to the reports running functions that use u25samp1.dll. The function appears to format a string and is called picture({value, "stringformat"}).

Initially, I opened the solution and none of the crystal report dlls existed. Because I was on a new machine, Crystal reports was not installed. To remedy this I have installed the latest CR for Visual Studio "CRforVS_13)0_3.exe". Running the exe installed the crystal dll's.

I had to upgrade each of the crystal reports (.rpt) to run under this new Crystal version. One of the reports showed the error: "Error in formula UFL 'u25samp1.dll' that implements this function is missing". I was able to fix this by taking the function output that was on the page (@someval) and removing it from being inside another label. The error for that report went away. Now I have another report that is using the "picture" function in a "group by" header and causing the same error. Removing the group by header resolves the issue. But, I don't want to remove it.

How is the u25samp1.dll to be used? Does it need to be installed in the GAC? If so, when I deploy as ClickOnce, will it output?

Here is what I already have setup, based on my research of this issue:

Platform target = x86

Target framework = .NET Framework 4

Also, I see that under the project properties, these locations are under "Reference Paths" (not sure if necessary):

C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\

C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\

Thank you