Hi All,
I have a windows form which contains Infragistics Controls (UltraWinGrid,UltraWinToolbars,UltraWinTabControl,UltraWinStatusBar etc.).
Whenever I open the designer view of the form in the solution, VS 2010 crashes every time.
Thanks in advance !
Regards,
Soumya
Hi,
Thank you for attaching the image but it seems that is not giving much details about the cause. What can be happened is that the designer can’t regenerate all of the controls in the forms and that’s why is crashing, but to tell what is the reason I need more details.
Can you please give me more details about the project versions of the Infragistics controls. When you open the form I guess, that you got an error did this happened on every form in the project or only for specific form. Did you make any upgrades recently (Infragistics or VS)? Are you using custom controls, if so check that they are build with the same version?
Can you try to delete the content of the license file to see if the error is reproducible? Also will be nice to delete user generated files and solution files and try to open directly the project file only.
Can you try this and let me know if the issue is still reproducible?
I am looking forward for your replay.
Hi Dimi,
Many thanks for your reply.Please see the details as follows.
1. Can you please give me more details about the project versions of the Infragistics controls.
- I am using Infragistics 10.3
2. When you open the form I guess, that you got an error did this happened on every form in the project or only for specific form.
- Not for all pages.For one page, when I try to open, the Visual Studio crashes and restarts and for another page, I am getting some designer error.But there is no build error and the pages are working fine in run time.
3. Did you make any upgrades recently (Infragistics or VS)?
- No
4. Are you using custom controls, if so check that they are build with the same version?
- Yes. May you please tell me, how to check wheather they are build with same version.For the info : The controls are created as part of the same project and having some infragistics controls like UltraGrid,UltraTab etc.
5. Can you try to delete the content of the license file to see if the error is reproducible? Also will be nice to delete user generated files and solution files and try to open directly the project file only.
- Tried by deleting the content of license files but there is no result. Please let me know : how to open directly the project file only.
Thanks for your time. Have a good day!
Soumya,
The first exception appears to be from your own code in the getter for the DinerDataConnection property of the Alcon.Diner.Settings object. Is there anything within this getter that could cause a null reference exception? If you follow the instructions that I posted earlier in the thread, you may be able to catch the exception when it is thrown and see what is null in the debugger as well.
For the second exception, read your designer.cs file to verify that the variable is being set to an instance of an object before line 177 is hit.
Let me know if you have any questions with this matter.
Hi Alan,
Thanks for the reply. Here are the details :
ProductSelection1 is the varible which initializes the user control and which is declared and assigned values.
Looking forward for your reply.
What is the call stack for the "Object reference not set to an instance of an object." error that you are seeing? You can get this by clicking the link "Show Call Stack" below this error in the screen shot that you provided.
For the second error, what is ProductSelection1? Have you made any changes to this recently before the errors started to occur?
Let me know if you have any questions.