I implemented the ZoomScrollBar feature on my web site using ChartFX 7.0. Then after installing ChartFX 7.0 on a web server I got the error "System.FormatException: Invalid File Format. The file you are trying to import is not a valid Chart FX file".
I am using VS2008 on Windows Server 2008.
I looked through the forum posts and verified that the assemblies in my project bin folder have same versions as the assemblies in the "Program Files\Chart FX 7\ChartFX70\Download", so I do not have a version mismatch issue.
Since the ZoomScrollBar feature requires full trust, I installed ChartFX.WebForms.dll into the GAC to give it full trust and I still got same problem.
One of the posts mentioned that they updated service pack but they don't mention what service pack, so I installed ASP3.5 SP1 and still got same problem. Then I thought maybe I have to update ASP2.0 service pack then went to Microsoft's download center and it turns out it that ASP2.0 service pack is not supported on Vista operating system.
I hope I can get help on this because I really preferred your tool over others but if I can't run it, then I can't buy it.
Following is the exception error log:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.FormatException: Invalid File Format. The file you are trying to import is not a valid Chart FX file.
at ChartFX.NetIEClient.Chart.c(Boolean A_0, IPersistBase A_1)
at ChartFX.NetIEClient.Chart.a(DownloadEventArgs A_0)
at ChartFX.NetIEClient.ao.a(DownloadEventArgs A_0)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ChartFX.NetIEClient
Assembly Version: 7.0.2893.24916
Win32 Version: n/a
CodeBase: http://localhost:2257/SmartCom/chartfx70/download/ChartFX.NetIEClient.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
ChartFX.NetIEClient.Base
Assembly Version: 7.0.2893.24781
Win32 Version: n/a
CodeBase: http://localhost:2257/SmartCom/chartfx70/download/ChartFX.NetIEClient.Base.DLL
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
ChartFX.NetIEClient.Adornments
Assembly Version: 7.0.2893.24805
Win32 Version: n/a
CodeBase: http://localhost:2257/SmartCom/chartfx70/download/ChartFX.NetIEClient.Adornments.DLL
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.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.