Gettings errors when I overwrote CE for DNN 4X with CE for DNN 5X

Last post 03-03-2010, 9:31 PM by dsmajor. 8 replies.
Sort Posts: Previous Next
  •  02-23-2010, 1:08 PM 58920

    Gettings errors when I overwrote CE for DNN 4X with CE for DNN 5X

    Downloaded your latest and greatest CE for DNN 5X (cuz I need the hyperlink tool to link to tabs in the DNN install) and when I go to edit a page, I see the following error (which I believe is a Red Herring: has nothing to do with UI.Containers.ActionBase): (Please help)
     

    Server Error in '/' Application.

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

    1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

      <%@ Page Language="C#" Debug="true" %>

    or:

    2) Add the following section to the configuration file of your application:

    <configuration>
       <system.web>
           <compilation debug="true"/>
       </system.web>
    </configuration>

    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() +29
    DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) +41

    [ModuleLoadException: An error has occurred.]
    DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) +377
    DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control ctrl, Exception exc, Boolean DisplayErrorMessage) +185
    DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control ctrl, Exception exc) +34
    DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) +109
    System.EventHandler.Invoke(Object sender, EventArgs e) +0
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

    [PageLoadException: An error has occurred.]
    DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +277
    DotNetNuke.Framework.PageBase.OnError(EventArgs e) +394
    System.Web.UI.Page.HandleError(Exception e) +84
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6776
    System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
    System.Web.UI.Page.ProcessRequest() +80
    System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
    System.Web.UI.Page.ProcessRequest(HttpContext context) +49
    ASP.default_aspx.ProcessRequest(HttpContext context) +4
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
     
  •  03-01-2010, 9:58 PM 59091 in reply to 58920

    Re: Gettings errors when I overwrote CE for DNN 4X with CE for DNN 5X

    Hi dsmajor,
     
    Please debug your site and send me the full error message.
     
    You can send the information to Kenneth@CuteSoft.net
     
    Regards
     
    Ken
  •  03-02-2010, 12:35 PM 59111 in reply to 58920

    Re: Gettings errors when I overwrote CE for DNN 4X with CE for DNN 5X

    Dear dsmajor,
     
    Please check NukeEdit4\document\DotNetNuke-Integration.htm in download package, that is installation steps for dnn4.x, have an inversion operation and uninstall CuteEditor for DNN4.X
     
    When finish those steps, install cuteeditor for dnn5.x, the installation steps can be found at NukeEdit5\document\DotNetNuke-Integration.htm in download package, the details are as follows:

    1. Deploying the CEHtmlEditorProvider

    Add the CEHtmlEditorProvider (located in the archive) to the DotNetNuke 4.x solution. CEHtmlEditorProvider folder and all file it contains should be deployed to DOTNETNUKE_FOLDER\Providers\HtmlEditorProviders.


    2. Deploying CuteEditor.dll assembly and license file

    Copy the following files to your application bin folder.

    • CuteEditor.dll
    • DotNetNuke.CEHtmlEditorProvider.dll
    • CuteEditor.ImageEditor.dll
    • NetSpell.SpellChecker.dll
    • CuteEditor.lic

    3. Edit your web.config and locate the "htmlEditor" section. Change it to:

    4. Add Uploader httpModule to web.config's httpModules list

    To allow CuteEditor to upload large files, you need to add Uploader HttpModule to your application.

    IIS 5.0, 6.0 and IIS 7.0 Classic mode

    <configuration>
      <system.web>
        <httpModules>
          <add name="CuteEditor.UploadModule" type="CuteEditor.UploadModule,CuteEditor"/>
         </httpModules>
      </system.web>
    </configuration>

    IIS 7.0 Integrated mode

    <configuration>
      <system.webServer>
        <modules>
          <add name="CuteEditor.UploadModule" type="CuteEditor.UploadModule,CuteEditor"/>
        </modules>
      </system.webServer>
    </configuration>
     
     
    Regards,
    Eric
  •  03-02-2010, 2:57 PM 59116 in reply to 58920

    Re: Gettings errors when I overwrote CE for DNN 4X with CE for DNN 5X

    dsmajor:
    Downloaded your latest and greatest CE for DNN 5X (cuz I need the hyperlink tool to link to tabs in the DNN install) and when I go to edit a page, I see the following error (which I believe is a Red Herring: has nothing to do with UI.Containers.ActionBase): (Please help)
     

    Server Error in '/' Application.

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

    1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

      <%@ Page Language="C#" Debug="true" %>

    or:

    2) Add the following section to the configuration file of your application:

    <configuration>
       <system.web>
           <compilation debug="true"/>
       </system.web>
    </configuration>

    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() +29
    DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) +41

    [ModuleLoadException: An error has occurred.]
    DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) +377
    DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control ctrl, Exception exc, Boolean DisplayErrorMessage) +185
    DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control ctrl, Exception exc) +34
    DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) +109
    System.EventHandler.Invoke(Object sender, EventArgs e) +0
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

    [PageLoadException: An error has occurred.]
    DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +277
    DotNetNuke.Framework.PageBase.OnError(EventArgs e) +394
    System.Web.UI.Page.HandleError(Exception e) +84
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6776
    System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
    System.Web.UI.Page.ProcessRequest() +80
    System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
    System.Web.UI.Page.ProcessRequest(HttpContext context) +49
    ASP.default_aspx.ProcessRequest(HttpContext context) +4
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
     
     
    Please login as admin and check the  DNN log viewer. Find the detailed error message of this issue.
     
    Keep us posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-03-2010, 1:38 AM 59128 in reply to 58920

    Re: Gettings errors when I overwrote CE for DNN 4X with CE for DNN 5X

    Detailed Error Message from the built in log viewer:
     
    AssemblyVersion: 5.2.2
    PortalID: 0
    PortalName: Sapphire Test Site
    UserID: 1247719
    UserName: steve.major@sapphire.com
    ActiveTabID: 89
    ActiveTabName: career center
    RawURL: /currentcontractors/careercenter/tabid/89/ctl/Edit/mid/414/Default.aspx
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer: http://localhost/currentcontractors/careercenter.aspx
    UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: 4285b453-accf-4a57-afa5-67427f2318ab
    InnerException: Unhandled Error:
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: DotNetNuke.UI.Containers.ActionBase.get_ActionRoot
    StackTrace:
    Message: System.Exception: Unhandled Error: ---> DotNetNuke.Services.Exceptions.PageLoadException: An error has occurred. ---> DotNetNuke.Services.Exceptions.ModuleLoadException: An error has occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace --- at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control ctrl, Exception exc, Boolean DisplayErrorMessage) at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control ctrl, Exception exc) at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) at DotNetNuke.Framework.PageBase.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.default_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
    Source:
     
  •  03-03-2010, 12:58 PM 59139 in reply to 59128

    Re: Gettings errors when I overwrote CE for DNN 4X with CE for DNN 5X

    I cannot find any error message related to Cute Editor.
     
    Please remove the Cute Editor from DNN and download Cute Editor for DNN 5.0 http://cutesoft.net/download/NukeEdit5.zip
     
    Then follow the instructions here:
     
     
    keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-03-2010, 3:42 PM 59147 in reply to 59139

    Re: Gettings errors when I overwrote CE for DNN 4X with CE for DNN 5X

    I finally got this resolved. Thanks for the help. I think the thing that did it was downloading another copy of CE for DNN 5.
    NOW I have this problem... Cannot upload files through the CEditor...
     
     
    I gave Everyone access to the portal folder and gave Everyone access to the C:\Windows\Temp folder (BAD!) - but still no luck... Do I need some sort of impersonation in the config??
  •  03-03-2010, 4:15 PM 59150 in reply to 59147

    Re: Gettings errors when I overwrote CE for DNN 4X with CE for DNN 5X

  •  03-03-2010, 9:31 PM 59153 in reply to 59150

    Re: Gettings errors when I overwrote CE for DNN 4X with CE for DNN 5X

    That seems to have done the trick. Thanks very much for the timely reply!
     
    SM
View as RSS news feed in XML