廣告:
ERROR:
用戶沒有執(zhí)行此操作的權(quán)限。
您沒有運行 RECONFIGURE 語句的權(quán)限。
用戶沒有執(zhí)行此操作的權(quán)限。
您沒有運行 RECONFIGURE 語句的權(quán)限。
STATEMENT:
-- enable
exec sp_configure 'show advanced options', 1;
RECONFIGURE;
exec sp_configure 'Ad Hoc Distributed Queries', 1;
RECONFIGURE;
在 Mvccom.ExcelToSqlserver.ExecuteScript(String sScript, Boolean useTransactions) 位置 E:\aspnet2.0\hao_elec_all_jia\mvc_elec_jia\Mvccom\ExcelToSqlserver.cs:行號 155
在 Mvccom.ExcelToSqlserver.Todata(String wuliexcel, String tablename, String sheetname) 位置 E:\aspnet2.0\hao_elec_all_jia\mvc_elec_jia\Mvccom\ExcelToSqlserver.cs:行號 75
在 Mvcb2b.admin.jquery.ExceltoSqlserver.Page_Load(Object sender, EventArgs e) 位置 E:\aspnet2.0\hao_elec_all_jia\mvc_elec_jia\Mvcb2b\admin\jquery\ExceltoSqlserver.aspx.cs:行號 59
在 System.Web.UI.Control.OnLoad(EventArgs e)
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
解決辦法:
你的帳號權(quán)限不夠,需要SQL Server用戶具用SystemAdministrators”服務(wù)器角色”。將你的賬號添加到sysadmin角色中。
sql用戶--服務(wù)器角色添加 sysadmin
廣告: