I've upated my whole solution from Infragistics 2011.2 to 2014.1 with the version utility. This worked fine but now I am not able to load the dockmanager-settings, because they have been written under 2011.2. Is this a known issue? Do I have to delete the old settings? This would be bad since all our customers would loose their settings because of this update.
Hello,
Could you please let me know how you have saved the settings, Have you used SaveAs(…) methods, or you meant that you have used the designer. Can you please let me know how you load settings. Can you please upload the file with the settings.
I am waiting for your feedback.
Hi,
yes I use SaveAsBinary/LoadFromBinary methods. Please find an example of a bin-file attached.This is one file for one rubric of our rubric based software. We have a docking-manager within every rubric and the error occurs on all of them.
When calling LoadFromBinary this error occurs:
===================================
Object reference not set to an instance of an object.
Program location: at Infragistics.Win.UltraWinDock.UltraDockManager.InitializeFrom(UltraDockManager source) at Infragistics.Win.UltraWinDock.UltraDockManager.Load(Stream stream, Boolean xml) at Infragistics.Win.UltraWinDock.UltraDockManager.LoadFromBinary(String filename)
Hope this helps!
Thank you for the provided file. I’ve tested it with Infragistics 14.1 service release 2019 (it is currently latest service release ), and I can confirm that no exception was thrown. In the attached zip you will find the sample which I’ve used. So the exception that you are getting is because somehow dock manger is not initialized, maybe you are loading the layout before InitializeComponent() .
I hope that this will helps you.
I updated to the service release 2019 but unfortunately that did not help. I don't know why it works for you but I am not able to load old settings.The dock manager is initialized when the settings are loaded. This code runs on Infragistics since 2008 or even earlier and it is definitely an update problem. Once I have deleted the old settings and created new ones, everything works fine.
Is it possible to isolate this issue in a separate sample (or just modify the sample which I’ve uploaded with my previous response ), in order to be able to run it on my machine and to investigate this further for you.
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components
Thank you for your feedback.
Without sample that demonstrates this issue, we cannot continue investigation for the root of this issue . So please collaborate and upload simple sample that demonstrates your issue, or just modify my sample, and I will be glad to investigate this further for you. For now I could verify that your layout file is loaded without any exception from UltraDockManager of Infragsitics 14.1, and my sample proves this. So if you are not able to isolate this in a separate simple, is it possible to upload the designers cs file of the form on which this exception occurs, and I will try to reproduce this on my side.
Thank you for using Infragistics Components.
this gets way too time consuming. I've stopped the update and I will stay on the old version for the moment.
Maybe this issue will be fixed in a future version...