PDA

Click to See Complete Forum and Search --> : recieving runtime error after deployment


mhardy
Jan 8th, 2007, 02:59 PM
I am receiving runtime -2147191834 (800473e6) after I have run setup. The message is "Visual Basic UFL that implements this function is missing or (U2lcom.dll is missing)". I am using CR ver. 10 and VB 6 and have verified that the U2lcom.dll was distributed with the setup. Everything runs fine on the development machine. The report is a bar code label with IDAutomationHC39M forts and the formula is

"IDAutomationFontEncoderCode39 ({WorkingLabel.PART_NO})"

Dim iINIFile As Integer
Dim sINIFile As String
Dim sDBFile As String
Dim sDBFile2 As String
Dim CRReport As CRAXDRT.Report
Dim CRApp As New CRAXDRT.Application

iINIFile = FreeFile
sINIFile = App.Path & "\IMMS.INI"
Open sINIFile For Input As #iINIFile
Input #iINIFile, sRec
sDBFile = Mid(sRec, InStr(sRec, "=") + 1)
sDBFile2 = Replace(sDBFile, "\InteractiveMaterialManagementSystem.mdb", "")

Set CRReport = CRApp.OpenReport(sDBFile2 & "\Reports\Report2.rpt")

With CRReport
.Database.Tables(1).Location = sDBFile
.RecordSelectionFormula = "{WorkingLabel.LabelIndex}=" & txtSeq.Text & ""
.PrintOut
End With

Set CRApp = Nothing
Set CRReport = Nothing

brucevde
Jan 8th, 2007, 03:23 PM
Also verify that the VB DLL which contains the implementation of the User Defined Function was also installed/registered properly.

shakti5385
Jan 9th, 2007, 02:03 AM
WelCome On the Forums :wave:
This error is a VB/VBA automation error
Specifically this error means ‘Out of memory’.

Possible Cause and Remedy: Look This For More Detail (http://support.microsoft.com/kb/q186063/) :wave:
This error has been encountered when an application was attempting to write to the NT/W2K event log but the NT/W2K event log was full. The event log was set to ‘Override events older than NN days’ (and there was no system message indicating that it was full). Changing this to ‘Overwrite Events as Needed’ removed the error. The application in question was a Visual Basic 6 application, it is not clear if that is significant.

mhardy
Jan 9th, 2007, 01:07 PM
Thanks for the warm welcome and the quick responses.

Unfortunately up to this point nothing has worked out. I have changed the properties and cleared the event logs on the server (where the report is housed) and the local machine (where the vb app resides) still receiving the same error. I am able to use the fonts in word docs so I believe they're installed correctly.

As for DLL's I know that the VB UFL's are in U2lcom.dll and that this file is on the target machine. I have tried to register it and receive the message "No entry point was found". I am not sure if this has to be registered or not.

I have loaded Crystal reports on the machine but under Functions/Additional Functions/ the Visual Basic UFL's are not appearing. This leads me to believe that the Visual Basic UFL’s will have to be installed on every machine using the application.

Does anyone know where I can get the setup of the Visual Basic UFL’s?