Forum  General Visual ...  Let's Chat Abou...  Cannot access disposed object: DesignerFrame
Previous Previous
 
Next Next
New Post 1/17/2012 11:21 PM
  Grueninger
19 posts
No Ranking


Re: Cannot access disposed object: DesignerFrame 

Hello Palli

The project I sent you was a brand new project defined in VS 2010, VWG 6.4c, .Net 4.

Yesterday I load another project migrated from VS 2008, VWG 6.3, .Net 3.5.
By the way, I had to rearrange the elements "import" in a *.csproj to be able to convert the project. At each load of the project I was asked to migrate the project again.
In this project NavigationTabs were not used.
So I think the problems of the control NavigationTabs and the "DesignerFrame" error are uncorrelated.

If possible you should concentrate on the latter problem. In the meantime I created an "accordion" usercontrol which does exactly what I wanted to achieve.

I don't remember what I did but it was not too much. After some editing I closed all open windows in the project. After some time I got exactly the same error. In the meantime between the working with the project and the occurence of the error I was on my physical pc and surfing in the internet.

Maybe there is some garbage collection in the background. Or there are timers and the thresholds are too strong.

Andreas

 

 
New Post 1/21/2012 3:28 AM
  palli
14313 posts
1st Level Poster




Re: Cannot access disposed object: DesignerFrame 

Hi Andreas,

My research shows that these are two problems that may be very closely related, but still these are two problem.

First, the designer shouldn't open "dirty" (meaning open with unsaved changes) when you open your form in the designer. I was able to narrow this one down to a single SplitContainer that isn't even added to the form, but instanciated within the InitializeComponents(). I opened a new tracker entry on that one. Please view it here and follow up on our progress.

The second, and more serious problem, is the designer exception. As the problem does not occur if the form doesn't open "dirty", I say that the problems are somewhat related, but as I see it this problem does occur as well after you have made some changes in your form, making the form "dirty". I opened a new tracker entry on this one too. Please view it here and follow up on our progress.

Palli

 

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 2/14/2012 11:48 AM
  asaporta
8 posts
No Ranking


Re: Cannot access disposed object: DesignerFrame 

Hi Palli,

I have noticed the same issue when I have a VirtualGridView in a cell of a TableLayoutPanel object.

Avri

 
New Post 2/18/2012 2:25 AM
  palli
14313 posts
1st Level Poster




Re: Cannot access disposed object: DesignerFrame 

Hi Avri,

Can you be more specific on what it takes to reproduce that problem, as I am unable to reproduce using simple scenario here.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 2/23/2012 4:58 PM
  gcsorensen
204 posts
4th Level Poster


Re: Cannot access disposed object: DesignerFrame 

Hi, Palli,

Some more info on this issue:

Today I was running 2 instances of VS2008 - different VWG projects. One is small one, the other large. Both use a 'form' as a user control. Neither was running - both in design mode. One had been run several times, the other simply opened in design mode.

At the time, neither project had any forms opened in design mode as I recall - but in the larger project I had opened and closed the designer while removing some redundant controls - these were deleted over several stages.

I left the PC and had lunch, when I returned both instances of VS crashed with this bug, at almost the same time - by the time I dismissed all the messages on the first instance, the second (had) crashed.

On the second instance I allowed the debugger to run and captured some info on the error.  I have sent this to the support email address "Cannot access disposed object: DesignerFrame - 20120224". The unhandled exception was in devenv.exe, but clearly some common event caused both instances to fail at the same time.

Other info:

  • I had just used Tortoise SVN to update the source control repository for the larger project.
  • The screen saver had triggered - but I used to get the problem before when I didn't use a screensaver.

Hope this is helpful

Geoff

 

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Let's Chat Abou...  Cannot access disposed object: DesignerFrame
Google Analytics
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS