Skip to Content

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

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 04, 2012 at 10:55 PM

    There should be no need to GAC the dll as this is a COM dll, not a .NET dll.

    Check to see that the u25samp1.dll is in the" C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86" folder.

    Add the report to your project and see if you can run it from the CR designer in the .NET IDE.

    When you try to runt he report in your project, are you running it as a compiled exe (32 bit or 64 bit)? Or are you running the project from the .NET IDE?

    - Ludek

    Follow us on Twitter

    Got Enhancement ideas? Try the SAP Idea Place

    Share Your Knowledge in SCN Topic Spaces

    Add a comment
    10|10000 characters needed characters exceeded

    • I'm not able to provide the report. I did however come up with a way to not use the picture method. Thanks for your help.

      left({sp_ReconcileLesseeValues;1.Originating_Asmt},3) + "-" +
      mid({sp_ReconcileLesseeValues;1.Originating_Asmt},3,3) + "-" +
      mid({sp_ReconcileLesseeValues;1.Originating_Asmt},6,3) + "-" +
      right({sp_ReconcileLesseeValues;1.Originating_Asmt},3)

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.