SSRS IE8 JavaScript Error Invalid Character ScriptResource.axd

て烟熏妆下的殇ゞ 提交于 2019-12-30 05:21:08

问题


A colleague of mine has produced various reports in SSRS. We have 2 machines in the office that are failing to load the report via Internet Explorer 8. Both machines are returning a JavaScript error at the Reports 'Loading' screen.

On these particular machines, the reports load fine in FireFox so I am guessing that it is IE related. Both Machines are running IE8.

Any help would be greatly appreciated.

The JavaScript error detail is as below:-

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E) Timestamp: Fri, 20 Jan 2012 09:44:17 UTC

Message: Invalid character Line: 1 Char: 1 Code: 0 URI: http://xxx.xxx.xxx.xxx/Reports_2/ScriptResource.axd?d=dz2_T_-skCIGFrM350LrrgpIbuyQ3hv0Po2nyTqnjMC_h2orbb8AW34-wlapNOlKQn3w_65Hv8xicNrMgbLAWsuKLkB24a0JnVTM3AD64R_ELK1K6KpCKGgYkO_evQ1uY6IeQkuEpQDrHclftKpS0G8rnJM1&t=4d63fd9d

Message: Sys.ScriptLoadFailedException: The script '/Reports_2/ScriptResource.axd?d=dz2_T_-skCIGFrM350LrrgpIbuyQ3hv0Po2nyTqnjMC_h2orbb8AW34-wlapNOlKQn3w_65Hv8xicNrMgbLAWsuKLkB24a0JnVTM3AD64R_ELK1K6KpCKGgYkO_evQ1uY6IeQkuEpQDrHclftKpS0G8rnJM1&t=4d63fd9d' could not be loaded. Line: 5 Char: 25312 Code: 0 URI: http://xxx.xxx.xxx.xxx/Reports_2/ScriptResource.axd?d=3Ai4085hE-J-y-0xbpoDUETOM6YJ4KTxATxoi5MUC6t3_pBfPhudsCfAT2Zo0EYhCJ53VN7b1CMlJVAjSV173nFtwGNqRGEOxEQ5oaE1x1fJu9GYkrDUg931CJbqHdCdhmahc5Hew8HZppPb3veIO20e1DrsUcF2kvQowgeCkHgVZ1EA0&t=4d63fd9d


回答1:


Are you using SQL Server 2005?

If so make sure you have all of these installed on your server hosting reporting services. (Also if you ever happen to have a website with a .NET reportviewer control in it it will need these patches as well) Link Also make sure all the normal security patches are applied to your SQL server namely this one. Link and this one. Link

This may fix your problem outright. There have been all kinds of updates to the Report Viewer 2005 Service Pack 1 Redistributable Package that have fixed a few wonky bugs I have come across.




回答2:


IE Bug, typically not fixed on Windows XP

Discussed here: http://social.msdn.microsoft.com/Forums/en/sharepoint2010general/thread/a32b665a-916a-43af-862b-2205f8efe083

Indicated it is fixed here: http://support.microsoft.com/kb/980182



来源:https://stackoverflow.com/questions/8939854/ssrs-ie8-javascript-error-invalid-character-scriptresource-axd

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!