我想在 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.
- 1 回答
- 0 關注
- 193 瀏覽
添加回答
舉報
0/150
提交
取消