使用搜索功能查看 Kepware 的信息库,其中包含 500 多篇知识库文章。缩小搜索结果范围,或在下面的搜索字段中输入您的查询。

或者,如果您无法找到解决方案,我们还有另一个资源:我们的 PTC eSupport Portal。 如果系统提示您登录 eSupport Portal,您可以使用“我的 Kepware”凭据。需要一个“我的 Kepware”帐户吗?在此处创建

搜索解决方案结果:
View All Solutions

Kepware Knowledge Base: Solution


How to Replace the KEPServerEX V5 Runtime Project Without Using the Configuration Client


Last Update: 2018/11/12

A user-supplied project can be placed into the common application directory on the server and named "project.opf" or "project.xml". When the Runtime is started or reinitialized, the following will occur:

  1. A backup will be created of the existing "default.opf" file when Project Backups are enabled. To access this setting, right-click on the Administration icon located in the System Tray and select Settings. Then, open the Runtime Options tab.
  2. The user-supplied project will be saved as the new Runtime project.
  3. Upon successful Runtime project replacement, the user-supplied file will be deleted.

Note: The Runtime project will not be replaced when a configuration client with write permissions is connected to the Runtime or when the Runtime demo has expired.

Common Application Directory examples are as follows:

  • Vista: C:\ProgramData\Kepware\KEPServerEX\V5
  • XP: C:\Documents and Settings\All Users\Application Data\Kepware\KEPServerEX\V5

A batch file example is as follows:

cd\

cd Programs Files\Kepware\KEPServerEX 5

net stop "KEPServerEXV5"

REM: cd\ (LOCATION OF PROJECT TO PLACE INTO RUNTIME)\project

copy C:\project.opf C:\ProgramData\Kepware\KEPServerEX\V5\*.*

net start "KEPServerEXV5"

Related Products
KEPServerEX