Event 17058 - initerrlog: Could not open error log file (SQL Server) I'm new to SQL Server and encountering an error when running sqlservr.exe
(Microsoft® SQL Server® 2008 R2 SP2 - Express Edition)


  Error 17058, Severity: 16, State: 1.
  initerrlog: Could not open error log file ''.
  Operating System Error = 3 (The system cannot find the path specified.).


Here are my startup parameters:

-dc:\Program Files (x86)\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\master.mdf;
-ec:\Program Files (x86)\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG;
-lc:\Program Files (x86)\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\mastlog.ldf


I've also made sure that all users have full control access and removed read-only permission from folders

Thanks!
I face the same problem after windows update on our server. Resolved with these steps.


rename or delete ERRORLOG file found in below directory 


c:\Program Files (x86)\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log    


start service


I think the file corrupted. When I change the name, it created a new file.