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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogEditEntry throws exceptionEditEntry throws exception
Previous
 
Next
New Post
2/8/2008 7:53 PM
 

First off  - I apologize if this naive post. This is my first DotNetNuke install and I'm still getting used to working with it. With that disclaimer... I'm just trying to get a blog module up and running.

I am running DNN version 04.08.00 and version 03.04.00 of the blog module. Everything I've played with so far seems to work with the exception of the blog entry editor. Whenever I attempt to use it I get the "Error: Edit Entry is currently unavailable message."

I googled about a bit and found the issue with the mistyped 'e', but when I checked out my EditEntry.ascx it was already fixed in my version.

After digging around a bit I found the event log and was able to pull the stack trace. I googled a bit more using some keys from the trace, but didn't find anything useful. Is this a known issue?

 

InnerException: The base class includes the field 'txtDescription', but its type (DotNetNuke.UI.UserControls.TextEditor) is not compatible with the type of control (ASP.controls_texteditor_ascx).
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildFieldDeclaration
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The base class includes the field 'txtDescription', but its type (DotNetNuke.UI.UserControls.TextEditor) is not compatible with the type of control (ASP.controls_texteditor_ascx). ---> System.Web.HttpParseException: The base class includes the field 'txtDescription', but its type (DotNetNuke.UI.UserControls.TextEditor) is not compatible with the type of control (ASP.controls_texteditor_ascx). ---> System.Web.HttpParseException: The base class includes the field 'txtDescription', but its type (DotNetNuke.UI.UserControls.TextEditor) is not compatible with the type of control (ASP.controls_texteditor_ascx). 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.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
2/9/2008 12:20 PM
 

Hi Rob,

Welcome to DotNetNuke.  It's a great platform.  Thanks also for researching this issue and providing the stack trace.  That really helps.

The stack trace is saying that it's looking for a DNN texteditor control, but it's actually finding a regular old ASP.NET textbox control.  I went out and compared my 3.3.1 version of the blog module to my 3.4 version and found that 3.3.1 has a regular old ASP.NET control for the descriptoin while 3.4 uses the DNN texteditor control.  Soo, I'm guessing that somehow you ended up with the dll for 3.4 in the bin folder and the files (at least the EditEntry.ascs file) for an older version of the blog. 

Here's what I would try next at this point:

  • Completely remove the blog module by going into Module Definitions, clicking the edit icon to edit the Blog module and selecting Uninstall along with checking the Delete files option.
  • Reinstall the Blog module.

Hopefully this will solve your problem and you'll be on your way to using DNN!

One last thing.  If you're used to using other blogging platforms, such as DasBlog or SubText, then you might find the DNN Blog module to be inadequate.  If that's the case, then take a look at Scott McCulloch's News Articles module.  We've created providers for both of these modules for a product called metaPost which you can use to publish your blog entries with Windows Live Writer.  The current release of metaPost supports the blog module and the next release (due by my own timeline yesterday) has support for the Ventrian News articles module.



Don Worthley
Software Architect
Element Eleven

 
New Post
2/9/2008 1:46 PM
 

Thanks for the reply. Ironically, I had just finished uninstalling/reinstalling the blog module when I read your post. Unfortunately, the reinstall didn't take care of the issue, but it was an obvious thing to try first.

When reinstalling didn't cut it, pulled down the blog module off my server and started tracing up from the txtDescription control. It was a really short trace. The txtDescription control is a dnn:texteditor that normally lives in ~/controls/TextEditor.ascx. Since the exception was complaining about the base type, I downloaded the TextEditor.ascx file to see what it was derived from. Imagine my surpise when I opened the file and found... nothing. The file was empty -both on my client and on the server. I'm guessing it must have been an issue with my ftp when I originally moved DotNetNuke up to the server.

I went back to my original DotNetNuke download, pulled out the TextEditor.ascx file and pushed it up to the server. After a quick app restart, everything seems peachy -although I'm still wondering why it fell back to the plain old textbox control when it couldn't find the DNN class. I did notice that when I tried adding an entry after I uploaded the correct TextEditor.ascx, I got a type conflict for controls_texteditor_ascx in the ASP namespace. I'll have to dig a bit more for my own edification.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogEditEntry throws exceptionEditEntry throws exception


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