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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...5.4 upgrade issue with text editor5.4 upgrade issue with text editor
Previous
 
Next
New Post
4/20/2010 11:11 AM
 

All pages with text editor are throwing these errors after upgrade to 5.4 from 5.3.1, can any one help?

AssemblyVersion: 5.4.0
PortalID: 0
UserID: 58
ActiveTabID: 140
RawURL: /iimsdemo/Providers/HtmlEditorProviders/Fck/FCKStyles.aspx?tabid=140
AbsoluteURL: /iimsdemo/Providers/HtmlEditorProviders/Fck/FCKStyles.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; MS-RTC LM 8; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 8be23f1c-4b68-4e82-8249-0705bf0ff5b6
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Framework.AJAX.AddScriptManager
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Framework.AJAX.AddScriptManager(Page objPage) at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
 
AssemblyVersion: 5.4.0
PortalID: 0
UserID: 58
ActiveTabID: 140
RawURL: /iimsdemo/Providers/HtmlEditorProviders/Fck/FCKCSS.aspx?tabid=140
AbsoluteURL: /iimsdemo/Providers/HtmlEditorProviders/Fck/FCKCSS.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; MS-RTC LM 8; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 0d62b8d1-39f4-4010-bdc0-2e6c56c459d0
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Framework.AJAX.AddScriptManager
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Framework.AJAX.AddScriptManager(Page objPage) at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
 
New Post
4/20/2010 1:19 PM
 

I had run into the same errors when testing the DotNetNuke Gallery module against 5.4.0 before its release. In the case of the FCKEditorProvider, both of the pop-up pages fckStyles.aspx and fckCSS.aspx do not include html Form tags but do in their codebehind files inherit from the core class DotNetNuke.Framework.PageBase. Whenever .aspx pages inheriting from this base class are loaded, an attempt is made to insert an AJAX ScriptManager into the page's controls. In versions of DotNetNuke prior to 5.4.0, a Try/Catch block had been placed around the code (in DotNetNuke.Framework.AJAX.vb) for adding the ScriptManager so that should the code fail, any exception would be gracefully ignored. In 5.4.0, the Try/Catch block had been removed with the understanding that since MS AJAX was always installed and enabled, the code could not fail. However, it will fail when there is no Form tag on the aspx page.

For the Gallery module, I had to re-design its pop-up pages so that they did not inherit from DotNetNuke.Framework.PageBase. The FCKEditorProvider will have to undergo a similar change. However, with the backporting of the Telerik RADEditorProvider from DotNetNuke Professional Edition in version 5.4.0, I'm not sure what the plans are for continuing support of the FCKEditorProvider.

As a fix for now, you may want to change the htmlEditor provider defaultProvider from FckEditorProvider to TelerikEditorProvider which is the default on new installs of 5.4.0 but not on upgrades. As I havn't yet done a test upgrade, I'm not sure if the TelerikEditorProvider is installed during an upgrade or if it has to be installed manually from Host-->Extensions. I have experimented briefly with the Telerik editor and so far really like it - will take a while to get used to, though.


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
4/20/2010 1:38 PM
 

Thanks William, your post was very helpful. Editor issue is now resolved.

I have come across another issue now, when i click on register on home page (i have configured verified security setting), page loads but it never takes me to register page where i can choose username and password and then system can email me my security code. I can login to site with existing account and i can use all existing modules with no issues but looks like no new user can register for some reason. i do not have smtp server configured which would email me the code, do you know if smtp settings are now necessary to even load the register page????

 
New Post
4/22/2010 12:42 AM
 

I am commenting based on what I read here. How can the FckEditorProvider be broken in 5.4 when almost everyone is using it!? Are you sure about this? It seems everyone who upgraded would complain about this as the html editor is the module everyone uses, It must work regardles if the Telerik provider is included. During an upgrade Telerik's provider is not on by default. It's on with new installs only. 

 
New Post
4/22/2010 12:46 AM
 

Thanks Toni,

After upgrade i was getting errors on FCKEditor but when i changes my defaulteditor to Telerik, all errors were gone. i am using Telerik editor now through out the site and very happy with it.

Thank you for your comments.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...5.4 upgrade issue with text editor5.4 upgrade issue with text editor


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