Question

Photo of Andrew Lee

0

Unable to Login to Rock

We are on a hosted Server 2012, running Rock 7.4.  This morning we are unable to login to Rock.  When visiting the URL we are taken to a page that says "That wasn't supposed to happen."  Looking through server logs, I did notice an ASP.net warning error (Event code: 3005 Event message: An unhandled exception has occurred.)

We are able to browse the database manually via the SQL server manager studio.

The server has been rebooted.


Thank you,

Andrew



  • Photo of Daniel Hazelbaker

    0

    Since you have access to SQL, you can also run:

    SELECT TOP 10 * FROM [ExceptionLog] ORDER BY [Id] DESC

    and look through the most recent exceptions to see if it gives any more information about what is failing exactly.

    • Andrew Lee

      Running this SQL query I am seeing the same exception over and over. I've included a snipit of it below. Does this make sense to anyone by chance?



      1. The wait operation timed out


      Resulting in: Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=5725; handshake=13997;


      Resulting in: The underlying provider failed on Open.


      Resulting in: An exception occurred while trying to create an instance of type 'Rock.Security.Authentication.ActiveDirectory'.


      Resulting in: Cannot activate part 'Rock.Security.Authentication.ActiveDirectory'.
      Element: Rock.Security.Authentication.ActiveDirectory --> Rock.Security.Authentication.ActiveDirectory --> AssemblyCatalog (Assembly="Rock, Version=1.7.4.58, Culture=neutral, PublicKeyToken=null")


      Resulting in: Cannot get export 'Rock.Security.Authentication.ActiveDirectory (ContractName="Rock.Security.AuthenticationComponent")' from part 'Rock.Security.Authentication.ActiveDirectory'.
      Element: Rock.Security.Authentication.ActiveDirectory (ContractName="Rock.Security.AuthenticationComponent") --> Rock.Security.Authentication.ActiveDirectory --> AssemblyCatalog (Assembly="Rock, Version=1.7.4.58, Culture=neutral, PublicKeyToken=null")

    • Daniel Hazelbaker

      That error basically means it could not establish a connection to SQL server.


      Based on your comment that you are on 3 Essentials, I would open a support ticket with them since they are having some known issues. This is likely related to their core problems they are trying to resolve.

    • Andrew Lee

      Sorry guys, I realized I never posted an answer back. 3 Essentials support resolved the issue with the following response:
      The asp support option was disabled for the domain. You can enable this from plesk >> website and domains >> domain >> hosting settings >> check the option Microsoft ASP support.

  • Photo of Jim Michael

    0

    Did you look at the exceptions log under /App_Data on the web server? You'll need to identify the actual exception occurring. Also, you're no on 3Essentials, are you? Lots of people have been having outages with them recently.