Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

RB11 and "Failed to get data for 'Theme'"

edited September 2008 in General
When I try to open report builder designer from delphi 2007 now i have this
error.
How can i fix it?

Francesco Pierobon
http://www.webcolf.com

Comments

  • edited September 2008
    You are not alone....
  • edited September 2008
    Same problem here - was the theme I used in RB 10 stored in the registry
    ? Are there files missing? Right now I cannot use RB 11.

    -Alan Givati
  • edited September 2008
    I also notice that after dismissing the dialog with OK, a windowless
    instance of my application remains in the task list, which I have to
    kill with Process Explorer.
  • edited September 2008

    1. Please provide more environment details. Windows version, Delphi version,
    RB Edition (Std, Pro, Ent Server).

    2. If you have RB Professional, Enterprise, or Server, then please try a
    run-time test using the Designer.

    a. Place a Report and Designer on a form.
    b. Set Designer.Report to reference the report object.
    c. Place a button on the form.
    d. In the button.OnClick event add a line of code,

    ppDesigner1.Show;

    e. Now run the application and when the error occurs examine the call stack.

    Post test results here or send to support@digital-metaphors.com


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2008
    Nard Moseley (Digital Metaphors) wrote:


    XP Pro SP3, Delphi 2007 Pro, RB Ent.


    I installed RB11 in a VMware development environment with the versions
    above and built a simple app using the steps you specified.

    When I run the program in the IDE, no error occurs.

    When I run it outside the IDE in the VM, no error occurs.

    When I copy it to the host machine, on which I have XP Pro SP3,
    Delphi 2007 Pro, and RB Ent 10.09, the 'Failed to get data for
    Theme' pops up.

    When I copy it to a machine running Vista 64-bit, with no
    development environment, I also get the pop-up.

    In the case of this project1.exe, it is not left running and I can
    close it normally. My own application remains running windowless after
    the pop-up. Because of the lack of a suitable running environment, I
    cannot run my own application in the VM.
  • edited September 2008
    Nard Moseley (Digital Metaphors) wrote:


    One more detail. On the (virtual) machine where no pop-up happens,
    Microsoft Office is not installed. On the machines here with the
    pop-up, Microsoft Office 2007 is installed, and REGMON shows that the
    pop-up coincides with an unsuccessful attempt to Query the value of
    HKCU/Software/Microsoft/12.0/Common/Theme.
  • edited September 2008

  • edited September 2008

    We are working on a new build that will fix this issue.

    As a temporary work around...

    1. Use Windows Explorer to browse to RBuilder.ini, which should be located
    in the following directory. (Note: If RBuilder.ini does not exist, then use
    notepad to create new one. )

    Windows Vista: [UserName]\AppData\Local\RBuilder

    Windows XP: Documents and Settings\[UserName]\Local SEttings\Application
    Data\RBuilder


    2. Open RBulder.ini and search for a section called ThemeInfo. Add/modify
    the section to include the following info.

    [ThemeInfo]
    Office2007UserScheme=0
    ThemeName=Office2007


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2008

    A new RB 11 build is available that corrects this issue. Please download the
    new build and run the installation - this will remove your current build and
    install the new one.

    Many thanks to those that emailed and posted the call stack information
    associated with this error! :)

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2008
    > A new RB 11 build is available that corrects this issue. Please download

    It works, many thanks!

    Francesco Pierobon
    http://www.webcolf.com
This discussion has been closed.