on 08-05-2014 9:28 PM
I am working through migrating older reports from a very outdated version of Crystal into a newer version and trialing Crystal Server 2013 with Crystal Reports for Enterprise. The only problem I am running into is that I have many reports using the NumberToDate function to pull a number string and form it into a date for the report. I really need this function to work because we rely on it quite heavily. When I pull reports that use it into my new environment I am given the following error:
"UFL 'u2ltdate' that implements this function is missing."
I have found the u2ltdate.dll on the web and transferred it into the following folders: windows/system32 and program files(x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0/win32_x86 and the win64_x64 as well just to be sure. But to no avail I am still unable to use the NumberToDate function. I have even tried copying the u2ltdate.dll from our older server, and this doesn't work either. I really need to get this working as soon as possible. I don't know if I need a 64 bit dll because it is windows server 2008 or if I don't have it in the right places. Please help!
You can't just copy the file, you also have to "register" it with the system using regasm:
Run REGASM from the command prompt:
regasm "<path to DLL file>\<name of your UFL>"
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I get the same error. But I am trying to use a COM DLL in cr4e-all-in-one-win_2.0.18. The DLL is also placed in the folder : C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86. Still I get the same error. Where should the DLL be placed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to rewrite it in Java.
Search is not working for me right now but I believe this is the KBA you want.
1258696 - Java Custom Functions for Crystal Report 2008
Don
Thanks for the reply! Search does not work for me either. Do I need to rewrite it to Java UFL even if I am using cr4e-all-in-one-win_2.0.18 to generate crystal reports. Also, Do I need to change the Options-> Formula Editor->UFL Support to "Java UFLs Only". Currently C/COM UFLs Only is selected in crystal reports.
Dell, Thanks for the help, I tried that and it wouldn't register, it seems that it might have some dependencies. I can't quite figure out what they are though.
Maybe I need the entire UFL, I am pretty new to Crystal Reports and have been tasked with getting this up and running. Where I can find the numbertodate UFL, all of the links that I can find on SAP's site do not work anymore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh really? Well should it still work, or is there a way to make it work?
I got the error right when I first opened the u2ltdate.dll into Depends, I got this error: "Errors were detected when processing "c:\windows\system32\u2ltdate.dll". See the log window for details. Then the log window is what said: "Error: Modules with different CPU types were found."
Hi Warre,
Don't put the ufl into the \windows\system32 folder. Nothing should go there now.
I doubt this will ever work in CR for Enterprise. It's a Java Designer so the only way to make it work is to create a Java UFL.
Search for this KBA:
1803967 - How to make a Java UFL available in Crystal Reports 2011 Designer?
Same for CR for Ent., you need a Java UFL.
Only way to make this work is to convert the UFL to Java or use Crystal Reports 2011 or 2013.
See this MS Forum post I responded to also:
Custom Crystal DLLs with Crystal Reports 2008 for Visual Studio Run Time
And this one:
http://scn.sap.com/docs/DOC-35036
And this one:
Try searching, there is a kbase article with a sample attached.
And you will need a 64 bit version because some of the report processing servers may be 64 bit only but I believe the Crystal Report Processing Server is 32 bit only. It will need the UFL copied into it's \win32_x86 folder.
Only issue you should have is using CR for Ent. to design/update/create the reports with that function. Use CR 2011 or 2013 and it should work.
Problem is we no longer have the source code for that UFL and others, quite often they were written by Support people and therefore not saved into our code source system.
Don
Hi Warren
Actually, that is an older dll and I do not think you need to regasm it. I'm referencing this KBA, but I do not want to negate Dells' input either... (e.g.; I'll do a bit more research on this dll).
In the meantime, it may be that a dependency is missing for the UFL. See if the Depends20 utility points you to some missing dll.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.