我每天早上都需要重新启动 MS SQL Server 服务,因为我的 Web 客户端站点无法连接。
但是,当我启动服务时它就起作用了。我不知道是什么导致了这个问题。
我在错误日志中发现了这一点。
sqlservr (4052) An attempt to open the file "C:\Windows\system32\LogFiles\Sum\Api.log"
for read only access failed with system error 5 (0x00000005):
"Access is denied. ".
The open file operation will fail with error -1032 (0xfffffbf8).
sqlservr (3000) An attempt to open the file "C:\Windows\system32\LogFiles\Sum\Api.chk"
for read / write access failed with system error 5 (0x00000005): "Access is denied. ".
The open file operation will fail with error -1032 (0xfffffbf8).
希望有人能帮我解决这个问题。
最佳答案
您的服务帐户需要访问该文件夹:
C:\Windows\System32\LogFiles\Sum
转到该文件夹并添加具有读/写权限的帐户。
关于sql-server - 打开日志文件 C :\Windows\system32\LogFiles\Sum\Api. 日志时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25830912/