我們在包含SSRS報告的客戶計算機上部署了VB.Net應用程序。從Internet Explorer運行SSRS報告時出現錯誤代碼40(以管理員身份運行)
應用程序連接到應用程序中的SQL Server數據庫時沒有任何問題。我們安裝了SQL Server數據工具,以便我們可以將報告(rdl)和數據源(rdl)文件部署到報告服務器。這些部署沒有任何問題。
在SQL Server數據工具中,我們也可以「預覽」報告,而且沒有任何問題。
嘗試從Internet Explorer查看報告(以管理員身份運行)時遇到問題。
我們得到以下錯誤:
Cannot create a connection to data source 'DataSourceReports'
(this is the name we used for the TargetDataSourceFolder)
error:40 - Could not open a connection to SQL Server
我們也得到了同樣的錯誤,當我們部署應用程序運行報告。
請讓我們知道什麼設置不正確的SQL Server端。