Operating system error 5(Access is denied.).

  • Dear Sir,

    I am facing a lot of problem while taking backup from my sql server DB.

    I am getting the below Error.

    '\\servername\dbbackup\test.bak'. Operating system error 5(Access is denied.).

    Can you please suggest me some good solution for this problem.

    Regards,

    Mohammad Zubair Pasha.

  • Sounds like the account under which you execute the backup, doesn't have enough permissions on the network share.

    If you run the job under a local account, you have to give it at least change permission on the share.

    [font="Verdana"]Markus Bohse[/font]

  • Dear Sir,

    The problem solved by giving Administrator in sql server configuration manager right click sql server(MSSqlserver) properties logon as Administrator Account.

    It Solved....Thanks God.

    Regards,

    Mohammad Zubair Pasha.

  • Hi Sir,

    what if the job will be run on the local server. But the path for the backup plan is directed to other server? It does not accept the path im giving, it says that the backup directory is invalid.. but if I tried to access the path in run command i can access it..the shared folder has the sa adn Administrator's permission 'full Control'.

    Please advise.

    Thank you.

    -ynel-

  • You should create a dump device that points to the remote server, then backup to the dump device.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply