SQL Server permissions issue

I have a server running SQL Server 2008 R2 that runs a monthly job to import data into an existing database.
The backup to be imported is located on another share.
When the job runs, it fails with the following error:
Executing the query "RESTORE DATABASE [DB_00] FROM  DISK = N'\\SERVER..." failed with the following error: "Cannot open backup device '\\SERVER\DB_00.bak'. Operating system error 1326(Logon failure: unknown user name or bad password.).  RESTORE DATABASE is terminating abnormally."

For troubleshooting purposes, I set the SQL agent to run as domain administrator and it shows in the log:
Executed as user: DOMAIN\Administrator

I copied the path from the error message and pasted it into a window and the directory opens fine.

Does anyone see what I'm missing here?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott PletcherSenior DBACommented:
Does the login running the job have sysadmin authority?

Do you have a proxy account set up for jobs?
Vitor MontalvãoMSSQL Senior EngineerCommented:
Which user is running the job? That user must have read permissions on the share.
scarpenter104Author Commented:
Since it says
Executed as user: DOMAIN\Administrator
I assume that is who is running the job.

ScottPletcher, It also says that it can't open the backup device, so I'm assuming the share permission to be the  issue, not database permissions, or is this just a confusing error message?
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

Vitor MontalvãoMSSQL Senior EngineerCommented:
The DOMAIN\Administrator has read permission on the share?
scarpenter104Author Commented:
Of course. And in my test I opened the path as Administrator. I also added read permission for Everyone to the share.
Vitor MontalvãoMSSQL Senior EngineerCommented:
I'm sorry for the questions but just wanted to confirm that you checked everything.
The SQL Server service account's also a domain user?
scarpenter104Author Commented:
I don't believe so.
Vitor MontalvãoMSSQL Senior EngineerCommented:
Ok. Maybe that's the issue. When accessing a network share it uses the SQL Server service account and not the SQL Agent account.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
scarpenter104Author Commented:
When I can get access to it today I'll test that theory.
Vitor MontalvãoMSSQL Senior EngineerCommented:
You need to set a new account to the SQL Server service. Maybe you can use the SQL Agent account for testing (DOMAIN\Administrator). Don't forget you need to restart SQL Server after changing the service account.
scarpenter104Author Commented:
I changed the SQL services to a domain account and that resolved the issue. Leave it to Microsoft to tell me in their log that the job was being executed by a domain account when in truth it was not.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.