【问题标题】:I am getting the following problem at the time of ravendb installation我在安装 ravendb 时遇到以下问题
【发布时间】:2021-08-26 22:03:54
【问题描述】:

在安装 ravendb 时,当我尝试在 windows powershell 中运行 run.ps1 时,出现以下错误。如果有人知道解决方案,请帮助我。

PS D:\RavenDB> .\run.ps1
File D:\RavenDB\run.ps1 cannot be loaded because the execution of scripts is disabled on this system. 
Please see "get-help about_signing" for more details.
At line:1 char:10
+ .\run.ps1 <<<<
    + CategoryInfo          : NotSpecified: (:) [], PSSecurityException
    + FullyQualifiedErrorId : RuntimeException

【问题讨论】:

标签: powershell ravendb


【解决方案1】:

这与您计算机上 PowerShell 中的 ExecutionPolicy 有关。最简单的解决方法是在提升的 PowerShell 提示符下运行 Set-ExecutionPolicy Unrestricted,然后执行 run.ps1

【讨论】:

    猜你喜欢
    • 2021-11-11
    • 2023-03-12
    • 1970-01-01
    • 1970-01-01
    • 2020-05-31
    • 2019-12-06
    • 2020-08-14
    • 1970-01-01
    • 2022-11-22
    相关资源
    最近更新 更多