Welcome to the Xceed Community Sign in | Join | Help
Community Search  

OpenGL rendering doesn't work (Chart 4.2 - Windows Vista 64-bit on Intel IA-32 processor with Intel®64)

Sort Posts: Previous Next
  •  04-24-2008, 3:44 PM Post no. 11720

    OpenGL rendering doesn't work (Chart 4.2 - Windows Vista 64-bit on Intel IA-32 processor with Intel®64)

    Hi,

    could someone please help me with this issue: while trying access most of Chart examples from "Xceed Chart Explorer for .NET" I get an error with this huge explanation:

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.BadImageFormatException: Could not load file or assembly 'Xceed.Chart.GraphicsGL, Version=4.2.100.0, Culture=neutral, PublicKeyToken=ba83ff368b7563c6' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    File name: 'Xceed.Chart.GraphicsGL, Version=4.2.100.0, Culture=neutral, PublicKeyToken=ba83ff368b7563c6'
       at Xceed.Chart.Core.ChartControlBase.CreateSceneGL()
       at Xceed.Chart.Core.ChartControlBase.RecreateDevice()
       at Xceed.Chart.Core.Settings.ChangeRenderSurface(Boolean bChangeDevice)
       at Xceed.Chart.Samples.Explorer.Series.MeshSurface.MeshSurfaceUC.MeshSurfaceUC_Load(Object sender, EventArgs e)
       at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.ControlCollection.Add(Control value)
       at Xceed.Chart.Samples.Explorer.MainForm.InitExampleLayout(ExampleLayout newLayout, ExampleBaseUC uc)
       at Xceed.Chart.Samples.Explorer.MainForm.NavigationTreeView_AfterSelect(Object sender, TreeViewEventArgs e)
       at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
       at System.Windows.Forms.TreeView.WmNotify(Message& m)
       at System.Windows.Forms.TreeView.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

     

    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    ----------------------------------------
    Xceed Chart Explorer
        Assembly Version: 4.2.8125.15060
        Win32 Version: 4.2.8125.15060
        CodeBase: file:///C:/Program%20Files%20(x86)/Xceed%20Components/Bin/.NET/Xceed%20Chart%20Explorer.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Xceed.Chart
        Assembly Version: 4.2.100.0
        Win32 Version: 4.2.8125.15060
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Xceed.Chart/4.2.100.0__ba83ff368b7563c6/Xceed.Chart.dll
    ----------------------------------------
    Xceed.Chart.UIControls
        Assembly Version: 4.2.100.0
        Win32 Version: 4.2.8125.15060
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Xceed.Chart.UIControls/4.2.100.0__ba83ff368b7563c6/Xceed.Chart.UIControls.dll
    ----------------------------------------
    Xceed.Chart.GraphicsCore
        Assembly Version: 4.2.100.0
        Win32 Version: 4.2.8125.15060
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Xceed.Chart.GraphicsCore/4.2.100.0__ba83ff368b7563c6/Xceed.Chart.GraphicsCore.dll
    ----------------------------------------
    Xceed.Chart.Core
        Assembly Version: 4.2.100.0
        Win32 Version: 4.2.8125.15060
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Xceed.Chart.Core/4.2.100.0__ba83ff368b7563c6/Xceed.Chart.Core.dll
    ----------------------------------------
    Xceed.Chart.Standard
        Assembly Version: 4.2.100.0
        Win32 Version: 4.2.8125.15060
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Xceed.Chart.Standard/4.2.100.0__ba83ff368b7563c6/Xceed.Chart.Standard.dll
    ----------------------------------------
    Xceed.Chart.Utilities
        Assembly Version: 4.2.100.0
        Win32 Version: 4.2.8125.15060
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Xceed.Chart.Utilities/4.2.100.0__ba83ff368b7563c6/Xceed.Chart.Utilities.dll
    ----------------------------------------
    Xceed.Chart.Graphics2D
        Assembly Version: 4.2.100.0
        Win32 Version: 4.2.8125.15060
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Xceed.Chart.Graphics2D/4.2.100.0__ba83ff368b7563c6/Xceed.Chart.Graphics2D.dll
    ----------------------------------------
    System.Data
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    --------------------------------------------------------------------------------

    My operating system is Vista Ultimate 64-bit, but I tried, and it works fine on Windows XP with SP2 on the same PC

    Thank you for your help

  •  04-28-2008, 3:52 PM Post no. 11816 in reply to 11720

    Re: OpenGL rendering doesn't work (Chart 4.2 - Windows Vista 64-bit on Intel IA-32 processor with Intel®64)

     

    The problem here is that our Chart component uses some unmanaged code (32-bit). If the targeted platform for your project is "Any CPU", you will likely get the reported error. In this case, you need to change the targeted platform to x86.

     

    Best regards,

     

    Charles Bérubé-Rémillard

    Technical Support

    Xceed - Multi-talented components

  •  06-02-2008, 2:27 PM Post no. 12625 in reply to 11720

    Re: OpenGL rendering doesn't work (Chart 4.2 - Windows Vista 64-bit on Intel IA-32 processor with Intel®64)

    Audrius

     Were you ever able to resolve this problem? I am experiencing the same issue.

  •  06-02-2008, 2:29 PM Post no. 12626 in reply to 12625

    Re: OpenGL rendering doesn't work (Chart 4.2 - Windows Vista 64-bit on Intel IA-32 processor with Intel®64)

    Oh, and it doesn't matter what target I build for x86, x64 or Any CPU gives the same problem.
  •  06-02-2008, 3:17 PM Post no. 12628 in reply to 12625

    Re: OpenGL rendering doesn't work (Chart 4.2 - Windows Vista 64-bit on Intel IA-32 processor with Intel®64)

    Yes, once I've changed the target CPU from AnyCPU to x86 in advanced compiler settings (VB) the problem was gone.

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.