August 27, 2013 at 12:19 pm
Hi
I am running sql script inside job.But sql is not saving the results in the file which i specified('Unable to open Step output file').I tried same thing on different server, it works fine.Both are are 2008 R2.Is there any server level setting that i have to look at.On both servers i logged in as sa.
Any ideas why is it working on server1 ,but not on server2?
Tnx advance
August 27, 2013 at 6:34 pm
Got it.It works When i point the output file to C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Log\xxxxx.txt which is default location.I am still trying to find out why it does not work with other locations
August 28, 2013 at 7:20 am
Maybe its a permissions problem? You could consider comparing the permissions of the working destination to the non working destination and seeing if there is a mismatch. When slinging files here and there I've often had to add permissions to a folder to make the processes work.
August 28, 2013 at 10:20 am
How do you add permissions to a folder?
August 28, 2013 at 10:38 am
Never mind.Got it
Thank you.
October 9, 2014 at 8:05 am
Check the account that SQL Server and SQL Server Agent services are running under. Verify it has permissions to the folder. (SQL Server 2008 R2 on Windows 2008 Server)
April 23, 2015 at 7:52 am
Hi,
Came unstuck with this issue when using Ola Hallengren's excellent backup scripts. I have used this many time, but my issue was on a Windows 2012 server (non issue on 2008 R2 server) in that when setting the folder permissions it doesn't seem to filter down far enough, so I had to go in and explicitly give the SQL Agent service account write permissions on the \LOG\ folder. Issue solved. 😉
qh
January 19, 2016 at 9:30 am
quackhandle1975 (4/23/2015)
Hi,Came unstuck with this issue when using Ola Hallengren's excellent backup scripts. I have used this many time, but my issue was on a Windows 2012 server (non issue on 2008 R2 server) in that when setting the folder permissions it doesn't seem to filter down far enough, so I had to go in and explicitly give the SQL Agent service account write permissions on the \LOG\ folder. Issue solved. 😉
qh
This was my fix as well. First I tried adding our admin account to the local administrators group. This did NOT fix the issue. I added the admin account to the LOG folder directly and it worked perfect.
Thanks!
May 15, 2017 at 5:19 am
quackhandle1975 - Thursday, April 23, 2015 7:52 AMHi,Came unstuck with this issue when using Ola Hallengren's excellent backup scripts. I have used this many time, but my issue was on a Windows 2012 server (non issue on 2008 R2 server) in that when setting the folder permissions it doesn't seem to filter down far enough, so I had to go in and explicitly give the SQL Agent service account write permissions on the \LOG\ folder. Issue solved. 😉qh
Hi, I hit this same issue. We have a service account configured.
Do you know why only LOG folder has this issue?
The FULL backup and DIFF backup have no issues. Only the LOG backup have this issue !!
Thanks,
Santhosh
May 15, 2017 at 6:59 am
It could be the way SQL Server runs on Windows 2012 Server, or Windows 2012 server itself, I don't really know.
Might be worth giving Ola a nudge to see if his latest scripts have a fix for this.
qh
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply