Hi All,
Iam trying to run the following on my Development SQL Server (2008):
DECLARE @strSQL NVARCHAR(2000)
SET @strSQL = 'RESTORE DATABASE MyDB FROM DISK = N''\\ServerName\Backup\Somefolder\someDB_backup_2012_11_12_000101_1157397.bak'' WITH RESTRICTED_USER, NORECOVERY, NOUNLOAD, FILE = 1, NOUNLOAD, REPLACE, STATS = 10'
EXEC SP_EXECUTESQL @strSQL
I can run this on my other Development server without problems, but I get the following error message when trying to run from my current dev server:
"
Operating system error 1909(The referenced account is currently locked out and may not be logged on to.).
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.
"
So this statement is trying to restore a DB from a backup on a remote server location.
Iam not sure which Account this message is talking about, can someone please point me in the right direction?
Thanks a Ton.