SqlServer2008 cannot open error log file in Win2008 to cause a workaround that cannot be started _mssql2005

Source: Internet
Author: User
Tags mssql mssqlserver
This morning. The server for SQL Server 2008 of the previous client should cause the Web site to not open for a modified configuration, and after linking to the remote server, the following error was found in the server's Event Viewer,

Error Description:

Journal name: Application
Source: MSSQLServer
Date: 2011/10/25 11:30:49
Event id:17058
Task Category: Server
Level: Error
Keywords: classic
User: Vacant
Computer: Win-vps-server
Describe:
Initerrlog: Unable to open error log file ' D:\WWW\Services\SQLDATE\MSSQL10. Mssqlserver\mssql\log\errorlog '. Operating system error = 5 (Access denied.) )。

Direct F1, did not find a solution in the Microsoft Problem Library, carefully look at the last hint, unable to open the error log file, Access denied, so certainly is the issue of access rights, after a long toss, finally finished

The workaround is as follows:

Open the file where the error is in the folder ' D:\WWW\Services\SQLDATE\MSSQL10. Mssqlserver\mssql\log ', right--"properties"-"Security", click the user who starts with "Sqlservermssqluser" and set its permissions to support modifications. When you are done, open the SqlServer2008 Configuration Manager and start all normal.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.