Photo of Jay Martinez

0

Beginer Fail

I installed Rock locally with a SQL Express version and do not know how to get through the login page. I  do not have login info. How do I acquire this or dev this out?  

  • Photo of Jay Martinez

    0

    Nick,
     
       I used the RockIT  SDK and admin/admin does not work. I am using VS 2015 with the following: 
    <add name="RockContext" 
        connectionString="Server=(localdb)\MSSQLLocalDB ; Initial Catalog=RockTestDB; 
        Integrated Security=true;MultipleActiveResultSets=true; Persist Security Info=true;"
        providerName="System.Data.SqlClient"/>
    Should the initial Catalog be different?
    Should I use an older version of VS? 
    Can I modify the credentials through the SDK version? 
     
     
    Thank you ! 
     
    • Nick Airdo

      When you try to login to Rock, are you just getting the "Sorry, we couldn't find an account matching that username/password. ..." message or something else?


      Depending on the version of SQL Express you may need to adjust your connection string. This Microsoft page explains that situation: https://www.connectionstrings.com/sql-server/


      But, before you go too far down that path do the following. Using your SQL Management Studio, you should verify the existence of the RockTestDB catalog and then peek into it and see if Rock created all the required tables (about 100 of them). If it did, then we know your connection string is fine and the problem is elsewhere. If you don't see them, then there is either a problem with your connection string's catalog/instance name or something else.


      The version of VS really doesn't matter for this problem you're having.


      (Just FYI, I did just test the Rockit SDK and it was able to create a new database for me and I was able to login using the admin account.)

  • Photo of Nick Airdo

    0

    Jose, if you used the Rock installer you would have given it the password when you installed it.  If you are more of a developer and are using the Rockit SDK, then the username and password are both "admin". 

  • Photo of Jay Martinez

    0

    So, 

         I went back and walked thourh the interal hosting steps that I had missed. Afterwards, I came back changed my connection string to several attempts but this one built the solution and accepted the login info. 

      <connectionStrings>
        <add name="RockContext" connectionString="Data Source=(Localdb)\MSSQLLocalDB  ;Initial Catalog=SmartSupport; ;MultipleActiveResultSets=true"
        providerName="System.Data.SqlClient"/>
      </connectionStrings>

     

    I'm sure I will have to do more with this initial set up when installing to prod comes around but for the mean time, It's alive! 

     

    Thank you!