Forum  General Visual ...  Breaking Change...  IRequiredRegistration error
Previous Previous
 
Next Next
New Post 2/2/2009 5:05 PM
Unresolved
  hplvecraft
24 posts
WWW.MiskatonicSoftware.com
No Ranking


IRequiredRegistration error 
I just downloaded the pro trial and created a simple test app- but when I try to run it I get this exception: Could not load type 'Gizmox.WebGUI.Common.Interfaces.IRequiredRegistration' from assembly 'Gizmox.WebGUI.Common, Version=3.0.5701.0, Culture=neutral, PublicKeyToken=263fa4ef694acff6'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.TypeLoadException: Could not load type 'Gizmox.WebGUI.Common.Interfaces.IRequiredRegistration' from assembly 'Gizmox.WebGUI.Common, Version=3.0.5701.0, Culture=neutral, PublicKeyToken=263fa4ef694acff6'.
 
New Post 2/2/2009 6:02 PM
  rdhatch
635 posts
1st Level Poster




Re: IRequiredRegistration error 
Modified By rdhatch  on 2/2/2009 10:03:33 PM)

Hello there!

It looks to me like you are trying to use a control that requires registration in the web.config file (ie, the Office/Charts/Extended controls).

1.) Please make sure your project References Gizmox.WebGUI.Common, and also Gizmox.WebGUI.Forms.Office, Gizmox.WebGUI.Forms.Extended, Gizmox.WebGUI.Forms.Charts.  (It probably does, but just make sure.  Try removing Gizmox references and add the Gizmox references again)

2.) Add these to your web.config file:

 <WebGUI>

        <Controls>
      <Control Type="Gizmox.WebGUI.Forms.*, Gizmox.WebGUI.Forms.Office, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d50c2c7452ba77d9" />
      <Control Type="Gizmox.WebGUI.Forms.*, Gizmox.WebGUI.Forms.Extended, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d50c2c7452ba77d9" />

      <Control Type="Gizmox.WebGUI.Forms.*, Gizmox.WebGUI.Forms.Charts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d50c2c7452ba77d9" />
        </Controls>

 </WebGUI>

I hope this helps!!

Ryan


Ryan D. Hatch, VWG MVP
GeniusCode.net | VWG Community Frameworks | VWG Wiki
 
New Post 2/3/2009 7:45 AM
  hplvecraft
24 posts
WWW.MiskatonicSoftware.com
No Ranking


Re: IRequiredRegistration error 

thaks for responding Ryan, but this was a quick test- it's just a form with a single button on it (that will display a messagebox when it works)

Still- I went ahead and tried your suggestions, but no joy- same error.

 
New Post 2/7/2009 4:34 AM
  palli
14296 posts
1st Level Poster




Re: IRequiredRegistration error 

Hi hplvecraft,

The SDK packages had some problems in the first upload. I don't know if that's what is affecting you here, but you might consider redownloading if you have not allready.

Do you still have this problem? Even on a new project ?

Might be caching, if you did redownload the SDK, and then createding a new project an try this out will outrule that.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 2/17/2009 4:17 AM
  arigney
114 posts
5th Level Poster


Re: IRequiredRegistration error 

Dear Palli,

                   I have upgraded my SDK VWG version to 6.3 but I am having this same problem with a sample .wgx application and the 6.3 version of the catalog application. I had to upgrade the Catalog application with the enable VWG option.

I have removed all the references, re-added the references, cleaned and rebuilt.

I will try the professional version as well.

Here is the error again.

Could not load type 'Gizmox.WebGUI.Common.Interfaces.IRequiredRegistration' from assembly 'Gizmox.WebGUI.Common, Version=3.0.5701.0, Culture=neutral, PublicKeyToken=263fa4ef694acff6'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.TypeLoadException: Could not load type 'Gizmox.WebGUI.Common.Interfaces.IRequiredRegistration' from assembly 'Gizmox.WebGUI.Common, Version=3.0.5701.0, Culture=neutral, PublicKeyToken=263fa4ef694acff6'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[TypeLoadException: Could not load type 'Gizmox.WebGUI.Common.Interfaces.IRequiredRegistration' from assembly 'Gizmox.WebGUI.Common, Version=3.0.5701.0, Culture=neutral, PublicKeyToken=263fa4ef694acff6'.]
   Gizmox.WebGUI.Server.Resources.CompilerResources.2AAAA() +5171
   Gizmox.WebGUI.Server.Resources.CompilerResources.get_ConfiguredControls() +22
   Gizmox.WebGUI.Server.Resources.CompilerResources.GenerateControlResoruces() +181
   Gizmox.WebGUI.Server.Cache.2AAAA(Context 0AAAA, Boolean 1AAAA) +380
   Gizmox.WebGUI.Server.Cache.Generate(Boolean blnStaticResource) +425
   Gizmox.WebGUI.Server.Cache..cctor() +121

[Exception: Resource generator error.]
   Gizmox.WebGUI.Server.Router.GetHandler(HttpContext objHttpContext, String strRequestType, String strUrl, String strPathTranslated) +154
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +193
   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Breaking Change...  IRequiredRegistration error
.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