User (Legacy) Posted May 18, 2005 Report Share Posted May 18, 2005 Hello, I get the following error when calling Chart.Import: ================================== An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll Additional information: File or assembly name ChartFX.Base, or one of its dependencies, was not found. ================================== The only code I am running is: chart1.Export(SoftwareFX.ChartFX.FileFormat.XML,"sampleexport.xml"); chart1.Import(SoftwareFX.ChartFX.FileFormat.XML,"sampleexport.xml"); If i delete the following from the exported XML: <BORDEROBJECT type="SoftwareFX.ChartFX.DefaultBorder" assembly="ChartFX.Base"></BORDEROBJECT> , then import works. I have all ChartFX references within the project. Any ideas? Can I exclude the BORDEROBJECT from exporting? Thanks, Dan H. Link to comment Share on other sites More sharing options...
Software FX Posted June 3, 2005 Report Share Posted June 3, 2005 Dan, To help solve your case please attach your non-working sampleexport.xml. What version of charfx.dll are you using? Have you tried applying the latest service pack? What version of the .net framework? Does exporting as a binary file work? No you can't exclude the borderobject at this time. -cjs <DapperDanH@nospam.nospam> wrote in message news:2Nm$V%238WFHA.2236@webserver3.softwarefx.com... > Hello, > I get the following error when calling Chart.Import: > ================================== > An unhandled exception of type 'System.IO.FileNotFoundException' occurred > in mscorlib.dll > > Additional information: File or assembly name ChartFX.Base, or one of its > dependencies, was not found. > ================================== > > The only code I am running is: > > chart1.Export(SoftwareFX.ChartFX.FileFormat.XML,"sampleexport.xml"); > chart1.Import(SoftwareFX.ChartFX.FileFormat.XML,"sampleexport.xml"); > > If i delete the following from the exported XML: > <BORDEROBJECT type="SoftwareFX.ChartFX.DefaultBorder" > assembly="ChartFX.Base"></BORDEROBJECT> > , then import works. > > I have all ChartFX references within the project. > > Any ideas? Can I exclude the BORDEROBJECT from exporting? > > Thanks, > Dan H. > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.