Results 1 to 4 of 4

Thread: recieving runtime error after deployment

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    2

    recieving runtime error after deployment

    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

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: recieving runtime error after deployment

    Also verify that the VB DLL which contains the implementation of the User Defined Function was also installed/registered properly.

  3. #3
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Thumbs up Re: recieving runtime error after deployment

    WelCome On the Forums
    This error is a VB/VBA automation error
    Specifically this error means ‘Out of memory’.


    Possible Cause and Remedy:
    Look This For More Detail
    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.

  4. #4

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    2

    Re: recieving runtime error after deployment

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width