Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Linux và các thủ thực nhỏ (http://quantrinet.com/forum/forumdisplay.php?f=430)
-   -   FIX – ERROR : Msg 3201, Level 16 Cannot open backup device . Operating system error (http://quantrinet.com/forum/showthread.php?t=10016)

hoctinhoc 22-04-2016 04:21 PM

FIX – ERROR : Msg 3201, Level 16 Cannot open backup device . Operating system error
 
SQL SERVER – FIX – ERROR : Msg 3201, Level 16 Cannot open backup device . Operating system error 5(Access is denied.)



Recently I formatted my computer and installed fresh SQL Server in it. I installed AdventureWorks database in my database. Once done I wanted to run few test scripts on my database. Just like every DBA, I decided to take backup of my database – this way I can restore it back to attain original database state. As soon as I ran the backup command I ended up with following error. This error is due to permissions issue on the local disk and user account which is running SQL Server.
Msg 3201, Level 16, State 1, Line 1
Cannot open backup device ‘C:\AdventureWorks.bak’. Operating system error 5(Access is denied.).
Fix/Resolution/Workaround:
I checked which user account my SQL Server services are running.
http://blog.sqlauthority.com/i/b/NetworkError1.jpg
I gave full permission to that account to get read of the error.
http://blog.sqlauthority.com/i/b/NetworkError2.jpg
NOTE: This whole experience was done on the my personal machine and not on production server. Please check with your network administrator for permission on production server.



Thêm User này vào thư mục lưu Backup hoặc thư mục báo lỗi


Bây giờ là 04:36 AM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.