Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  base class error
Previous Previous
 
Next Next
New Post 6/11/2008 7:34 AM
User is offline Kevin J Baird
10 posts
VGNRadio.com
10th Ranked


base class error 

 

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 8:03 AM
User is offline Kevin J Baird
10 posts
VGNRadio.com
10th Ranked


Re: base class error 

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 9:10 AM
User is offline Kevin J Baird
10 posts
VGNRadio.com
10th Ranked


Re: base class error 

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 10:19 AM
User is offline Michael Washington
2848 posts
ADefWebserver.com
5th Ranked










Re: base class error 

Thank you for following up.



Michael Washington
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  base class error
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


TMA Resources
TMA Resources is a software company providing eBusiness solutions for the Association market.
www.tmaresources.com
DotNetNuke Hosting Provider UK
UK leading DotNetNuke Hosting provider. Owned and operated by a Microsoft Gold Certified Partner.
www.DNN-Portals.co.uk
Alliance Systems & Programming Inc
Alliance is not just our name... it's how we do business. We partner with our clients, learning their business processes and standards and then applying our expertise to help them improve their workflow and profitability.
www.Alliancesys.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP