I have an unusual question (error) to resolve. I have a 2008R2 SQL Server which has localsystem as it's SQL Server Service and SQL Server Agent. I cannot change this to a domain account due to the application integration (don't ask). I
created a credential using an AD domain account. I added this domain account to SQL Server Logins and made it 'sa'. I also mapped the credential to it.
I then created a proxy and linked it with the credential. I created both T-SQL SQL agent job and a Maintenance Plan job to create backups to our NAS. I've given the AD Domain account mapped with the cridential full write permissions to the NAS
folder. But I'm getting permission errors. I've tested the SQL from my workstation, using 'Run As' the service account on SSMS mentioned above and it works fine, so I know the service account can write to the NAS folder. It's permissions
on the server that is using localsystem for it's two SQL service accounts.
I've changed the job step on the Maintenance job from SQL Server Agent to the Proxy. Proxy is not available on the T-SQL SQL agent job.
Msg 22048, Level 16, State 1, Line 0
xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.'
Msg 3201, Level 16, State 1, Line 1
Cannot open backup device '\\someServerName\SomeDirectories\someDatabaseFiles_TodaysDate.full.bak'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.
Msg 22048, Level 16, State 1, Line 0
xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.'
Msg 3201, Level 16, State 1, Line 1
Cannot open backup device '\\someServerName\SomeDirectories\someDatabaseFiles_TodaysDate.full.bak'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.
Msg 22048, Level 16, State 1, Line 0
xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.'
Msg 3201, Level 16, State 1, Line 1
Cannot open backup device '\\someServerName\SomeDirectories\someDatabaseFiles_TodaysDate.full.bak'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.
Msg 22048, Level 16, State 1, Line 0
xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.'
Msg 3201, Level 16, State 1, Line 1
Cannot open backup device '\\someServerName\SomeDirectories\someDatabaseFiles_TodaysDate.full.bak'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.
Msg 22048, Level 16, State 1, Line 0
xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.'
Msg 3201, Level 16, State 1, Line 1
Cannot open backup device '\\someServerName\SomeDirectories\someDatabaseFiles_TodaysDate.full.bak'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.
Msg 22048, Level 16, State 1, Line 0
xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.'
Msg 3201, Level 16, State 1, Line 1
Cannot open backup device '\\someServerName\SomeDirectories\someDatabaseFiles_TodaysDate.full.bak'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.
Things I've tried:
Changed ownership of SQL jobs to the domain account
Changed Maintenance Plan Ownership to domain account
Added domain account to Backup Operators
Added domain account to SQLServerMSSQLUser$....local group
Added domain account to SQLServerAgentUser$.....local group
Added domain account to local admin group
Everything I am finding says to change the service accounts to AD accounts. I cannot do that. Any suggestions would be greatly appreciated.