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
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SteadyRain
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
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Blog Module [Le...  EditEntry throws exception
Previous Previous
 
Next Next
New Post 2/8/2008 4:53 PM
User is offline Rob
2 posts
10th Ranked


EditEntry throws exception 

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 9:20 AM
User is offline Don Worthley
216 posts
www.itcrossing.com
9th Ranked




Re: EditEntry throws exception 

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
IT Crossing Logo

Try metaPost today! Adding Web 2.0 Styled Content is Fun and Easy.
 
New Post 2/9/2008 10:46 AM
User is offline Rob
2 posts
10th Ranked


Re: EditEntry throws exception 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Blog Module [Le...  EditEntry throws 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.

 


DocuPeak Business Process Management RAD
Comprehensive enterprise and government process management. Forms, documents, indexing, workflow, views, content intelligence, capture, etc. Point and click rapid application development.
www.Webiplex.com
ADefWebserver.com
DotNetNuke® Module Development Help Website
ADefWebserver.com
Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com

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