Error in Business Hrs Formula u2lcom.dll is missing

Hi,
I have recently migrated a Crystal Reports 10 Ent system to a Business Objects Crystal Enterprise XI R2 system.
I have one problem with it which seems to be a mismatch in code and u2lcom.dll.
One of my users gets the following error when creating and running a report:
Error in file xxxx Error in formula <Business Hrs>
wdaysClass1wdLoadFile ("C:\wdays.txt) UFL u2lcom.dll that implements this function is missing.
I have installed Crystal Reports XI on a workstation, opened the report and tested the formula and it gives the same error.
However, if i copy older dlls from c:\windows\crystal on the user's machine (he has versions 8.5, 10 and 11.5 of CR installed!) to my machine and register them it then works with no errors.
The version of u2lcom.dll copied over is 8.0 and the version is installed with CR XI is 11 and is in common files\bus obj\3.0\bin\
Is there a way of me recompiling the function or report to use the newer dll? i really don't want to have to use older dlls on the server!
Any help would be greatly appreciated. I can paste the code from the formula if needed?
Edited by: Ben Marshall on Nov 5, 2008 1:14 PM
Edited by: Ben Marshall on Nov 5, 2008 1:44 PM

wdaysClass1wdLoadFile ("c:\wdays.txt") ;
datetimevar Start:= {Command.OPEN_TIME};
datetimevar End:= currentdatetime;
timevar defaultstarttime:= time(8,0,0);
timevar defaultendtime:= time(18,00,0);
stringvar workingdays:= "-23456-";
datevar startdate:= date(Start);
timevar starttime:= time(Start);
datevar enddate:= date(End);
timevar endtime:= time(End);
numbervar HrsInAWorkDay:= hour(defaultendtime) - hour(defaultstarttime);
While wdaysClass1wdIsWorkDay (startdate, workingdays) = FALSE do
    (startdate:= startdate +1; starttime:=defaultstarttime);
While wdaysClass1wdIsWorkDay (enddate, workingdays) = FALSE do
    (enddate:= enddate +1; endtime:=defaultstarttime);
    if endtime < defaultstarttime then
            endtime:= defaultstarttime;
    if endtime > defaultendtime then
            endtime:= defaultendtime;
    if starttime < defaultstarttime then
            starttime:= defaultstarttime;
    if starttime > defaultendtime then
            starttime:= defaultendtime;
numbervar totaldays:= wdaysclass1wdnumworkdays(startdate,enddate,workingdays);
numbervar hours_fulldays:= (totaldays - 2) * HrsInAWorkDay;
numbervar hours_FirstDateTime:= hour(defaultendtime) - ((hour(starttime)*60) +minute(starttime))/60;
numbervar hours_LastDateTime:= (hour(endtime) + (minute(endtime) / 60)) - hour(defaultstarttime);
hours_fulldays + hours_FirstDateTime + hours_LastDateTime;

Similar Messages

  • Encountered SQL Developer Error 'Can't Start because MSVCR71.dll is missing

    Hello,
    Thanks for looking at this entry
    I have an older version of SQL developer and it suddenly won't run with the following error
    'Can't Start because MSVCR71.dll is missing from your computer. Try reinstalling the program.........'
    And it is indeed missing. So, rather than download what might be a virus from the internet (new version of MSVCR71.dll ), I tried to do a new install of SQL developer from:
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    I put it on my D drive, unzipped and tried to launch.
    It asked where I had java.exe (full path name). I found it at C:\Windows\System32\java.exe
    Now I encounter: Cannot find J2SE SDK installed at path C:\Windows\System32\java.exe
    Please help
    Regards
    Bill

    Hi,
    The 32-bit and 64-bit Java 7 JDKs include only msvcr100.dll, 32-bit Java 6 includes only msvcr71.dll, and 64-bit Java 6 has neither!
    Also, keep in mind that Java 7 is not certified yet for ANY* version of SQL Developer. The standard recommendation is to install the latest update in the Java 6 JDK code line (currently 1.6.0_45) and use that. Make sure to get the 32-bit version!
    Regards,
    Gary
    Edited by: Gary Graham on Apr 24, 2013 1:15 PM
    Corrected which Java downloads actually contain the msvcr71 and msvcr100 DLL versions. Sorry for messing it up the first time!

  • I can't access my i tunes, getting message-System error-can't start because MSVCR80.dll is missing, also i tunes was not installed correctly-error 7(Windows error126)-What do i do to get into my itunes library?

    Can someone please help me to get to my i Tunes library? I am getting the following message when trying to access i Tunes=i Tunes. exe-System error-can't start because MSVCR 80.dll is missing-Try reinstalling program. Also i Tunes was not installed correctly-Please reinstall i Tunes.-Error7(Windows error 126).

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • HT1926 Error msg APS Daemon.exe MSVCR80.dll is missing

    Earlier today I tried to install the newest version of iTunes and was unable to complete the installation process.  Received the error message APS Daemon.exe that MSVCR80.dll is missing plus Error 7 Windows error 126 that iTunes not correctly installed.
    I tried uninstalling & reinstalling iTunes but same error.
    I installed and tried 3d party software RegCure that said it could repair MSVCR80.dll problems but did not work.
    Currently I no longer have iTunes on my PC.
    How do I correct this problem?
    Not sure if it's related but I installed the latest Adobe Java update earlier this morning.  Is there some conflict there?
    Help.

    Click here and follow the instructions.
    (98745)

  • Moved Itunes to an external drive.  When prompted to update versions, the download would not install, now I get an error message indicating file msvcr80.dll  is missing.

    I moved my ITunes to an external drive.  Whe I was prompted to run the update for a new version of Itunes, It downloaded but would not install.  now when opening Itunes I get an error message indicating the file msvcr80.dll is missing.  How can I restore this, and e

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • U2lcom.dll function error on Crystal Xl

    I am getting the following error when i am running my report, i am using a barcode formula from a 3rd part UFL:
    Crystal cannot display report. UFL 'u2lcom.dll' that implements this function is missing. Error in File Manifest {7C6C1024-04DA-4F02-B74C-9E413E7842DC}.rpt:
    Error in formula Barcode:
    'stringVar DataToEncode:= "1234"; '
    UFL 'u2lcom.dll' that implements this function is missing.

    Update to CR XI R2 and test again. See this blog on how to upgrade.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • BOXI 3.1FixPack 1.3 Installation-Business Objects.ReportEngine.WI.dll error

    Hi All,
    While iam installing the BOXI R3.1 Fix Pack 1.3 on window server2003 SP2 with Oracle database.
    Fixpack has thrown an error message
    "Error 1304 writting to file -Business Objects.ReportEngine.WI.dll     verify that you have access to directroy STW00205"
    Please advice me .
    Any help would be appreciated.
    Thanks
    Mahesh

    I have tried installation with all servers(process) in SIA  are in started and enable mode,is it correct ?
    do we need to stop the servers in SIA?
    Please advice me to Install Fix Pack 1.3

  • UFL 'u2lcom.dll' that implement this function missing...

    Post Author: YAO
    CA Forum: Formula
    ey dudes,
    "UFL 'u2lcom.dll' that implement this function missing"
    Thats the error Crystal reports send me when i try to run a report.
    i searched for it and the file already exist.
    I use Crystal Reports XI
    Can u help me?
    Thank you.

    Don,
    thank you very much. It solved the issue.
    Earlier the vb6 dll was registered using an a/c id different than the one to login to Crystal Enterprise server from .Net code.
    Now copied the dll to 'c:\Program Files\Business Objects\common\3.5\bin\ on the server and ran,
    *regsvr32  c:\Program Files\Business Objects\common\3.5\bin\crufltest.dll and it woorked.*
    Thanks.

  • U2lcom.dll Missing?

    I am using the Visual Basic EZQualHousingExpense function to find the Housing Expense from easyLender. 
    It is working fine on my laptop, but when I move the report to the Crystal Reports Server, it fails saying
    Error in formula <housing expense>. 'EZQualHousingExpense ({LOAN_APPLICATION.application_no}) ' UFL 'u2lcom.dll' that implements this function is missing.
    How can I fix this?
    I am using Crystal Reports XI.

    Hi Vicky,
    From your questions it appears to me that you are using a Custom Function, either developed by you or downloaded from some website. If you would like this formula to also work on the enterprise machine, then you will have to install this funtion on the server machine as well.
    How do you know if the function is installed: -
    On your Laptop, when you openb the formula which uses the function, you will find that it is blue in color. The same function will appear in black if it is not installed on the machine.
    Please let us know if this helps.
    Cheers!

  • When I plug in my Ipod touch to my computer a warning appears "The program cant start because MSVCR80.dll is missing."  I can not access my Itunes library.  Also, an "error 7 Windows error 126" appears as well.  Any ideas?

    When I plug in my Ipod Touch to my computer I can not access my Itunes library.  The following message appears "The program cant start because MSVCR80.dll is missing."  Also, another message appears as well - "Error 7  Windows error 126" as well as APSDaemon.exe.
    I have NO IDEA what the heck to do.
    Any ideas?
    Thanks!

    Issues installing iTunes or QuickTime for Windows
    solving MSVCR80
    iTunes 11.1.4 for Windows: Unable to install or open
    Troubleshooting issues with iTunes for Windows updates

  • I have updated my iTunes to the latest edition and now my iTunes wont open saying MSVCR80.dll is missing from my computer and that i have to reinstall itunes. I have tried reinstalling twice now and this error message keeps appearing. What is going on?

    I have updated my iTunes to the latest edition and now my iTunes will not open saying MSVCR80.dll is missing from my computer and that i have to reinstall itunes. I have tried reinstalling twice now and this error message keeps appearing. What is going on?

    Solving MSVCR80 issue and Windows iTunes install issues.

  • HT201210 After downloading latest version of iTunes it will not open.  This error message is displayed;  The program can't star because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem.  Then a second error box

    After iTunes requested that I download latest version on PC it now will not open.  2 error messages appear.  first:  The program can't start because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem.  second:  iTunes was not installed correctly please reinstall iTunes. Error 7 (Windows error 126).  I have tried reinstalling a number of times and restarting computer but no luck.

    This happened to me today as well post installing the latest version of itunes.   I did a search on google for the error and came across a recommendation to :
    Note: Start Windows in Safe Mode to complete any of the following steps if you're unable to access Windows normally due to the msvcr80.dll error.
    If, and only if, you're receiving the msvcr80.dll is missing error when you open Apple iTunes, do the following: (skip this step if your msvcr80.dll error is occurring with a different program)
    Uninstall from Windows the following five programs in this order: iTunes, Apple Software Update, Apple Mobile Device Support, Bonjour, and finally Apple Application Support. If you have iCloud, remove it as well.
    Uninstalling these programs in Windows is done from an applet in Control Panel called Programs & Features (in Windows 8, 7, or Vista) or Add or Remove Programs (in Windows XP).
    Note: Songs and playlists in iTunes will not be removed when you uninstall the iTunes program or any of the other, already-mentioned Apple programs. If you'd still like to back them up, they're usually located in the My Music folder in Windows.
    Download the latest version of iTunes from Appleand note the location you're saving it to so you can find it once it's done.
    Run the iTunes installation as an administrator. If you're not sure how to do that, see How Do I Open an Elevated Command Prompt? for help. That procedure shows you how to open the Command Prompt program as an administrator, but the steps are essentially the same for anything, including the iTunes installation package you just downloaded.
    A general overview of removing and reinstalling iTunes can also be found here on Apple's site but the above procedure seems to work better in this particular situation.

  • When opening iTunes I continue to get the same messages, 'The program can't start because AVFoundationCF.dll is missing' and 'iTunes was not installed correctly. Error 7 (Windows error 126)' I've uninstalled, reinstalled many times - nothing! help please.

    When opening iTunes on my new Windows 7 PC I continue to get the same messages, 'The program can't start because AVFoundationCF.dll is missing' and 'iTunes was not installed correctly. Error 7 (Windows error 126)' I've uninstalled and reinstalled many times to no avail, even tried it on a different user account and still nothing. I recently installed Panda Internet Security 2012 (about 12 days ago), initially iTunes worked fine as usual but within the last few days I've been  unable to open it with the same messages appearing. I've read through some of these pages and tried everything that's been advised, uninstalling and reinstalling while internet and laptop security is swithched off, downloading tools to completely remove anything related to iTunes, tried it in Safe Mode, nothing has worked. I've also noticed that in the start menu when I click on iTunes, it says '(empty)' where it should have the logo and ability to start the program, does this mean it doesn't download + install properly each time I've tried? Any help would be enormously appreciated.

    Doublechecking. Have you also tried the following user tip?
    Troubleshooting issues with iTunes for Windows updates

  • My Itunes won't open. When I click on it I get error message:  The program can't start because MSVCR80.dll is missing from your computer.

    The first error message is: itunes.exe-System Error:  the program can't start because MSVCR80.dll is missing from your computer. Try reinstalling the program to fix the problem.
    The second error message says: itunes:  itunes was not installed correctly.  Please reinstall itunes Error 7 (Windows error 126)
    I have reinstalled several times and the same thing keeps happening.  Does anyone know what to do?

    Ralph, both links you've posted point to the same place!
    Ah, I see the second one is meant to lead to Tony's tip: https://discussions.apple.com/docs/DOC-6571
    That one applies for certain launch errors that can occur when iTunes has otherwise installed successfully. I've addressed the same issue in the first box of my tip.
    What would be interesting to know is if Aswim does indeed have QTMovieWin.dll in their Program Files\iTunes folder, and if removing it allows iTunes to launch? It would seem that different error messages may be thrown up by different versions of the file on different versions of the OS. Perhaps many more people have been doing a complete rebuild than needed to.
    tt2

  • My itunes will not open when I click on the icon. An system error appears. "the program can't start because MSVCR80.dll is missing from your computer. Try reinstalling the program to fix this problem." Any ideas on how to resolve, I have tried installing

    My itunes will not open, it displays an error that MSVCR80.dll is missing. I tried reinstalling itunes but it fails because the service is not able to start.

    Same thing happened to me. I ended up completely uninstalling itunes then downloaded it again from http://www.apple.com/itunes/.   If you're using firefox, for some reason itunes will not download and  I  don't know if using googlechrome will also have problems,so just to  be  sure that it will work on your first try, use internet  explorer  when you download itunes. Good LUCK!!

Maybe you are looking for

  • Iphone 5 carger not working (model A1265) .5v 1v 2v???

    I bought 3 model A1265 USB charger bases.  They have always worked fine with no problems. for some reason my Iphone 5 doesn't work with this charger base?! I have other devices that I can charge just fine but not the Iphone 5. I've tried several diff

  • Unit of measure in Sales Order

    Hi All, We have maintained base unit of measure as EA. the sales unit is not mentioned and hence system will take EA as sales unit also. We have maintained alternate unit of measure as BOX and a conversion factor for the same wrt EA. When user enters

  • Finding out in which albums I put my photo

    Library getting bigger and bigger. To me it would be very useful sometimes to find out in which album a certain foto has been included, already. I tend to forget. Since there is a database concept behind iphoto this should be easy. But how? Any clue?

  • Macbook air slow and sluggish on itunes and safari

    Hi guys, I have the 11 inch macbook air with 1.4 ghz 2gigs of Ram and i must say looking through itunes store - simply scrolling up and down through content is very sluggish, slow and jerky, the same applies for certain websites. Its very laggy scrol

  • My ipad2 can mirror on appletv but my ipad3 won't mirror but it can airplay?

    My ipad2 can mirror on appletv but my ipad3 won't mirror but it can airplay?