Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Willis
    @willisfu_twitter
    Hi Rintagi support, I found some database related problems when running Rintagi Installer.
    Willis
    @willisfu_twitter
    When I left "Server Inistance" empty as the sample screenshot showned in "Initial-Setup" web page, one error message "Please enter the data server name and try again" was pop-up.
    Willis
    @willisfu_twitter
    So I filled in "Server Instance" field as "SQLEXPRESS" or "SQLExpress", another one error message "[DBNETLIB][ConnectionOpen (Connect()).]SQL_Server not exist or reject to access" was pop-up. (part of the error message was displayed in Chinese characters, so the message mentioned here is transalted by me)
    My environment is: Winodws 7 + SQL Server 2014 Express.
    Willis
    @willisfu_twitter
    image.png
    Rintagi Development Team
    @rintagi-team
    Hi @willisfu_twitter, thanks for your descriptive question and screenshot. Our engineers are reviewing this problem and will get back to you soon.
    Willis
    @willisfu_twitter
    Ok, thanks!
    Rintagi Development Team
    @rintagi-team
    Hi Willis. Thank you for your question. Regarding your query, kindly try typing .\SQLEXPRESS , in the server instance. Please let me know if you are still facing any trouble.
    Willis
    @willisfu_twitter
    Yes, it works. But I found another problem shown as below after successful deployment.
    image.png
    The detailed words in the login fail page is:
    於 System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) 於 System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) 於 System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions) 於 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) 於 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions) 於 System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) 於 System.Data.OleDb.OleDbConnection.Open() 於 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) 於 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 於 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 於 RO.Access3.LoginAccess.GetLoginSecure(Credential cr) 於 c:\Rintagi\RO\Access3\LoginAccess.cs: 行 219 於 RO.Facade3.LoginSystem.GetLoginSecure(Credential cr) 於 c:\Rintagi\RO\Facade3\LoginSystem.cs: 行 70 於 RO.Web.ModuleBase.AnonymousLogin() 於 c:\inetpub\wwwroot\RO\Web\App_Code\ModuleBase.cs: 行 1482 於 RO.Web.ModuleBase.CheckAuthentication(Boolean pageLoad, Boolean AuthRequired) 於 c:\inetpub\wwwroot\RO\Web\App_Code\ModuleBase.cs: 行 1518 於 RO.Web.ShowPageModule.InitializeComponent() 於 c:\inetpub\wwwroot\RO\Web\modules\ShowPageModule.ascx.cs: 行 86 於 RO.Web.ShowPageModule.Page_Init(Object sender, EventArgs e) 於 c:\inetpub\wwwroot\RO\Web\modules\ShowPageModule.ascx.cs: 行 68 於 System.Web.UI.Control.OnInit(EventArgs e) 於 System.Web.UI.Control.InitRecursive(Control namingContainer) 於 System.Web.UI.Control.InitRecursive(Control namingContainer) 於 System.Web.UI.Control.InitRecursive(Control namingContainer) 於 System.Web.UI.Control.InitRecursive(Control namingContainer) 於 System.Web.UI.Control.InitRecursive(Control namingContainer) 於 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Rintagi Development Team
    @rintagi-team
    Hi Willis, For your initial login kindly use as shown below.
    image.png
    @willisfu_twitter The system initially sets up a username and password. UserName - John Doe , Password - JohnDoe .
    Please use this to open your system.
    Willis
    @willisfu_twitter
    Sorry, I don't explain my problem clearly. When I entered "localhost/ro" in my browser, it showed the login fail page as described before. So I have no chance to enter the initial username/password as John Doe.
    Rintagi Development Team
    @rintagi-team
    @willisfu_twitter , Hi Willis.. thank you for sending the information. Can you kindly check in sql sever - under login , if the newuser has the can login to the database Please find below the images to help you .
    image.png
    image.png
    @willisfu_twitter Please let us know if you are still facing any issues.
    Willis
    @willisfu_twitter
    I still face the same problem. Following please find the screenshots captured from my computer.
    image.png
    image.png
    Rintagi Development Team
    @rintagi-team
    Hi @willisfu_twitter . Sorry you are facing this problem. it is purely a login issue.
    Can you please a couple of these below checks to see if it has been setup correctly.
    1. Can you login into SSMS using the newuser login and password (newuser123)
    image.png
    1. Please open the web.config file in the C:\inetpub\wwwroot\RO\Web and search for newuser, you will find the encrypted password below the newuser line. Make a copy of this password
    now go to http://localhost/ro/EncryptPwd.aspx and type in the password for newuser (newuser123) in the Before Encryption: field,
    and click on Encrypt, a encrypted password is shown, please compare this with the password in web.config . It should be the same.
    Please let us know if this does not work as expected . Thank You
    Willis
    @willisfu_twitter
    I can login into SSMS using the newuser login and password (newuser123), but the browser showed the same error page as before after I access http://localhost/ro/EncryptPwd.aspx. The error page is shown below.
    image.png
    Rintagi Development Team
    @rintagi-team
    Hi Willis.. now that we now the first part is ok, did you get a chance to do the second one to check if the encrypted password is as expected.
    1. Please open the web.config file in the C:\inetpub\wwwroot\RO\Web and search for newuser, you will find the encrypted password below the newuser line. Make a copy of this password
    now go to http://localhost/ro/EncryptPwd.aspx in the browser and type in the password for newuser which is (newuser123) in the Before Encryption: field,
    and click on Encrypt, a encrypted password is shown, please compare this with the password in web.config . It should be the same. Please change the encrypted password in the web.config file if it is not the same and save it . now try accessing the localhost/ro on your browser
    Willis
    @willisfu_twitter
    The problem I encountered is: when I accessed "http://localhost/ro/EncryptPwd.aspx", the error page was shown as below. No any password or login related field in the error page I can enter.
    image.png
    Rintagi Development Team
    @rintagi-team
    Hi Willis. Can you send us the encrypted password that is in the web.config file ? Can you please send it to philemon.selvaraj@robocoder.com
    you can find the current encrypted password 1. Please open the web.config file in the C:\inetpub\wwwroot\RO\Web and search for newuser, you will find the encrypted password below the newuser line. Make a copy of this password
    Rintagi Development Team
    @rintagi-team
    Hi Willis, Would it be possible for you to reinstall RO . You would need to delete the databases created in SSMS and also the RO folder in C:\inetpub\wwwroot\ . we feel this would be a quicker way to solve this issue.
    Willis
    @willisfu_twitter
    Which databases in my screenshot below shall be deleted?
    image.png
    Rintagi Development Team
    @rintagi-team
    Hi Willis, you would need to delete the ROCmon,ROCmonD and RODesign
    Willis
    @willisfu_twitter
    Sorry, I am busy recently and update you late. I can’t delete these databases successfully even after searching the Google. I am not familiar with SQL server.
    samhossle
    @samhossle
    Hello I am having the same problem as Willis.
    When the RC installer is complete i cannot login to the localhost/ro. I get login failed for newuser
    Rintagi Development Team
    @rintagi-team
    Hello @samhossle , kindly try the below
    Rintagi Development Team
    @rintagi-team
    Please follows the below steps to solve this error.
    The first step is to check if the new user login has been created in SQL Server. 
    
    *Try to login into SQL Server Management Studio(SSMS) under the SQL Authentication 
     using the "newuser" and "newuser123".
    
    *If you are unable to login, you would need to login into SSMS using the windows 
     authentication and create a new login called "newuser".
    
    *Set up the access to the newly created database for "newuser".
    
    *Logout of SSMS and try logging in again using the newly created login and password.
    
    * If you are able to successfully open the RC databases you are set and now please 
      try accessing localhost/rc.
    If the first step seems fine but you are unable to access the site, then please follow the
    second solution below.
    *During installation, SQL Server Database Engine is set to either Windows 
    Authentication mode or SQL Server and Windows Authentication mode.
    
    * After installation, you can change the authentication mode at any time. 
    
    *We need to use the SQL Server and Windows Authentication mode . Most 
     likely during installation of the SQL server only the Windows 
     Authentication was selected,instead of the mixed mode. 
    You can change this by doing the following steps,