Restore fail in Asp.Net

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

I use asp.net to restore a SqlServer database.

I use the code:
Restore database MyBase from disk = 'c:\xxx.bak' with Replace

But after execute, it display an error message:

Restore fail, the user did not have the previllage to RESTORE DATABASE
'MyBase'

How can I do?
 
Back
Top