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  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Indoo
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Module Load Exception
Previous Previous
 
Next Next
New Post 4/9/2008 4:07 PM
User is offline weldonr30
11 posts
10th Ranked


Re: Module Load Exception 

Thanks to everyone for trying to help out on this.  It turns out the problem was my local site was on version 4.8.1 and the remote site was on 4.8.0. 

For anyone having this problem I discovered this by creating a very simple "HelloWorld" module with nothing but a label on it then installing on the remote site.  This gave me a much more meaningful error.

 
New Post 4/9/2008 4:52 PM
User is offline William Severance
576 posts
www.wesnetdesigns.com
8th Ranked




Re: Module Load Exception 
Modified By William Severance  on 4/9/2008 7:56:12 PM)

Your @ Control directive and namespacing appears to be correct. Most often the CreateResourceBasedLiteralControl error is due to namespacing or other mismatch between the .ascx or .aspx and the codebehind. The reference in the error to 'ASP.desktopmodules_cersdb_cersdb_ascx' reminds me of the default class name that one gets when creating a usercontrol in VS2005 or VS2008 before editing the @ Control directive and the codebehind to use the desired namespace and class name. With a compiled module project, each control (.ascx file) will have an automatically generated designer file as well as the codebehind file. In your case the designer file should be named CERSDB.ascx.designer.vb. Usually, but not always, when one modifies the namespacing and class name in the .ascx and/or codebehind, that in the designer automatically changes to match. Check to see if you have a CERSDB.ascx.designer.vb file and that the namespace and classname exactly match those in the codebehind and if necessary make the change and then recompile.

EDIT: When I posted the above, your last post had not yet appeared. Glad you got it worked out. That's the first time I've seen the CreateResourceBasedLiteralControl error caused by a DNN version mismatch - usually the error for that is quite to the point.


Bill, WESNet Designs
 
New Post 5/8/2008 8:50 AM
User is offline Sandeep
1 posts
10th Ranked


Re: Module Load Exception 

Hello Everyone,

I have a query....I developed the module on DNN 4.7.0 and when I installed the module on the server (DNN 4.8.2)....its installed properly but when I placed the module on the page I got the following error-----however its working fine in local......

DotNetNuke.Services.Exceptions.ModuleLoadException: D:\inetpub\supp\DesktopModules\CRE\DisplaySingleCategoryProduct.ascx(10): error BC30456: 'CreateResourceBasedLiteralControl' is not a member of 'ASP.desktopmodules_CRE_displaysinglecategoryproduct_ascx'. ---> System.Web.HttpParseException: D:\inetpub\supp\DesktopModules\CRE\DisplaySingleCategoryProduct.ascx(10): error BC30456: 'CreateResourceBasedLiteralControl' is not a member of 'ASP.desktopmodules_CRE_displaysinglecategoryproduct_ascx'. ---> System.Web.HttpCompileException: D:\inetpub\supp\DesktopModules\CRE\DisplaySingleCategoryProduct.ascx(10): error BC30456: 'CreateResourceBasedLiteralControl' is not a member of 'ASP.desktopmodules_CRE_displaysinglecategoryproduct_ascx'. at System.Web.Compilation.AssemblyBuilder.Compile() 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.Compilation.BuildManager.GetVPathBuildResultWithAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.BaseTemplateParser.GetReferencedType(VirtualPath virtualPath, Boolean allowNoCompile) at System.Web.UI.BaseTemplateParser.GetUserControlType(VirtualPath virtualPath) at System.Web.UI.MainTagNameToTypeMapper.ProcessUserControlRegistration(UserControlRegisterEntry ucRegisterEntry) at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(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.Compilation.BuildManager.GetVPathBuildResultWithAssert(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 ---

I didnt find any solution....Any help would be appreciated

Thanks and Regards

Sandeep

 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Module Load Exception
 


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