Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
Object is currently in use elsewhere during design time
posted

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

 

Parents
No Data
Reply
  • 12875
    posted

    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.

    Marianne
    Developer Support Engineer

Children