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...Custom module runtime error BC30456: CreateResourceBasedLiteralControlCustom module runtime error BC30456: CreateResourceBasedLiteralControl
Previous
 
Next
New Post
10/15/2009 7:00 PM
 

Hi,

I've been building a custom module on DNN 5, and when I install and run it locally, everything is fine.  No problems at all.  I'm using the starter kit in VS 2008 Express.

But when the module gets loaded onto a server with a DNN 5 installation, it installs fine, but when I place it on a page, an error pops up.

Here's the text of the error.  I've bolded what I think are the relevant parts:

DotNetNuke.Services.Exceptions.ModuleLoadException: C:\Web 2\AR-Clients\DesktopModules\WebQuote1\AddWebQuote.ascx(1): error BC30456: 'CreateResourceBasedLiteralControl' is not a member of 'ASP.desktopmodules_webquote1_addwebquote_ascx'. ---> System.Web.HttpCompileException: C:\Web 2\AR-Clients\DesktopModules\WebQuote1\AddWebQuote.ascx(1): error BC30456: 'CreateResourceBasedLiteralControl' is not a member of 'ASP.desktopmodules_webquote1_addwebquote_ascx'. 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 DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---

I've must have read over 50 posts with similar problems, but none have rectified it.  There aren't any namespace problems, the web control references the correct code-behind-class, I'm compiling against the 3.5 framework.  I've spent 2 days on this error and it's a bit frustrating :-)

If anyone has any suggestions it would be much appreciated.  Thanks.

 
New Post
10/15/2009 8:32 PM
 

Make sure that the version of DNN framework that the module is compiled against on your development system is equal to or less than the DNN framework installed on the server. For example if the module was compiled against DNN 5.1.2 on your development system and then installed in a site on the server running DNN 5.1.0, this error can occur.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
10/15/2009 8:58 PM
 

Thanks, Bill.

I'm developing on 5.1.3, and the server is 5.1.2.  I will work on it tonight and see what happens.

 
New Post
10/16/2009 1:58 PM
 

Thank you very much, Bill.  Your advice was perfect.

I upgraded the server to 5.1.4, and then the module, which was compiled against 5.1.3, ran fine with no errors.  You saved me a whole lot of grief.

Alex

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Custom module runtime error BC30456: CreateResourceBasedLiteralControlCustom module runtime error BC30456: CreateResourceBasedLiteralControl


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