Error 50003 in Windows 8/Server 2012

Posted by: jonbrehaut on 4 August 2017, 3:23 pm EST

  • Posted 4 August 2017, 3:23 pm EST

    We have a very odd issue which I'm hoping someone can help with:

    We have an old VB6 program that is mostly working perfectly, however there are a couple of reports that are crashing the program to crash (despite error trapping) with a 'Run time Error 50003. Unexpected error'.

    The program works perfectly in Windows 7 32bit and 64bit versions, the problem only seems to occur in Windows 8(.1) and Terminal Server 2012.

    Even more weirdly the error is not occurring in the report itself but rather when it is passed to a class as an object (passing other reports in this manner does not cause any issues).

    There is nothing special or different in this report.

    Looking online error 50003 is generally associated with an OCX/DLL being out of date but all the ones we have check so far are correct or newer.

    Has anyone else had any problem like this?
  • Replied 4 August 2017, 3:23 pm EST

    Jon,

    What the current build of ActiveReports 2.0 which you are running at the moment? Since this error is only occurring for one report, it is difficult to predict the exact cause of the issue. Can you please take a look at the following link which is specific to this error and windows 8 and see if the suggestion here help:
    http://stackoverflow.com/questions/13530491/does-vb6-visualbasic6-apis-work-on-windows-8/page#answer-13726235

    Regards,
    Sankalp
  • Replied 4 August 2017, 3:23 pm EST

    Hi again, That has indeed help isolate the problem:
    Since I raised the issue we have found a couple more reports which don't work and following from that we have discovered the following: The reports that don't work show a different icon when in design mode (see attached).

    We do not know however where this comes from: We cannot change this icon, it appears to be imbedded in the .DSX file and we have no control over this:

    Currently are only solution is to create a new report and cut/paste everything into this: This new report has a 'correct' icon and all seems well.
    Is there anyway we can change the imbedded icon or do you have any idea where these other icons have come from?
    (We are running version 2.4.1.1283)


  • Replied 4 August 2017, 3:23 pm EST

    Jon,

    The report running correctly in the attached screenshot shows that they have the default icon which is present for ActiveReports 2.0? Are you using a custom icon in your reports? Also can you please try installing the latest build and check if the results are better? You can download it from here:
    download.componentone.com/pub/ar2std2501322.zip

    This is not a licensed installed and is for the standard edition of ActiveReports 2.0. Let me know what results you get.

    Regards,
    Sankalp
  • Replied 4 August 2017, 3:23 pm EST

    Hi Sankalp
    The thing is we have never put any icons into our reports at all (whats the point?!). Having been through the entire project and checking our subversion history however it appears that when a report is first created a 'random' icon gets assigned to the report automatically, there about 8 different ones in our project (created over about 3 years all with active reports 2).

    In the reports that are not working I have since manually inserted a generic 16x16 16 colour icon into them (256 colour icons do not work). This has shrunk the .FRX file and ALL these reports now work so it appears to be some generic issue with reports that have an embedded icon with more than 16colours.

    As this was an urgent issue to get our clients back up an running we unfortunately do not have time to spare testing with a standard version of active reports but thank you for you time.
  • Replied 4 August 2017, 3:23 pm EST

    Jon,

    Thank you for letting me know. Good to see that the workaround works for you currently. You can try the latest build in future to verify if it gives any better results.

    Regards,
    Sankalp
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels