小编end*_*dri的帖子

Raven.Server.exe无法授予侦听http的权限

我已经将RavenDB 2.5.0安装为Windows服务.当我尝试以管理员身份运行Raven.Server.exe时,我会收到:

Trying to revoke rights for http.sys
runas netsh http delete urlacl url=https://+:8080/
Trying to grant rights for http.sys
runas netsh http add urlacl url=http://+:8080/ user="Endri-PC\Endri"
Failed to grant rights for listening to http, exit codes: (1 and 1)
A critical error occurred while starting the server. Please see the exception de
tails bellow for more details:
System.InvalidOperationException: Could not write to location: C:\RavenDB\Databa
se\System. Make sure you have read/write permissions for this path. ---> Microso
ft.Isam.Esent.Interop.EsentFileAccessDeniedException: Cannot access …
Run Code Online (Sandbox Code Playgroud)

netsh http.sys ravendb ravendb-http

5
推荐指数
1
解决办法
1487
查看次数

标签 统计

http.sys ×1

netsh ×1

ravendb ×1

ravendb-http ×1