cancel
Showing results for 
Search instead for 
Did you mean: 

ASP.NET MVC 4, C# - The Visual Basic UFL that implements this function is missing (or U2lcom.dll is missing)

Former Member
0 Kudos

I have created User Function Library in C# following by this tutoral: Tutorial: Creating a User Function Library.

When I generate report preview in VS 2008 function works correctly - it's registered in Global Assembly Cache on develop machine as in tutorial.

But when I need to deploy crystal on web server there is error:

The Visual Basic UFL that implements this function is missing (or U2lcom.dll is missing). Details: errorKind Error in File report.rpt: Error in formula code128: 'SpxFnUflSpxFnConvertTxtToCode128 ({command.BARCODE})' The Visual Basic UFL that implements this function is missing (or U2lcom.dll is missing)

On web server there is also registered this UFL in GAC.

How to fix this problem?

Details:

  • I build this app on profile "Any CPU". I have installed both 32 and 64 bit libs and my project references to MSIL path:
  • C:\Windows\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\13.0.2000.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll
  • File version of Crystal lib: 13.0.2.469

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

You are on SP 2, CR for VS is now up to SP 16. Try rebuilding your UFL using the latest runtime.

You are also using the MS KBA on how to, that article is very old...

See this updated one on SAP's site:

https://i7p.wdf.sap.corp/sap/support/notes/1525014

Don

Answers (0)