In one of our applications, the designer will not load for me on several forms. I am getting "The variable <> is either undeclared or was never assigned." for two PopupMenuTools (that are both declared and instantiated in InitializeComponent) as well as several "Object reference not set to an instance of an object." that only have "Infragistics.Win.UltraWinToolbars.ToolPropsBase.ResetMaxWidth()" as a call stack. I have checked that the Infragistics references are all on the same version (and none are set to copy local) and that there aren't any incorrect entries in "licenses.licx." I have tried rebuilding the project/solution (including restarting VS in between). I unstalled the other "Infragistics.Win" version I had installed, and, reinstalled the problematic version. I have also confirmed that the correct assemblies are in the GAC. I still have been unable to load the designer. A teammate is able to load the forms in question without incident, so it is not a code issue.Does anyone have any other ideas of what I can check/try?
Although this is a stale stream, I am adding to it as I have the same problem with NetAdvantage version 6.1 porting over to Visual Studio 2015.
The project came over from one PC to another just fine while in Visual Studio 2008.
The application runs fine, but I cannot display the form in Designer without the aforementioned errors regarding ResetMaxWidth.
I have ruled out PC differences, so it seems it has something to do with VS2015???
Hi All
I am using Infragistics V5.3 components in winForm,with visual studio 2010 and everything works normally.But after installing Visual Studio 2013 (and framework 4.5) the designer isn't opening normally in visual studio 2013 but when running the application,the form load normally.
Is there any problem,or incompatibility mode between Infragistics V5.3 components and framework V4.5 noting that with framework v4.0 the designer open normally ?
Any alternative solution about this issue? Or just need to upgrade NetAdvantage to 2010?
Hello ,
On the following link you will find a list of supported environments of Infragistics components, please expand “NETADVANTAGE FOR WINDOWS FORMS” and pay attention on “Environments” section.
https://ko.infragistics.com/support/supported-environments
Visual Studio 2012
NetAdvantage for .NET 12.1 and later.
Visual Studio 2010
NetAdvantage for .NET 2010 Volume 1 and later.
Visual Studio 2008
NetAdvantage for .NET 2008 Volume 1 up to NetAdvantage for .NET 2012 Volume 1
Visual Studio 2005
NetAdvantage 2005 Volume 3 up to NetAdvantage for .NET 2012 Volume 1
Visual Studio 2003
NetAdvantage for .NET 2007 Volume 1 and earlier
Visual Studio 2002
Please let me know if you have any further questions.
I too have the same problem using the same version of .NetAdvantage 4.3.
Previously, we were using the UltraWinToolbars controls on some forms in a project built in Visual Studio 2008 and it works fine in the Visual Studio designer.
We upgraded the project to Visual Studio 2010 (just the standard automatic upgrade to the .vbproj files) and left the .Net Framework at version 3.5 when compiling.
Now, when we try to open the form in the Visual Studio 2010 designer, we get the same errors as the original poster:
To prevent possible data loss before loading the designer, the following errors must be resolved: 5 Errors Ignore and Continue Why am I seeing this page? Object reference not set to an instance of an object. Instances of this error (57) 1. Hide Call Stack at Infragistics.Win.UltraWinToolbars.ToolPropsBase.ResetMaxWidth()
All the other forms that use many different Infragistics controls all open and view fine in Visual Studio 2010 except the ones that use the UltraWinToolbars. If that control is not on the form, it works fine (the same form that is currently causing errors).