After applying the newest service release I get several strangae errors, e.g:
Binding a dataset as datasource for a ultracombo causes validation with follwing error:
Normal 0 21 false false false DE X-NONE X-NONE
Fehler:
Das Objekt des Typs "Infragistics.Win.UltraWinGrid.UltraCombo" kann nicht in Typ "Infragistics.Win.UltraWinGrid.UltraGrid" umgewandelt werden.
System.InvalidCastException
Details:
bei Infragistics.Win.UltraWinGrid.UltraGridBand.FitColumnsToWidth(Int32 right)
bei Infragistics.Win.UltraWinGrid.ViewStyleBase.FitColumnsToWidth()
bei Infragistics.Win.UltraWinGrid.BandsCollection.CalculateBandMetrics(Int32 pass)
bei Infragistics.Win.UltraWinGrid.BandsCollection.CalculateBandMetrics()
bei Infragistics.Win.UltraWinGrid.ColScrollRegionsCollection.InitializeMetricsHelper()
bei Infragistics.Win.UltraWinGrid.ColScrollRegionsCollection.InitializeMetrics()
bei Infragistics.Win.UltraWinGrid.UltraGridLayout.ApplyLoadedBands()
bei Infragistics.Win.UltraWinGrid.UltraGridLayout.ListManagerUpdated(BindingManagerBase bindingManager)
bei Infragistics.Win.UltraWinGrid.UltraGridLayout.ListManagerUpdated()
bei Infragistics.Win.UltraWinGrid.UltraGridBase.Set_ListManager(Object newDataSource, String newDataMember)
bei Infragistics.Win.UltraWinGrid.UltraGridBase.set_DataSource(Object value)
UltraDateTimeEditor:
The DateTime property cannot be set to a value that is outside the range determined by the MinDate and MaxDate properties.
System.ArgumentException
bei Infragistics.Win.UltraWinEditors.UltraDateTimeEditor.set_DateTime(DateTime value)
bei IMSCargo2008.frmAuftrag.InitializeComponent() in D:\DatenCenter\Entwicklung\VS2008\Visual Studio 2008\Projects\IMSCargo\IMSCargo2008\IMSCargo2008\Formulare\Auftrag\frmAuftrag.Designer.vb:Zeile 977.
bei IMSCargo2008.frmAuftrag..ctor() in D:\DatenCenter\Entwicklung\VS2008\Visual Studio 2008\Projects\IMSCargo\IMSCargo2008\IMSCargo2008\Formulare\Auftrag\frmAuftrag.vb:Zeile 58.
bei IMSCargo2008.frmMenu.UltraToolbarsManager1_ToolClick(Object sender, ToolClickEventArgs e)
The range was not changed and is the default.....
Well, it's a bit hard to decipher the error message here since it's not in English (is that German?), but it looks like something is trying to cast an UltraCombo into an UltraGrid somewhere. That could be a bug in the control.
Can you reproduce this in a small sample project and post it here so we can take a look?
This is the line causing the error:
.DataSource = StammdatenDiverse.Steuersatz(
"Steuersatz", ISOCode)
The "StammDatenDiverse.Steuersatz" is a function which return a simple dataset. In the previous version (2029) and all before (from 2008.2) there was no problem with the combo, also we only updated with the service release and don't made any changes of the code.......
I had to downgrade from 2039 and ended up having to unintall the entire infragistics win forms, then reinstall and apply the 2029 hotfix. I tried to run the 2029 hotfix again and it would just crash.
I mean I tried to just run the 2029 hotfix to go backwards, but that didn't work.
back to 2029 was also for me tricky, this worked for me:
I uninstalled 2039 via Control PanelRestartInstall Hotfix 2029RestartInstall Hotfix 2029 againRestartUsing the Project Upgrade Utility
Hope this was helpful
What was the name in uninstall programs for hotfix 2039? I don't see anything except the install of the major version which is why I uinstalled the whole thing.
you must check the "Show Updates", then you will see the Hotfix
I went back to hotfix 2029 which is working. I figure I'll just wait for 2009 Vol 2 before I venture to upgrade again.
just remark out the line and manually set the column widths, much simpler than all the reinstall
I see it! Thanks.