此時我們很容易被誤導聯想到web.config中的<customErrors mode="Off" />,但事實上它是個被Catch到Exception,顯示的訊息由SSRS掌控,並不算是ASP.NET層次的錯誤,因此改web.config是沒有用的。
SELECT [Name],[Value]
FROM [dbo].[ConfigurationInfo]
where name like '%EnableRemoteErrors%'
GO
update [dbo].[ConfigurationInfo]
set value = 'True'
where name like '%EnableRemoteErrors%'
GO
PS: 改完後ReportServer Web Application要重啟才會生效,不想IISRESET的話,可以去重新存檔C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\web.config