FTB HTML Editor not working on fresh 3.1 install

Last post 06-20-2005 10:48 AM by AerosSaga. 4 replies.

Sort Posts:

  • Idea [Idea] FTB HTML Editor not working on fresh 3.1 install

    06-20-2005, 10:05 AM
    • Contributor
      4,555 point Contributor
    • Ed_DeGagne
    • Member since 02-23-2004, 12:16 PM
    • Ashby - Massachusetts
    • Posts 911
    I am dead in the water on this one. Anything that uses an HTML editor results in the following:

    This error appears right where the HTML text editor should be:

    An error has occurred.
    DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.UserControls.TextEditor.Page_Load(Object sender, EventArgs e) in E:\D3\Portal Source\DotNetNuke\controls\TextEditor.ascx.vb:line 427 --- End of inner exception stack trace ---

    And this is at the bottom of the page:

    Unhandled error loading module.
    DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.TypeInitializationException: The type initializer for "DotNetNuke.Modules.HTMLEditorProvider.HtmlEditorProvider" threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: Request for the permission of type System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken permToken) at System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken, CodeAccessPermission demand, StackCrawlMark& stackMark, Int32 checkFrames, Int32 unrestrictedOverride) at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark) at System.Security.CodeAccessPermission.Demand() at System.Reflection.Assembly.VerifyCodeBaseDiscovery(String codeBase) at System.Reflection.Assembly.GetName(Boolean copiedName) at System.Reflection.Assembly.GetName() at FreeTextBoxControls.Licensing.FtbLicenseProvider.GetLicenseDataStream(Type type) at FreeTextBoxControls.Licensing.FtbLicenseProvider.GetLicenseData(Type type) at FreeTextBoxControls.Licensing.FtbLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions) at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) at System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license) at System.ComponentModel.LicenseManager.Validate(Type type, Object instance) at FreeTextBoxControls.FreeTextBox..ctor() at DotNetNuke.HtmlEditor.Ftb3HtmlEditorProvider..ctor() in E:\D3\Portal Source\DotNetNuke\Providers\HtmlEditorProviders\Ftb3HtmlEditorProvider\Ftb3HtmlEditorProvider.vb:line 47 --- End of inner exception stack trace --- at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey) in E:\D3\Portal Source\DotNetNuke\components\Shared\Reflection.vb:line 102 at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) in E:\D3\Portal Source\DotNetNuke\components\Shared\Reflection.vb:line 67 at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType) in E:\D3\Portal Source\DotNetNuke\components\Shared\Reflection.vb:line 41 at DotNetNuke.Modules.HTMLEditorProvider.HtmlEditorProvider.CreateProvider() in E:\D3\Portal Source\DotNetNuke\components\Providers\HTMLEditor\HTMLEditorProvider.vb:line 38 at DotNetNuke.Modules.HTMLEditorProvider.HtmlEditorProvider..cctor() in E:\D3\Portal Source\DotNetNuke\components\Providers\HTMLEditor\HTMLEditorProvider.vb:line 33 --- End of inner exception stack trace --- at DotNetNuke.Modules.HTMLEditorProvider.HtmlEditorProvider.Instance() at DotNetNuke.UI.UserControls.TextEditor.Page_Init(Object sender, EventArgs e) in E:\D3\Portal Source\DotNetNuke\controls\TextEditor.ascx.vb:line 521 at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) in E:\D3\Portal Source\DotNetNuke\admin\Skins\Skin.vb:line 773 --- End of inner exception stack trace ---

    Anyone have any quick clues before I dive into it?


  • Re: Error (Newsletters) on fresh 3.1 install...

    06-20-2005, 10:09 AM
    • Contributor
      4,555 point Contributor
    • Ed_DeGagne
    • Member since 02-23-2004, 12:16 PM
    • Ashby - Massachusetts
    • Posts 911
    I actually get it wherever a HTML Editor is used.  :(

  • Re: Error (Newsletters) on fresh 3.1 install...

    06-20-2005, 10:26 AM
    • Contributor
      2,985 point Contributor
    • AerosSaga
    • Member since 04-03-2004, 12:21 PM
    • Williamsport, PA
    • Posts 597
    Looks like an licensing issue with FTB, are you using the pro version or trying to load any extra toolbar buttons? Also, is this a local install, or are you publishing?
  • Re: Error (Newsletters) on fresh 3.1 install...

    06-20-2005, 10:46 AM
    • Contributor
      4,555 point Contributor
    • Ed_DeGagne
    • Member since 02-23-2004, 12:16 PM
    • Ashby - Massachusetts
    • Posts 911
    Alright, figured it out.

    It was a local install, BTW.

    There was an older version of the FTB in the GAC and DNN was trying to use it.

    We had tried out the FTB in our portal product and decided to switch to the RADEditor instead, but forgot to clean up the FTB baggage left behind.

    Big Smile [:D]

  • Re: Error (Newsletters) on fresh 3.1 install...

    06-20-2005, 10:48 AM
    • Contributor
      2,985 point Contributor
    • AerosSaga
    • Member since 04-03-2004, 12:21 PM
    • Williamsport, PA
    • Posts 597
    Stupid GAC;)
Page 1 of 1 (5 items)