I am attempting to use a simple Code128b barcode formula in one of my reports on an ASP.NET 4.0 website. As soon as I save this formula field in my Formula Editor screen, I get a "UFL 'u212com.dll' that implements this function is missing" error, and as you would expect, the dll is not visible when I expand the "Additional Functions" tree menu in the editor, and the same error occurs at runtime when I attempt to load the report with the barcode formula.
Here are the details of my environment:
- Windows 7 Professional SP1 64-bit
- Visual Studio Premium 2012
- Crystal Reports for Visual Studio version 13.0.5.x installed via the "Support Pack 5" link at http://scn.sap.com/docs/DOC-7824
I have looked through a few posts on this forum where this same error was encountered but have had no luck in resolving it. Here's what I know:
- u212com.dll does exist in my "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86" folder
- I get the error with or without the 64-bit CR runtime installed, but with it installed, u212com.dll also exists in the same path as above but ending with the \win64_x64 folder.
- Running regsvr32 u212com.dll as administrator in either of the above two folder results in the error "The module u212com.dll was loaded but the entry-point DllRegisterServer was not found. Make sure that u212com.dll is a valid DLL or OCX file and then try again."
- I coped the DLL to my \Windows\SysWOW64 folder, ran the same command above, and got the error "The module u212com.dll failed to load. Make sure the binary is stored at the specified path or dbug it to check for problems with the binary or dependent .DLL files. The specified module could not be found."
- When I try to add the DLL to the GAC via Gacutil with the -i switch, I get the error "Failure adding assembly to the cache: The module was expected to contain an assembly manifest"
- Finally, I ran the DLL through DependencyWalker and got a few errors...
Image may be NSFW.
Clik here to view.
I think I'm out of ideas now. The frustrating thing is that just a couple of weeks ago, I had VS 2010 on my machine with Crystal Reports for Visual Studio 13.0.2.x installed, and the u212com.dll functions were working fine. I had to reinstall Windows 7 on my dev machine, and with a clean environment, this started happening right after installing VS 2012 and the 13.0.5.x version of Crystal Reports that goes with it. I've tried installing/uninstalling support packs 1, 2, 3, and 5, but nothing has helped.
I would be sincerely appreciative of any expert advice for how to get past this error and successfully register this DLL so that I can use my report and see my Code128 barcodes again.