Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...base class errorbase class error
Previous
 
Next
New Post
6/11/2008 9:34 AM
 

 

Hello,

  I created my first module.  It is using an Ajax timer to refresh some text.  I'm able to package it up and move it to another host and install it without issue.  However, when I try to follow the instructions on precompiling the code located here.
, I get the following error when I install the new precompiled module.

  I'm not clear as to what it's complaining about.  It doesn't seem to like the compiled Timer control.  I did check-off 'Allow this precompiled site to be updatable' and 'Use fixed naming and single pass assemblies'

  I realize it's not telling me much, if anyone has any ideas as to what the problem might be or what I could try, I'm all ears.  I worked on it for awhile yesterday and gave up and went to bed, and now I'm back at it this morning.  I just can't make heads or tails of what the error is trying to tell me.

Thanks

Kevin J Baird

 

 

DotNetNuke.Services.Exceptions.ModuleLoadException: The base class includes the field 'Timer1', but its type (System.Web.UI.Timer) is not compatible with the type of control (System.Web.UI.Timer). ---> System.Web.HttpParseException: The base class includes the field 'Timer1', but its type (System.Web.UI.Timer) is not compatible with the type of control (System.Web.UI.Timer). ---> System.Web.HttpParseException: The base class includes the field 'Timer1', but its type (System.Web.UI.Timer) is not compatible with the type of control (System.Web.UI.Timer). at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildFieldDeclaration(ControlBuilder builder) at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) at System.Web.Compilation.TemplateControlCodeDomTreeGenerator.BuildMiscClassMembers() at System.Web.Compilation.BaseCodeDomTreeGenerator.BuildSourceDataTree() at System.Web.Compilation.BaseTemplateBuildProvider.GenerateCode(AssemblyBuilder assemblyBuilder) at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) --- End of inner exception stack trace --- at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

 
New Post
6/11/2008 10:03 AM
 

Sorry, just to clarify, I checked-on 'Allow this precompiled site to be updatable' and 'Use fixed naming and single pass assemblies'

 

 

 
New Post
6/11/2008 11:10 AM
 

I figured it out.  I'll leave this here for future reference if anyone else has the same issue.

It was caused by the web.config not being completely updated to the 3.5 framework.  Once I made the various changes in the web.config, the application worked fine.

 
New Post
6/11/2008 12:19 PM
 

Thank you for following up.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...base class errorbase class error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out