Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
JamesBird
Starting Member
2 Posts |
Posted - 2014-01-21 : 19:23:15
|
USE SSISDB; GOOPEN MASTER KEY DECRYPTION BY PASSWORD = 'OurPassword1'; BACKUP MASTER KEY TO FILE = 'G:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DBMasterkeyBackups' ENCRYPTION BY PASSWORD = 'OurPassword1' GOFails with...Msg 15240, Level 16, State 4, Line 3Cannot write into file 'G:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DBMasterkeyBackups'. Verify that you have write permissions, that the file path is valid, and that the file does not already exist.The SQL Server 2012 service account has full access to drive G:My windows login has full access to drive G:My windows account is a SYSADMIN.NTFS permissions for both above accounts ok.Has to be a bug!James BirdEmail ; JAMES.BIRD@SA.GOV.AU |
|
JamesBird
Starting Member
2 Posts |
Posted - 2014-01-21 : 19:46:27
|
I found the answer in other forums...The example on Microsoft's site only pointed to a folder location and thus I was not providing a file name. I provided a file name in the path and it created the backup to the file. James BirdEmail ; JAMES.BIRD@SA.GOV.AU |
|
|
|
|
|