Register | Login

ZettaCube Forum and Knowledge Base

Welcome to ZettaCube forum. Here you can discuss various issues regarding our ZeeControls product. If you want to contact our developers directly, please email to support@zettacube.com.

Please register to post a message. Registration is immediate and free. Return users please login here.

 
  Forum  Knowledge Base  Design-Time Iss...  'Panels' could not be initialized.
Disabled Previous
 
Next Next
New Post 1/4/2009 10:24 AM
  ZettaCube Support
57 posts
No Ranking


'Panels' could not be initialized. 
Modified By ZettaCube Support  on 4/2/2009 5:43:58 AM)

 You received the following error when opening a WebForm with WebDock or WebSplitter on it:

Error Creating Control - [controlname]

'[controlname]' could not be initialized. Details: '[controlname]' could not be added to the collection. Details: 'Panels' could not be initialized. Details: [A] ZettaCube.ZeeControls.WebSplitterContainer cannot be cast to [B]ZettaCube.ZeeControls.WebSplitterContainer. Type A originates from 'ZettaCube.ZeeControls, Version=2.0.282.1386, Culture=neutral, PublicKeyToken=c5a10abcc9164b17' in the context 'LoadNeither' at location 'C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\9.0\ProjectAssemblies\i2z7wh7k01\ZettaCube.ZeeControls.dll'. Type B originates from 'ZettaCube.ZeeControls, Version=2.0.282.1386, Culture=neutral, PublicKeyToken=c5a10abcc9164b17' in the context 'LoadNeither' at location 'C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\9.0\ProjectAssemblies\v8wfga-e01\zettaCube.zeeControls.dll'.

 

Causes and fixes:

There are two independent causes:

  1. Conflict between old and new versions of ZeeControls

    This could happen after you installed a new version of ZeeControls, and files from the old version still exists somewhere in the folders.

    Fix:
        
    1. Quit Visual Studio
       
    2. Remove the following files:

      ZettaCube.ZeeControls.dll
      ZettaCube.ZeeControls.XML

      from the Visual Studio "ProjectAssemblies" folder (you may simply remove all sub-folders under ProjectAssemblies).

      Location of Visual Studio 2008 "ProjectAssemblies" folder:

      On Windows Vista:
      C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\9.0\ProjectAssemblies

      On Windows XP:
      C:\Documents and Settings\[username]\Local Settings\Application Data\Microsoft\VisualStudio\9.0\ProjectAssemblies

      (For Visual Studio 2005, replace 9.0 with 8.0 in the above paths.)
       
    3. Copy the following files from ZeeControls installation folder (e.g. C:\Program Files\ZettaCube\ZeeControls\) to the  "bin" folder of your applications

      ZettaCube.ZeeControls.dll
      ZettaCube.ZeeControls.XML
       
  1. Bugs in Visual Studio

    In Visual Studio, if there were many WebForms left open in design-view when a project/solution was closed, then VS will try to re-open all those WebForms in design-view when the project/solution is re-opened. WebControls in some of the pages might fail to be created.

    Fix:

    1. Install Visual Studio 2008 Service Pack and other MS Hotfixes as documented in our Installation Guide.
       
    2. If the problem still exist, close all the WebForms or switch them to source-view first, then restart Visual Studio.
 
Disabled Previous
 
Next Next
  Forum  Knowledge Base  Design-Time Iss...  'Panels' could not be initialized.
Copyright 2009 by ZettaCube Limited