亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

使用aspnet_regsql無法連接到SQL數據庫進行緩存依賴注冊

使用aspnet_regsql無法連接到SQL數據庫進行緩存依賴注冊

C#
皈依舞 2021-08-07 16:58:47
我想在 Visual Studio 中使用命令提示符啟用 SQL Server 依賴項。I am able to run on the local SQL Server using Windows authentication, but i only face the problem when running using SQL Server Authentication.
查看完整描述

1 回答

?
ibeautiful

TA貢獻1993條經驗 獲得超6個贊

嘗試一下


如果要使用 aspnet_regsql 啟用 SQL 數據庫以通過 SQL Server 身份驗證進行緩存依賴項注冊


Try these Steps with your credentials:-


 1. run command aspnet_regsql -ed -S servername -d databasename -U userid -P password 


-S Server Name

-d Database Name

-U SQL Server Login Id

-P Password


2. If you want on specific table then run the command :-aspnet_regsql -ed -S servername -d databasename -U userid -P password -et -t tablename.



查看完整回答
反對 回復 2021-08-07
  • 1 回答
  • 0 關注
  • 193 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號