User (Legacy) Posted March 16, 2006 Report Posted March 16, 2006 Hi! I've created a winform usercontrol wrapper in VS 2003 that works fine. I imported/converted the project into a VS 2005 solution. It compiles just fine, but when I try to run it I get an exception when calling InitializeComponent() in my wrapper contructor. When debugging I can't get to the InitializeComponent method. The Exception seems to be thrown before entering the method.. I'm not using any extensions. Do I have to install the Chart FX VS 2005 version to make it work when building my solution ? The exception: - $exception {"Method not found: 'System.String[] SoftwareFX.ChartFX.Extensions.IContainerX.get_PaletteNames()'."} System.Exception {System.MissingMethodException} My Contructor: public AgrChartControl() { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); _ChartCommon = new ChartCreatorCommon(); }
Software FX Posted March 16, 2006 Report Posted March 16, 2006 It seems you have a problem with the Chart FX dll's that are included, in particular, there seems to be an incompatibility between what you are compiling against and what you are running against. Check the versions of all Chart FX dll's and make sure they are the same build for all of them, also make sure that you are running with the SAME versions you are compiling with. -- Francisco Padron www.chartfx.com
User (Legacy) Posted March 17, 2006 Author Report Posted March 17, 2006 You were right. I was running different builds. When I checked the Service pack Installer the ChartFX.Base.DLL was not updated with the current service pack(the other dll's was up to date though), and it would not update the dll even though the service pack installer said "Update completed successfully". A check in the process explorer could not find any processes locking the dll, but after a reboot the service pack installer was able to update the ChartFX.Base.DLL. I probably should have noticed that the installer didn't update the DLL, but since it said that the update was successful I thaught everything was ok. Shoudn't the Service pack installer perhaps be able to detect if there was any problems updating the dll's and state so in a message? Regards Helge Olsen "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:H587nzRSGHA.560@webserver3.softwarefx.com... > It seems you have a problem with the Chart FX dll's that are included, in > particular, there seems to be an incompatibility between what you are > compiling against and what you are running against. > > Check the versions of all Chart FX dll's and make sure they are the same > build for all of them, also make sure that you are running with the SAME > versions you are compiling with. > > -- > Francisco Padron > www.chartfx.com >
Software FX Posted March 17, 2006 Report Posted March 17, 2006 Yes. It should, for some reason the installer THOUGHT it was installed. I will check to see if I can reproduce this problem. -- Francisco Padron www.chartfx.com
Recommended Posts
Archived
This topic is now archived and is closed to further replies.