Question

Photo of Daniel Patterson

0

Post Installation Login Problems

Hi Rock community, new here.

Using shared hosting (cloud hosting) I have managed to install the CMS successfully until the site loads /complete.aspx (after clicking "Flip the switch") and brings you to the first login. It is at this stage I have problems (see screenshot). I am unable to login and get started.

Your thoughts and advice would be gratefully received.

Screen Shot 2017-03-07 at 14.38.12.png

  • Photo of Gladson Jacob

    0

    Refresh the page and you should see the page with all CSS loaded. For login, provide the ADMIN username and password you entered, during the pre-install steps.

  • Photo of Daniel Patterson

    0

    Hi Gladson,


    Appreciate the quick answer however this isn't a browser cache issue I'm afraid. I have tried using multiple browsers in incognito modes too. The username and password setup in the pre-install steps unfortunately do not allow me to log in.

  • Photo of Gladson Jacob

    0

    Hi Daniel,

    "The username and password setup in the pre-install steps unfortunately do not allow me to log in". This should never be a case. As, I have installed Rock at-least 20+ times in shared hosting environments. I have seen the scenario same as in the screenshot you provided, when we Turn on the Switch, but I am always able to login and once I login or refresh the page, I see all the styles loaded. 

    If the uid/pwd entered during pre-intall doesn't work, my recommendation would be scrap the installation and re-install. Delete the DB, delete all the files and start Install once again.

  • Photo of Daniel Patterson

    0

    Thanks again Gladson,

    This is actually my second installation after wiping all files/database tables etc. as it had the same problem too. I will try a third time on a brand new domain at that too and let you know.

  • Photo of Daniel Hazelbaker

    0

    Also, you might use a non-secure password and type the username + password into Notepad/Textedit first and then copy and paste from there into both the "pre-install user creation step" as well as the "post-install login". This would make 100% certain it is not a mistype. I've mistyped a password in both the password and confirm boxes before when creating logins. It's a pain.

    If after that you are still having the same problems (cannot login and CSS not showing up correctly), please post more information about your setup. Windows version, SQL version, etc.

    Also check the ~/App_Data/Logs/ folder for any errors that might indicate the problem. Also possibly turn off anti-virus during install. At least one other person was having weird installation issues until he turned off anti-virus during the install portion.

  • Photo of Daniel Patterson

    0

    There must be something fundamentally wrong with the way I am setting up, with the server setup or the installation files. 


    Here is my progress through the system on another domain (this time with no ssl implemented at all). I missed the shot which would have confirmed that server set up/database setup etc. was good to go.

    Screen Shot 2017-03-07 at 16.02.23.pngScreen Shot 2017-03-07 at 16.06.06.pngScreen Shot 2017-03-07 at 16.08.48.png

    I have tested on multiple browsers (within incognito modes too), multiple computers and also on tablet and phone. Same issue, I cannot log in, css will not load.


    Feel free to look for yourself: http://login.bethel.info/

    CSS in source view shows developer.css but it isn't actually being called or the html isn't rendering any classes.

    Screen Shot 2017-03-07 at 16.15.08.png

  • Photo of Daniel Patterson

    0

    This was typically repeated in the RockApplication.csv within App_Data/Logs:

    07/03/2017 16:25:17,Application Started Successfully
    07/03/2017 16:25:28,Application Ended: HostingEnvironment initiated shutdown
    HostingEnvironment caused shutdown
    I will try turning off anti-virus and copying into notepad/typepad and let you know shortly (after I delete everything and start again for the fourth time). 

    Thanks for all the suggestions.

    • Gladson Jacob

      That explains. HostingEnvironment is being shutdown for xyz reasons. Next time, also post the URL you provide in the pre-install screens for Internal and External site.

  • Photo of Daniel Patterson

    0

    Hi Gladson, thanks again for your input. 

    I installed the above attempt on http://login.bethel.info and provided the Internal site as http://login.bethel.info and the External site as http://bethel.info. I have just questioned my hosting provider on the shutdown issue

  • Photo of Daniel Hazelbaker

    0

    The reasons for the CSS problems, and probably everything else, is because the web application is running without "AppRoot" configured somehow. That is what is used to translate paths in the HTML such as "~/Styles/bootstrap.css" into the proper path (~ == AppRoot). For whatever reason, that value is either not set or not available to the .NET application (Rock) and is usually supplied by IIS. I cannot say for sure, but I would suspect something wrong in IIS.

    What version of Windows Server and IIS are you trying to install on?

  • Photo of Daniel Patterson

    0

    Thanks for the replies. I'm working with hosting provider at the moment to tackle these issues. I'm using WS2012 with SQL Server 2016 and at least .NET 4.5 and IIS 8 (at least the minimum requiremetns).


    The login page is now styled (progress!) but as of yet, I have still not been able to log in. I pre-typed into notes then copied to ensure correct password/username. I will pass on your response Daniel to providers to see if they can make head-or-tail of any other issues too.


    Thanks

  • Photo of Daniel Patterson

    0

    Hello all again. Thanks for your help again.


    I have still been at it and now making some progress but still no actual resolve.


    The hosting provider has increased memory etc. and now  and the log file now simply states:

    08/03/2017 11:45:36,Application Starting... 
    08/03/2017 11:46:24,Application Started Successfully
    08/03/2017 11:46:24,Application Started Successfully

    Even though the page is styled now, I still cannot log in using the credentials setup in the pre-installation. I am very grateful for your expertise and experience, I'd love to get Rock up and running as soon as possible, I just need to be able to log in now.


  • Photo of Gladson Jacob

    0

    Please join the Rock RMS Slack team and send me a direct message. I can try to help you. 

  • Photo of Daniel Patterson

    0

    Many thanks.