我已经成功地在this tutorial之后创建了一个Datasnap服务器作为Windows Service。我可以使用命令行并添加/INSTALL来安装它。但是,当我按照Delphi XE2的相同教程进行操作时,我无法安装该服务(尽管我是管理员)。
它返回以下错误:
---------------------------
Error
---------------------------
Service "ServerContainer3" failed to install with error: "System Error.
Code: 1057.
The account name is invalid or does not exist,
or the password is invalid for the account name specified"如何使用Delphi XE2编译Datasnap服务?
发布于 2014-12-15 20:47:18
创建服务时,请确保属性ServiceStartName为空,Password属性也为空。这将使服务登录默认为本地系统帐户,这很好用。如果要在服务启动时使用特定帐户登录,请在ServiceStartName属性中输入此帐户,并在password属性中提供附带的密码。
希望这能有所帮助。
发布于 2012-02-08 04:52:04
我最好的解决办法是你是管理员--而你的账户没有密码。一点谷歌-Fu揭示了这个http://support.microsoft.com/kb/159925
我已经创建了几个datasnap服务,没有任何问题--无论如何都与此相关:-)
https://stackoverflow.com/questions/8593259
复制相似问题