SAP Knowledge Base Article - Public

1266912 - How to deploy Crystal Reports UFL created in Visual Studio .NET


  • Error in file C:\DOCUME~1\rolfd\LOKALA~1\temp<guid>.rpt: The request could not be submitted for background processing
  • Formula functions defined in the UFL do not appear in the Crystal Reports designer


Crystal Reports UFLs created in Visual Studio .NET need to be in placed in the GAC and REGASM must also be used. Note that Regasm.exe command-line options are case insensitive.


  1. Ensure Crystal Reports designer is not running
  2. GAC the dll as follows:
    a) Copy the UFL dll into The correct bin directory. For Crystal Reports 2008, this is C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86
    b) At the .NET command prompt type; gacutil -i "C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\<name of your UFL>"
    This should result in the message; "Assembly successfully added to the cache."
  3. Run REGASM from the command prompt:
    Type regasm "C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\<name of your UFL>"

Note: For 64-bit environment there are two Regasm.exe files: for 64-bit in C:/Windows/{.Net version number} and for 32-bit in C:/Windows/{.Net version number}. Because Crystal Reports is 32 bit application the UFL should be registered for 32 bit.

  1. To register for 32 bit, copy the UFL to the C:/Windows/{.Net version number}/ folder
  2. In command line go to  C:/Windows/{.Net version number}/
  3. Regasm <name of your UFL>

For more details, see the Developer Library, BusinessObjects Enterprise XI 3.1 and Crystal Reports 2008  Developer Help:


See Also

See these examples of creating and deploying a UFL also:

1603381 - How to create a C++ UFL using the new Unicode UFL interface in Crystal Reports 2008 & later

1525014 - Sample C# .NET UFL and Localization Formula function



custom functions, implement a custom function, Custom DLL  , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To


Crystal Reports 2008 V1 ; SAP Crystal Reports, developer version for Microsoft Visual Studio