Mary
Mon Sep 04 12:48:07 CDT 2006
ASP.NET is designed so that users do not have permissions on a file
share unless they are explicitly granted. For more information, see
"ASP.NET Web Application Security" at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconaspnetwebapplicationsecurity.asp.
--Mary
On Thu, 24 Aug 2006 06:27:30 +0800, "ad" <flying@wfes.tcc.edu.tw>
wrote:
>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?
>