Forum Home › Forums › Uncategorized Issues › ScadaAdmin.exe can not be started
Tagged: ScadaAdmin.exe v5.8.3
- This topic has 10 replies, 3 voices, and was last updated 2 years, 8 months ago by Mikhail.
-
AuthorPosts
-
February 16, 2018 at 9:22 am #3173csshenrapidParticipant
ScadaComm, ScadaServer and ScadaWeb are running normaly. But ScadaAdmin.exe Can not run Correctly. In fact, it was stopped at the beginning of start.
February 16, 2018 at 9:59 am #3174csshenrapidParticipantAnd 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
February 16, 2018 at 12:44 pm #3179MikhailModeratorSee http://forum.rapidscada.org/?topic=administrator-does-not-run
Probably, you changed references to MSSQL Compact when build the source code.February 17, 2018 at 1:21 pm #3185csshenrapidParticipantDear 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();
……July 30, 2021 at 2:23 am #9315lilytechParticipantI 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, HelpQuestion:
How to built an ScadaAdmin.exe to work same as the installed one?July 30, 2021 at 2:54 am #9316lilytechParticipantScadaAdmin.exe menu issue: solved.
Built AcadaAdmin5But when start AcadaAdmin5’s AcadaAdmin.exe, file open the hello project, I am not able to upload the configuration?
July 30, 2021 at 2:55 am #9317lilytechParticipantWhen up load the configuration, show:
Error uploading configuation:
Error exporting configuration to archive.July 30, 2021 at 3:13 am #9318lilytechParticipantDebug 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.
?
July 30, 2021 at 1:04 pm #9320MikhailModeratorHello,
Make sure that the Temp subdirectory exists.
If it doesn’t help, provide error details from ScadaAdmin.errAugust 2, 2021 at 1:55 am #9322lilytechParticipantI 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.pngNote:
the scadaagentsvc is running with released built version.
the ScadaAdmin is also running with a released built version.August 2, 2021 at 8:43 am #9323MikhailModeratorThis error message means that ScadaAgent does not open TCP port 10002. Check agent configuration and log file.
-
AuthorPosts
- You must be logged in to reply to this topic.