I am trying to Restore SQL DataBase from Network Device in SQL Query.I have tired below Query but its shows an error message as "Msg 3201, Level 16, State 2, Line 1 Cannot open backup device '\ARINDSQL\D-Drive\SQLBackup\Mis.BAK'. Operating system error 5(Access is denied.). Msg 3013, Level 16, State 1, Line 1 RESTORE DATABASE is terminating abnormally."
RESTORE DATABASE Mis FROM DISK = '\\ARINDSQL\D-Drive\SQLBackup\Mis.BAK' WITH MOVE 'Mis_Data' TO 'C:\Program Files (x86)\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA\Mis.mdf', MOVE 'Mis_Log' TO 'C:\Program Files (x86)\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA\Mis.ldf'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)