"When installing InterSystems IRIS, you must choose the Windows user account to run the InterSystems service. There are two options:
The default SYSTEM account (Windows Local System account). This is used in Minimal security installations.
A defined Windows user account.
Running the Windows InterSystems service under the default SYSTEM account is appropriate for many installations, but in some cases can cause issues relating to file permissions and network security access. If you anticipate potential problems in these areas for an InterSystems IRIS instance, for example due to your network configuration or security arrangements, specify an account for the Windows InterSystems service that has the needed privileges and/or access, such as a domain administrator account.
For instructions on how to change the service account after installation, see the Managing Windows User Access to the InterSystems IRIS Instance section."
Hello Li,
Your post was cross-posted to the US developer community. Here's my first impression (copied from the other forum):
If this is on Windows I suspect this is an issue with using the default SYSTEM account. See the following doc:
Installing InterSystems IRIS on Microsoft Windows > Windows User Accounts
"When installing InterSystems IRIS, you must choose the Windows user account to run the InterSystems service. There are two options:
The default SYSTEM account (Windows Local System account). This is used in Minimal security installations.
A defined Windows user account.
Running the Windows InterSystems service under the default SYSTEM account is appropriate for many installations, but in some cases can cause issues relating to file permissions and network security access. If you anticipate potential problems in these areas for an InterSystems IRIS instance, for example due to your network configuration or security arrangements, specify an account for the Windows InterSystems service that has the needed privileges and/or access, such as a domain administrator account.
For instructions on how to change the service account after installation, see the Managing Windows User Access to the InterSystems IRIS Instance section."
Changing the InterSystems Service Account
<install-dir>\bin\IRISinstall.exe setserviceusername <instance-name> <username> <password>
@Vic Sun do you hv any sample codes with HC? Thx!
请参考以下文档:Installing InterSystems IRIS on Microsoft Windows > Windows User Accounts
"在安装InterSystems IRIS时,你必须选择Windows用户帐户来运行InterSystems服务。有两个选择。
默认的SYSTEM帐户(Windows本地系统帐户)。这是在最小的安全安装中使用的。
一个已定义的Windows用户帐户。
在默认的SYSTEM帐户下运行Windows InterSystems服务对许多安装来说是合适的,但在某些情况下会导致与文件权限和网络安全访问有关的问题。如果你预计InterSystems IRIS实例在这些方面有潜在的问题,例如由于你的网络配置或安全安排,为Windows InterSystems服务指定一个具有所需权限和/或访问权的帐户,如一个域管理员帐户。
关于如何在安装后改变服务帐户的说明,请参见 "管理Windows用户对InterSystems IRIS实例的访问 "部分。
Changing the InterSystems Service Account
<install-dir>\bin\IRISinstall.exe setserviceusername <instance-name> <username> <password>
感谢您的答复,不过我想实现的是在HealthConnect的代码中访问共享文件夹里的文件,这块您这边有相关的实例吗
Li, I'm not sure exactly what you want to do, but I'd start by reviewing the %Library.File class reference, and this %Library.File documentation "Using %Library.File".
You may find the stream documentation useful as well.
您的答复非常有用,我这边已经处理好该问题了,非常感谢
社会网络
InterSystems 资源
登录或注册
登录或创建一个新帐户以继续
登录或注册
登录或创建一个新帐户以继续
登录或注册
登录或创建一个新帐户以继续