Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Darren Smith 12 posts 30 karma points
    Jul 09, 2010 @ 11:28
    Darren Smith
    0

    Server error when logging in to CMS

    Every day when i log into the umbraco CMS once i have enetered my login details I am presented with Serevr error in '/' application and I am having to do an IIS reset every morning to resolve this. There doesn't appear to be any clear reason for this happening that i can see has anyone got any ideas???

    Cheers

    Darren

  • David Conlisk 432 posts 1008 karma points
    Jul 09, 2010 @ 11:53
    David Conlisk
    0

    Can you post the details of the server error please?

  • Darren Smith 12 posts 30 karma points
    Jul 09, 2010 @ 12:06
    Darren Smith
    0

    This was in the Evnet log on the server i will post more details when it happens again tomorrow and customerrors is off:

    Event Type:        Warning

    Event Source:    ASP.NET 2.0.50727.0

    Event Category:                Web Event

    Event ID:              1309

    Date:                     09/07/2010

    Time:                     08:14:57

    User:                     N/A

    Computer:          UKGMFWS01

    Description:

    Event code: 3005

    Event message: An unhandled exception has occurred.

    Event time: 09/07/2010 08:14:57

    Event time (UTC): 09/07/2010 07:14:57

    Event ID: 6e87fb50b97f475aa030a53c1c835476

    Event sequence: 3300

    Event occurrence: 3

    Event detail code: 0

     

    Application information:

        Application domain: /LM/W3SVC/968600715/Root-1-129230719182714960

        Trust level: Full

        Application Virtual Path: /

        Application Path: -----REMOVED FOR SECURITY--------

        Machine name: UKGMFWS01

     

    Process information:

        Process ID: 3916

        Process name: w3wp.exe

        Account name: NT AUTHORITY\NETWORK SERVICE

     

    Exception information:

        Exception type: TypeInitializationException

        Exception message: The type initializer for 'umbraco.BusinessLogic.Actions.Action' threw an exception.

     

    Request information:

        Request URL: ---REMOVED FOR SECURITY--------

        Request path: ---REMOVED FOR SECURITY--------

        User host address: -----REMOVED FOR SECURITY----

        User: 

        Is authenticated: False

        Authentication Type: 

        Thread account name: NT AUTHORITY\NETWORK SERVICE

     

    Thread information:

        Thread ID: 7

        Thread account name: NT AUTHORITY\NETWORK SERVICE

        Is impersonating: False

        Stack trace:    at umbraco.cms.presentation._umbraco.RenderActionJS()

       at umbraco.cms.presentation._umbraco.Page_Load(Object sender, EventArgs e)

       at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)

       at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)

       at System.Web.UI.Control.OnLoad(EventArgs e)

       at umbraco.BasePages.BasePage.OnLoad(EventArgs e)

       at System.Web.UI.Control.LoadRecursive()

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

     

     

    Custom event details:

     

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

  • Darren Smith 12 posts 30 karma points
    Jul 14, 2010 @ 10:14
    Darren Smith
    0

    When I try to log in to the CMS i get the following error and the only way to resolve this is to do an IIS reset. This happens almost on a daily basis now any help would be greatly appreciated.

    Regards

    Darren

    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:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.BusinessLogic.Utils.TypeFinder.FindClassesOfType(Boolean useSeperateAppDomain) +21
       umbraco.BusinessLogic.Actions.Action.RegisterIActions() +78
       umbraco.BusinessLogic.Actions.Action..cctor() +126

    [TypeInitializationException: The type initializer for 'umbraco.BusinessLogic.Actions.Action' threw an exception.]
       umbraco.cms.presentation._umbraco.RenderActionJS() +54
       umbraco.cms.presentation._umbraco.Page_Load(Object sender, EventArgs e) +1055
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       umbraco.BasePages.BasePage.OnLoad(EventArgs e) +12
       System.Web.UI.Control.LoadRecursive() +47
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

    ________________________________________
    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Jul 14, 2010 @ 10:30
    Ismail Mayat
    1

    Darren,

    Do you have the website in its own app pool?  Are your permissions all correct and do you have any action handlers setup?

    Regards

    Ismail

  • Darren Smith 12 posts 30 karma points
    Jul 14, 2010 @ 10:51
    Darren Smith
    0

    Hi Ismail,

    The website has it's own app pool and no action handlers have been setup as far as i can see permissions are all correct unless I am missing something. Thanks for your speedy response.

    Regards

    Darren

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Jul 14, 2010 @ 10:55
    Ismail Mayat
    0

    Darren,

    What version of umbraco / IIS and windows are you using?

    Regards

    Ismail 

  • Darren Smith 12 posts 30 karma points
    Jul 14, 2010 @ 11:08
    Darren Smith
    0

    Ismail,

    umbraco v 4.0.3 (Assembly version: 1.0.3625.27276)

    Windows Server 2003 R2 sp 2

    IIS 6.0

    Regards

    Darren

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Jul 14, 2010 @ 11:16
    Ismail Mayat
    1

    Darren,

    The only time i have seen errors like this are when permissions have not been setup properly on umbraco install directories and when site is not in its own app pool we have already tested those bits.  

    The only other thing to check is do you have any custom datatypes installed it may be one of those is causing the issue? although that usually manifests itself with yellow screen of death when you try to open a document using that datatype.

    One more thing can you also check the latest entries in the database umbracolog table is there anything in there to give us a clue?

    Regards

    Ismail

  • Darren Smith 12 posts 30 karma points
    Jul 14, 2010 @ 12:01
    Darren Smith
    0

    Ismail,

    These seem to be the only things that stand out in the umbracolog table and correspond with the CMS displaying the error

    85496

    0

    -1

    14/07/2010 06:57:45

    System

    Application started at 14/07/2010 06:57:45

    85497

    0

    -1

    14/07/2010 06:57:45

    System

    Loading content from disk cache...

    85499

    0

    -1

    14/07/2010 06:58:15

    Debug

    Cloning...

    85500

    0

    -1

    14/07/2010 06:58:15

    Debug

    Cloning ended...

    85501

    0

    2108

    14/07/2010 06:58:15

    Error

    Error unpublishing node: System.TypeInitializationException: The type initializer for 'umbraco.BusinessLogic.Actions.Action' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
      at umbraco.BusinessLogic.Utils.TypeFinder.FindClassesOfType[T](Boolean useSeperateAppDomain)
      at umbraco.BusinessLogic.Actions.Action.RegisterIActions()
      at umbraco.BusinessLogic.Actions.Action..cctor()
      --- End of inner exception stack trace ---
      at umbraco.BusinessLogic.Actions.Action.RunActionHandlers(Document d, IAction action)
      at umbraco.content.ClearDocumentCache(Int32 documentId)
      at umbraco.library.UnPublishSingleNode(Int32 DocumentId)
      at umbraco.presentation.publishingService.CheckPublishing(Object sender)

    85502

    0

    -1

    14/07/2010 06:58:15

    Debug

    Cloning...

    85503

    0

    -1

    14/07/2010 06:58:15

    Debug

    Cloning ended...

    85504

    0

    2109

    14/07/2010 06:58:16

    Error

    Error unpublishing node: System.TypeInitializationException: The type initializer for 'umbraco.BusinessLogic.Actions.Action' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
      at umbraco.BusinessLogic.Utils.TypeFinder.FindClassesOfType[T](Boolean useSeperateAppDomain)
      at umbraco.BusinessLogic.Actions.Action.RegisterIActions()
      at umbraco.BusinessLogic.Actions.Action..cctor()
      --- End of inner exception stack trace ---
      at umbraco.BusinessLogic.Actions.Action.RunActionHandlers(Document d, IAction action)
      at umbraco.content.ClearDocumentCache(Int32 documentId)
      at umbraco.library.UnPublishSingleNode(Int32 DocumentId)
      at umbraco.presentation.publishingService.CheckPublishing(Object sender)

    85505

    0

    -1

    14/07/2010 06:58:16

    Debug

    Xml saved in 00:00:00.0419285

    85506

    0

    -1

    14/07/2010 06:58:16

    Debug

    Xml saved in 00:00:00.0364286

     

    Regards

    Darren

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Jul 14, 2010 @ 12:08
    Ismail Mayat
    1

    Darren,

    Looking at the stack trace

    The type initializer for 'umbraco.BusinessLogic.Actions.Action' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object

    it looks like an action handler is causing the issue can you trying installing the package http://our.umbraco.org/projects/event-viewer and see what action handlers you have setup

    Regards

    Ismail

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jul 15, 2010 @ 06:50
    Aaron Powell
    0

    I'd take a guess that you have an action handler which is configured in your site but it's missing a reference to an external DLL.

    Have you got any packages installed on the site?

  • Darren Smith 12 posts 30 karma points
    Jul 15, 2010 @ 14:23
    Darren Smith
    0

    Ismail,

    After installing the event viewer package this was the return that i recieved.

    ActionHandlers

    umbraco.cms.businesslogic.web.DomainDeleteHandler => cms.DLL
    umbraco.ActionHandlers.umbEnsureUniqueName => umbraco.DLL

    Events

    umbraco.cms.businesslogic.web.Access

    AfterRemoveProtection


    Method: Access_AfterRemoveProtection => umbraco.DLL
    (Namespace: umbraco.presentation.nodeFactory.UmbracoSiteMapProviderAccessUpdate)

    AfterAddMemberShipRoleToDocument


    Method: Access_AfterAddMemberShipRoleToDocument => umbraco.DLL
    (Namespace: umbraco.presentation.nodeFactory.UmbracoSiteMapProviderAccessUpdate)

    AfterRemoveMemberShipRoleToDocument


    Method: Access_AfterRemoveMemberShipRoleToDocument => umbraco.DLL
    (Namespace: umbraco.presentation.nodeFactory.UmbracoSiteMapProviderAccessUpdate)

     

    Slace,

    I have not installed any packages so anything that is there must have been standard.

    Regards

    Darren

  • Siw Ørnhaug 130 posts 109 karma points
    Sep 23, 2011 @ 10:28
    Siw Ørnhaug
    0

    Hi Darren,

    have you resolved this problem?

    I'm experiencing the same with one of my sites.

    It doesn't have action handlers per se, but some packages and a costum data type. But I cannot see that anything is missing.

    But this is also a 4.0.3 installation, and this particular version seems a little unstable to me.

    May be an upgrade is the solution?

     

    Siw

  • Darren Smith 12 posts 30 karma points
    Sep 23, 2011 @ 10:53
    Darren Smith
    0

    Hi Siw,

    No resolution to this problem was ever found I was in contact with Umbraco Support regarding this but they wanted me to update to the latest stable version.

    I personally have not upgraded as yet due to other projects but it is in the pipeline. Fingers crossed that will resolve the issue.

    Darren

  • Siw Ørnhaug 130 posts 109 karma points
    Sep 23, 2011 @ 11:03
    Siw Ørnhaug
    0

    Personally I believe upgrading will help, as I said the v. 4.0.3 seems not so stable.

    Unfortunately I have several sites on that version, but only 2 large sites - one of them being the one I have to refresh the app pool for, on a regular basis.

    I don't look forward to upgrading xslt schema, checking which packages will work on next version, and so on, but I think it's necessary. Do you go for v. 4.7?

    Fingers crossed for you, and please inform me if this does the trick :-)

    Siw

Please Sign in or register to post replies

Write your reply to:

Draft