Active Report Works with XP not on Vista

Posted by: francoisb on 4 August 2017, 3:09 pm EST

  • Posted 4 August 2017, 3:09 pm EST

    We have a vb6 program which uses Active Report but the version 1.1 I think, but I'm not sure. It's working well on windows XP but when we install it on Windows Vista, we get an error when we look at an Active Report:







    Error 5000 : Error in processing report.

    [ Extended Info:[Microsoft][Gestionnaire de pilotes ODBC] Source de données introuvable et nom de pilote non spécifié]

  • Replied 4 August 2017, 3:09 pm EST

    Hello ,


    We do not support Active Reports 1.0 with Windows Vista.


    However, i think the current issue doesn't relate to Active Reports directly.


    Did you try to execute a same query in windows forms VB 6.0 application without any report?


    Thanks,


    Sergey Romanov.

  • Replied 4 August 2017, 3:09 pm EST

    Well, any active reports give that error but all the application works on vsta very well and it's connecting to the database several times before getting to the reports.



    As i said, the same installation package is working fine on Windows XP and the active reports are working to there.
  • Replied 4 August 2017, 3:09 pm EST

    Thank you for your reply. Unfortunately, I have been unable to find much information on the error message provided as it does not translate well to English. However, from what I have found it appears the issue is caused because of some error connecting to your data. Please attempt to connect to, and retrieve data back from the datasource without ActiveReports involved to see if the issue is reproducable with ActiveReports out of the picture.

    Thanks,
        Eric

  • Replied 4 August 2017, 3:09 pm EST

    Hello ,


    If your application is able to get data from database, try to use the unbound report model.


    In this case, you don't need to use Active Report data controls.


    http://www.datadynamics.com/Help/AR2Std/AR2Std_start.htm


    Thanks,


    Sergey Romanov.

  • Replied 4 August 2017, 3:09 pm EST

    I have tried something, you will tell me if it would have been a good solution, but it didn't work.



    i have replaced the code:



    SubReport1.object.DataControl1.ConnectionString = gADOCon.ConnectionString

    SubReport1.object.DataControl1.Source = "SELECT * FROM ....."



    with



    Call sql("SELECT * FROM ..." , gADORec)

    SubReport1.object.DataControl1.Recordset = gADORec.Clone



    this way i assume that the active reports doesn't connect itself to the database and works disconnected.



    the query doesn't catch any error in the sql method and it works well on windows XP, but not on Vista again.
  • Replied 4 August 2017, 3:09 pm EST

    oh well finally it worked because i had forgotten the reports main datacontrol... haha



    so I did the same and it worked well



    I didn't program that application so it was a bit confusing for me but I at least had some time now to try the solution you proposed.



    Thanks to you again
Need extra support?

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

Learn More

Forum Channels