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
Hi Linh,
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
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.