我在我的网站中使用报告查看器。当我查看该报告时,我收到以下错误:
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>
它的凭据是正确的。我无法理解为什么会出现该错误。请你们中的任何人为我提供解决方案。