1
我在我的網站中使用了Report Viewer。我收到以下錯誤,當我查看報告:登錄失敗錯誤顯示在Microsoft Report Viewer中
An error has occurred during report processing.
Exception has been thrown by the target of an invocation.
Login failed for user 'sa'.
我已經給出了連接字符串中的web.config文件中,
<connectionStrings>
<add name="TPSConnectionString" connectionString="Persist Security Info=False;User ID=sa;Password=***********;Initial Catalog=DataBaseName;Data Source=MyDataSource" providerName="System.Data.SqlClient"/>
</connectionStrings>
它的憑據是正確的。我無法理解爲什麼我得到這個錯誤。請任何一位爲我提供解決方案。
'sa'帳號已啓用且身份驗證模式爲'SQl服務器身份驗證' –
@VamsiPamula - 您可以通過管理工作室登錄嗎?使用'sa'帳戶或任何其他帳戶? –
我只使用'sa'帳戶登錄 –