Home Forums WinForms controls Xceed Chart for WinForms OpenGL rendering doesn’t work (Chart 4.2 – Windows Vista 64-bit on Intel IA-32 processor with Intel®64)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #18913 |

    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

    Imported from legacy forums. Posted by Audrius (had 4457 views)

    User (Old forums)
    Member
    Post count: 23064

     

    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

    Imported from legacy forums. Posted by Audrius (had 999 views)

    User (Old forums)
    Member
    Post count: 23064

    Audrius

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

    Imported from legacy forums. Posted by Andrew (had 528 views)

    User (Old forums)
    Member
    Post count: 23064

    Oh, and it doesn’t matter what target I build for x86, x64 or Any CPU gives the same problem.

    Imported from legacy forums. Posted by Andrew (had 641 views)

    User (Old forums)
    Member
    Post count: 23064

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

    Imported from legacy forums. Posted by Audrius (had 3247 views)

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.