Hi
I am facing this problem "Object is currently in use elsewhere" many times during design of my windows form when I am using RadialGauge control in my Windows Form developed in VB.NET 2008.
By just opening my form with the gauge on it, it can generate the error "Object is currently in use elsewhere".
The only option is to shutdown my VS 2008 .net framework 3.5 sp1 windows xp sp3 and run vs2008 again.
I also see many lock up during design time of gauge using wizard or compile time of my application in vs2008.
Thanks
Here is the sample project that uses my Radial gauge defined in SampleGauge.xml
I could not give you a scenario that will generate the error I mention here but there is one the bug I found during using designer or from custom property page of radial guage.
Here is the steps to re-produce the error which normally leads to the error in this report too.
1/ Open custom property page of my radial gauge in the main form
2/ Select Scale # 0
3/ Change the end value of axis property from 20 to 0 and save it
An exception is generated. This exception also generates during using UltraGauge designer
Close the solution and open the solution and open the main form again to show the radial gauge
Usually, it is ok but sometimes it will generate the Object is currently in use elsewhere. It is an intermittent problem.
There are other issues in the ultragauge designer similar to this one also but I really do not have time to figure out but it is really easy to mess them up.
I could not find a way to include my zip project so I need you to send me an email so I can the sample project directly to you.
thanks
Hi Linh,
If you can provide a small working sample that duplicates the behavior, I can use it to test and try to generate the stack trace here. Also give me the exact steps to reproduce the behavior.
Is it possible that you did not do a full install of the product? That the designer assemblies were not installed properly?
Without a stack trace it is very difficult to identify the cause.
I did see this forum link although it is not exactly what you are reporting and it is a couple of years old with a different version. It might be worth checking.
http://community.infragistics.com/forums/p/2933/16909.aspx#16909
Marianne
Hi, I am not able to get the exception. The only error message box with an empty stack trace is what I got as shown.The version of Infragistic assembly is 10.1.20101.1007
Sometimes, the exception is generated even after I reboot my computer start the VS 2008 project again and the form containing wingauge is displayed with an exception message. It does not always happen but I have not done anything yet.
I am really frustrated.
I have to remove my form out of the project and restart the PC, VS, and then copy the form back so VS would not try to load the form again at first start. Once it generates the exception, normally I have to restart the pc.
I have seen that this error is frequently related to threading. But I have not been able to find anything about this issue occurring in Design.
You didn’t include the product version you are using. Please provide the specific version of the NetAdvantage Win Client 2010 Vol 1 assemblies you are using.
Please also try to capture a stack trace of the design time issue by using the following steps.
Create Visual Studio Design Time STACK TRACE
These Steps can be used to debug Design time issues in Visual Studio:
1. Open Visual Studio.
2. Perform the necessary steps to get to where the failure occurs
3. Open another instance of Visual Studio
4. In Visual Studio, Select "Tools" -> "Attach to Process"
5. In the "Available Processes" select the first Visual Studio instance
6. Click "Attach"
7. Still in Visual Studio, Select "Debug" -> "Exceptions"
8. Check "Thrown" for "Common language Runtime Exceptions"
9. Click "Ok"
10. Go back to the first instance of Visual Studio and perform the step to reproduce the issue
If an exception is thrown, you should be able to get the stack trace from the second instance of Visual Studio and then please attach it so I can review it.
It would also be helpful if you could provide a sample and the steps you take to generate the error message.
MarianneDeveloper Support Engineer