Log in web page

Forum Home Forums Understanding the Software Log in web page

Tagged: 

Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • #5734
    MikhailMikhail
    Moderator

    You should update Webstation at least to 5.0.8.0

    #6598
    123abc56
    Participant

    it seems the auto login url use first user account in user table to login for the first time. later, it use admin account login.

    is there any other way to config the auto login to use a specific account?

    #6599
    123abc56
    Participant

    I downloaded the plugin from reply #5729. But I can’t find it from plugin store. where can i check for latest version?

    #6600
    MikhailMikhail
    Moderator

    it seems the auto login url use first user account in user table

    Yes, you right. We can upgrade the plugin to select specified user for a fee.

    But I can’t find it from plugin store. where can i check for latest version?

    This is because the plugin has not been properly documented. The link in the forum is up to date.

    #7570
    123abc56
    Participant

    Hi, I tried the auto login module with rapid scada 5.8.1 on both windows and linux. Neither of them work.

    When try to use auto login URL, the web show only the following error message.

    Application Error
    An application error occurred. If it repeats often, please contact the support.
    Details:
    c:\SCADA\ScadaWeb\Login.aspx(19): error CS0103: The name ‘phrases’ does not exist in the current context

    ——————————————————————————–
    Web Log
    ——————————————————————————–
    2020-11-18 10:40:27 <os-server><www-data><ACT> Initialize common web application data
    2020-11-18 10:40:27 <os-server><www-data><ACT> Connect to SCADA-Server “localhost”
    2020-11-18 10:40:27 <os-server><www-data><ACT> Refresh the tables of the configuration database
    2020-11-18 10:40:27 <os-server><www-data><ACT> Fill input channels properties
    2020-11-18 10:40:27 <os-server><www-data><ACT> Fill output channels properties
    2020-11-18 10:40:27 <os-server><www-data><ACT> Fill input channel statuses properties
    2020-11-18 10:40:32 <os-server><www-data><ACT> User information has been added. IP address: ::1. Session: A3B4E3B4CDA8C7978F544E55
    2020-11-18 11:20:18 <os-server><www-data><ACT> Request SCADA-Server state
    2020-11-18 11:20:18 <os-server><www-data><ERR> Incorrect SCADA-Server response to state request
    2020-11-18 11:20:18 <os-server><www-data><ACT> Disconnect from SCADA-Server
    2020-11-18 11:20:18 <os-server><www-data><ACT> Connect to SCADA-Server “localhost”
    2020-11-18 11:20:18 <os-server><www-data><ACT> User information has been added. IP address: ::1. Session: 9B83F0E5C6DE2ACFC877FA8A
    2020-11-18 11:20:20 <os-server><www-data><ERR> Unsuccessful login attempt: admin – Incorrect username or password. IP address: ::1
    2020-11-18 11:20:23 <os-server><www-data><ERR> Unsuccessful login attempt: admin – Incorrect username or password. IP address: ::1
    2020-11-18 11:20:27 <os-server><www-data><ERR> Unsuccessful login attempt: admin – Incorrect username or password. IP address: ::1
    2020-11-18 11:20:37 <os-server><www-data><ERR> Unsuccessful login attempt: admin – Incorrect username or password. IP address: ::1
    2020-11-18 11:20:43 <os-server><www-data><ACT> Login: guest (Guest). IP address: ::1
    2020-11-18 11:20:43 <os-server><www-data><ACT> User information has been updated. IP address: ::1. Session: 9B83F0E5C6DE2ACFC877FA8A
    2020-11-18 11:20:43 <os-server><www-data><ACT> Retrieve components from the installed plugins
    2020-11-18 11:20:55 <os-server><www-data><ACT> Logout: guest. IP address: ::1
    2020-11-18 11:21:01 <os-server><www-data><ERR> Unsuccessful login attempt: admin – Incorrect username or password. IP address: ::1
    2020-11-18 11:21:07 <os-server><www-data><ACT> Login: guest (Guest). IP address: ::1
    2020-11-18 11:21:07 <os-server><www-data><ACT> User information has been updated. IP address: ::1. Session: 9B83F0E5C6DE2ACFC877FA8A
    2020-11-18 11:21:07 <os-server><www-data><ACT> Retrieve components from the installed plugins
    2020-11-18 11:35:25 <os-server><www-data><ACT> Application shutdown
    ——————————————————————————–
    ——————————————————————————–
    2020-11-18 11:36:40 <os-server><www-data><ACT> Initialize common web application data
    2020-11-18 11:36:40 <os-server><www-data><ACT> Connect to SCADA-Server “localhost”
    2020-11-18 11:36:40 <os-server><www-data><ACT> Refresh the tables of the configuration database
    2020-11-18 11:36:40 <os-server><www-data><ACT> Fill input channels properties
    2020-11-18 11:36:40 <os-server><www-data><ACT> Fill output channels properties
    2020-11-18 11:36:40 <os-server><www-data><ACT> Fill input channel statuses properties
    2020-11-18 11:36:46 <os-server><www-data><EXC> Application error:
    System.Web.Compilation.CompilationException (0x80004005): CS0103: The name `phrases’ does not exist in the current context
    at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00312] in <716e5fc6fa1b4b5db9a4701d451ead9c>:0
    at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00008] in <716e5fc6fa1b4b5db9a4701d451ead9c>:0
    at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, System.Boolean debug) [0x00202] in <716e5fc6fa1b4b5db9a4701d451ead9c>:0
    at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, System.Boolean debug) [0x00106] in <716e5fc6fa1b4b5db9a4701d451ead9c>:0
    Page: http://localhost/scada/Error.aspx
    ——————————————————————————–

    ——————————————————————————–
    Server Log
    ——————————————————————————–
    2020-11-18 10:03:01 <os-server><root><ACT> ScadaServerService 5.1.4.0 is started
    2020-11-18 10:03:02 <os-server><root><ACT> Check the existence of the data directories is completed successfully
    2020-11-18 10:03:02 <os-server><root><ACT> Check the existence of the configuration database files is completed successfully
    2020-11-18 10:03:02 <os-server><root><ACT> Input channels are read from the configuration database. Active channel count: 5
    2020-11-18 10:03:02 <os-server><root><ACT> Ouput channels are read from the configuration database
    2020-11-18 10:03:02 <os-server><root><ACT> Users are read from the configuration database
    2020-11-18 10:03:02 <os-server><root><ACT> Formulas are read from the configuration database
    2020-11-18 10:03:06 <os-server><root><ACT> The formulas source code has been compiled
    2020-11-18 10:03:06 <os-server><root><ACT> Connection listener is started
    2020-11-18 10:03:06 <os-server><root><ACT> Start server
    2020-11-18 10:03:06 <os-server><root><ACT> Current data are loaded
    2020-11-18 10:03:13 <os-server><root><ACT> Connect to client 127.0.0.1
    2020-11-18 10:03:13 <os-server><root><ACT> The user ScadaComm is successfully authenticated
    2020-11-18 10:40:27 <os-server><root><ACT> Connect to client 127.0.0.1
    2020-11-18 10:40:27 <os-server><root><ACT> The user ScadaWeb is successfully authenticated
    2020-11-18 10:41:32 <os-server><root><ACT> Disconnect client 127.0.0.1
    2020-11-18 11:20:18 <os-server><root><ACT> Connect to client 127.0.0.1
    2020-11-18 11:20:18 <os-server><root><ACT> The user ScadaWeb is successfully authenticated
    2020-11-18 11:20:20 <os-server><root><ACT> Check username and password for admin. Result: failed
    2020-11-18 11:20:23 <os-server><root><ACT> Check username and password for admin. Result: failed
    2020-11-18 11:20:27 <os-server><root><ACT> Check username and password for admin. Result: failed
    2020-11-18 11:20:37 <os-server><root><ACT> Check username and password for admin. Result: failed
    2020-11-18 11:20:43 <os-server><root><ACT> Check username and password for guest. Result: passed
    2020-11-18 11:21:01 <os-server><root><ACT> Check username and password for admin. Result: failed
    2020-11-18 11:21:07 <os-server><root><ACT> Check username and password for guest. Result: passed
    2020-11-18 11:22:14 <os-server><root><ACT> Disconnect client 127.0.0.1
    2020-11-18 11:36:40 <os-server><root><ACT> Connect to client 127.0.0.1
    2020-11-18 11:36:40 <os-server><root><ACT> The user ScadaWeb is successfully authenticated
    2020-11-18 11:37:40 <os-server><root><ACT> Disconnect client 127.0.0.1
    ——————————————————————————–

    #7571
    MikhailMikhail
    Moderator

    Hi,

    Try editing the Login.aspx that is included in the AutoLogin plugin.
    There should be

        <script type="text/javascript">
            var phrases = <%= Scada.Web.WebUtils.DictionaryToJs("Scada.Web.WFrmLogin.Js") %>;
        </script>

    Test it on Windows first.

    #7572
    MikhailMikhail
    Moderator

    Or take the up to date Login.aspx from the web application and add
    <script type="text/javascript" src="js/autologin.js"></script>

    #7573
    MikhailMikhail
    Moderator

    I can fix and release the new version of AutoLogin plugin after the new version of Rapid SCADA is completed. Which is coming soon.

Viewing 8 posts - 16 through 23 (of 23 total)
  • You must be logged in to reply to this topic.