Intermittent problem with Typeloader (V2.01 VB Version)

Intermittent problem with Typeloader (V2.01 VB Version)

Old forum URL: forums.lhotka.net/forums/t/324.aspx


PeterRigbye posted on Thursday, June 08, 2006

Am getting an intermittent problem "Unable to cast transparent proxy to type csla.web.design.typeloader". This occurs in the IDE designer and results in DetailsView and Gridview controls not displaying properly. The app builds and runs OK - just a designer issue.

Have confirmed the new Typeloader class is present. The problem can be corrected by restarting VS, but it comes back as soon as any changes are made to the page.

Anyone else seen this, or know how to correct it?

dfmartin replied on Thursday, August 03, 2006

Did you ever find a solution to this?  I'm experiencing it now that I updated to 2.0.3.

RockfordLhotka replied on Thursday, August 03, 2006

Peter, the CslaDataSource in 2.0, 2.0.1 and 2.0.2 is problematic - you should upgrade to 2.0.3 where it is much better.

Overall though, the issue you guys are seeing is (I think) due to the way VS caches web project files. Somewhere in one of the VS cache directories you have an old version of Csla.dll and that's causing your problem - at least that's my hypothesis...

You might try running Build | Clean Solution to force VS to clear a lot of that stuff. Otherwise you may have to manually track down the cache directories and clear them.

Copyright (c) Marimer LLC