Restore fail in Asp.Net

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top