Hi,
we are using Infragistics2 2012.1 windows forms (version: 2082)
we are unable to work with the designer in our existing projects in VS2013, the message we are getting when opening a form with UltraWinButton:
'an exception occurred while trying to update the data smart tasks, they will be disabled' object reference not set to an instance of an object
This occur even on a very small project only containing one form with one button, it seems to be releated to licensing, but I was unable to find resolution - I've tried to re-install, re-select references, clean, rebuilding, nothing helps.
How can this be resolved?
Hello,
The version you are using in VS 2013 has not been tested, therefore you may see unexpected behavior. I recommend upgrading to our latest version and/or trial our software. The latest is version 14.2 CLR 4 only. DotNet framework 4.0 or newer must be set in your application.
For more details please visit our Supported Environments page.
Let me know if you have any questions.
I assume that changing the version to the latest would solve the designer issue, however, this is a system working on .net 2.0, we are unable to switch it to higher framework due to my customr's IT constraints, and in addition, it is a huge effort for the current project to change DLLs, even 2.0 - as I'll need to deploy the new DLLs into many clients.
Can you suggest other ways to solve this issue and get the designer up and running again for infragistics controls?
Hi ,
As Mike suggested the best approach is to get the latest version.
Before saying that this is the only option for you can you give us more details about the error – like the whole message and call stack, and when occurs.
You said that this occur in a project with Button ? Are you using directly the Infragistics Dlls from one location and directly referencing the Infragistics controls , did you have them wrapped in any other control and what else you have in the project as references? Did this error start showing up after an upgrade of Infragistics or Visual studio versions?
The fill message is:
'an exception occurred while trying to update the data smart tasks, they will be disabled.object reference not set to an instance of an object'
I've added a screenshot - the message is generated by VS, so there is no additional info or stack-trace.
http://imgur.com/a4j3c2x
I'm using the Dlls from program files\infra\bin - signed\ directly.
they are not wrapped by any other dlls - this is a simple hello world with just one button on one form, referencing to shared, misc, win and wineditors.
the error started when installing the infra dll in a new computer. but as you can see it is not related to a specific project - the error here occurs on a new hello-world sample.
We tested this out in our environment and we were able to get it working. Do you notice this error on multiple machines, or just a single environment? I have attached the project that we used to test. Are you able to open and edit this project without any exceptions?
Thanks, your example helped me figure out the issue - I was referencing the DLLs to \program files\ and in addition I had the same DLLs in a reference path folder (exactly the same files!), this is causing this error apparently - I would suggest you check this issue for the future.
as for me, the simple workaround of deleting the DLLs from the reference path is good enough - thanks!
Let us know if you have any additional questions. Thanks.