ScadaAdmin.exe can not be started

Forum Home Forums Uncategorized Issues ScadaAdmin.exe can not be started

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #3173
    csshenrapid
    Participant

    ScadaComm, ScadaServer and ScadaWeb are running normaly. But ScadaAdmin.exe Can not run Correctly. In fact, it was stopped at the beginning of start.

    #3174
    csshenrapid
    Participant

    And then I built ScadaAdmin.exe from the new source and run. The following error information was showed:

    This database file was created with an earlier version of SQL Server Compact. Please use the SqlCeEngine.Upgrade () method to upgrade

    #3179
    Mikhail
    Moderator

    See http://forum.rapidscada.org/?topic=administrator-does-not-run
    Probably, you changed references to MSSQL Compact when build the source code.

    #3185
    csshenrapid
    Participant

    Dear Mikhail,

    Thanks.

    The development tool is VS 2013 and the SQL Server Compact is Version 4.0. I tried to add the following code before openning the file “ScadaBase.sdf” and it worked. Then, ScadaAdmin.exe can run correctly.

    //….\ScadaAdmin\ScadaAdmin\AppCode\AppData.cs
    ……
    var ce = new System.Data.SqlServerCe.SqlCeEngine(connStr);
    ce.Upgrade();
    ……

    #9315
    lilytech
    Participant

    I built the v5.8.3.
    Copy all sql dll to bin directory of ScadaAdmin.exe.
    ScadaAdmin can start, but the menu is not same as the installed version.

    The built version ScadaAdmin menu is:
    Database, Edit, View, Service, Remote Server, Settings, Window, Help.

    Not like the installed ScadaAdmin menu:
    File, Deploy, Tools, Window, Help

    Question:
    How to built an ScadaAdmin.exe to work same as the installed one?

    #9316
    lilytech
    Participant

    ScadaAdmin.exe menu issue: solved.
    Built AcadaAdmin5

    But when start AcadaAdmin5’s AcadaAdmin.exe, file open the hello project, I am not able to upload the configuration?

    #9317
    lilytech
    Participant

    When up load the configuration, show:
    Error uploading configuation:
    Error exporting configuration to archive.

    #9318
    lilytech
    Participant

    Debug shows, it get a unexist file name:
    private bool UploadConfig(DeploymentProfile profile)
    {
    string configFileName = GetTempFileName();

    The name is:
    configFileName = “D:\\Works\\SCADA\\scada-5.8.3\\ScadaAdmin\\ScadaAdmin5\\ScadaAdmin\\bin\\Debug\\Temp\\upload-config_2021-07-30_11-09-36.zip”

    AT the directory, there is no such file.

    ?

    #9320
    Mikhail
    Moderator

    Hello,

    Make sure that the Temp subdirectory exists.
    If it doesn’t help, provide error details from ScadaAdmin.err

    #9322
    lilytech
    Participant

    I make the directory “Temp” manually in the bin directory.
    run ScadaAdmin again.
    The upload button can go on.
    But It fails at last, and shows:
    http://www.suzhoulily.com/pdf/Screenshot%202021-08-02%20094517.png

    Note:
    the scadaagentsvc is running with released built version.
    the ScadaAdmin is also running with a released built version.

    #9323
    Mikhail
    Moderator

    This error message means that ScadaAgent does not open TCP port 10002. Check agent configuration and log file.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.