December 2, 2014 at 12:03 pm
Hi All,
Recently we upgraded our production server from SQL 2008 R2 32bit to 64bit.When I am trying to open .trc file from C:\Program Files\Microsoft SQL Server\xxxxx\MSSQL\log\xxx.trc file getting 'Failed to open a file.Access is denied' message.Any ideas why?.I can open ERRORLOG files, but not trc.Did not have this issue with the old box.
December 3, 2014 at 1:39 am
The reason is right there in the message.
'Failed to open a file. Access is denied'
Whatever user is trying to access the file does not have permission on either file or folder. Check permissions on the folder, make sure the files all inherit the permissions from the folder.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 3, 2014 at 10:28 am
Thank you Gila.I thought if user has a permission on folder it applies to files inside that folder too. I gave a permission on file and it worked.Thx again
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply