Home > Database > Mysql Tutorial > body text

Win Server 2008中SqlServer 2008 无法打开错误日志文件导致无法

WBOY
Release: 2016-06-07 15:35:06
Original
1254 people have browsed it

今天早上一个客户的SqlServer 2008的服务器应为重新修改配置导致网站打不开,链接到远程服务器之后,在服务器的事件查看器,发现如下错误, 错误描述: 日志名称: Application 来源: MSSQLSERVER 日期: 2011/10/25 11:30:49 事件 ID: 17058 任务类别: 服务器

今天早上一个客户的SqlServer 2008的服务器应为重新修改配置导致网站打不开,链接到远程服务器之后,在服务器的事件查看器,发现如下错误,

错误描述:

日志名称:          Application
来源:            MSSQLSERVER
日期:            2011/10/25 11:30:49
事件 ID:         17058
任务类别:          服务器
级别:            错误
关键字:           经典
用户:            暂缺
计算机:           WIN-VPS-SERVER
描述:
initerrlog: 无法打开错误日志文件 'D:\WWW\Services\SQLDATE\MSSQL10.MSSQLSERVER\MSSQL\Log\ERRORLOG'。操作系统错误 = 5(拒绝访问。)。

直接F1,没有在微软的问题库中发现解决方案,仔细看看最后的提示,无法打开错误日志文件,拒绝访问,于是肯定是访问权限的问题,经过一会的折腾,终于弄好了

解决方法如下:

打开报错的文件所在的文件夹'D:\WWW\Services\SQLDATE\MSSQL10.MSSQLSERVER\MSSQL\Log',右键 “属性”--》“安全”,单击选择“SqlServerMsSqlUser”开头的用户,将其权限设置为支持修改。完成后打开SqlServer2008的配置管理器,启动,一切正常。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!