This is a migrated thread and some comments may be shown as answers.

Sys.ScriptLoadFailedException on reportviewer

1 Answer 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
P.J. Keukens
Top achievements
Rank 1
P.J. Keukens asked on 21 Jul 2010, 08:37 AM
Hi,

I'm trying to add a ReportViewer to my WebApplication. I've added the reportviewer to one of my usercontrols. When I load the usercontrol I get the following error message:

Runtime-fout Microsoft JScript: Sys.ScriptLoadFailedException: The script '/Arbeidsvoorwaarden/Telerik.ReportViewer.axd?name=Resources.ReportViewer.js&version=4.1.10.714&optype=Resource' could not be loaded.

I've attached an image to show what happens (you can see resource errors as well in the image).

We are using the scriptmanager from the AJAX control toolkit (version 3.5.40412.2). For testing we tried both, ajaxcontroltoolkit scriptmanager and telerik scriptmanager but both gave an error (altough a bit different).

<

 

telerik:ReportViewer ID="rvVerlofurenReport" runat="server"></telerik:ReportViewer>

Report is loaded in code behind (just an empty report for testing).

I've added the following rule to my web.config:

<add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type ="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=4.1.10.714, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode"/>

I hope anybody can help
Best regards Patrick

1 Answer, 1 is accepted

Sort by
0
P.J. Keukens
Top achievements
Rank 1
answered on 21 Jul 2010, 08:48 AM
Couldn't seem to upload the file so I will try it in a new post. See attached file.
(still doesn't seem to work) ask me for the image if you need it and I will e-mail it or something...
Tags
General Discussions
Asked by
P.J. Keukens
Top achievements
Rank 1
Answers by
P.J. Keukens
Top achievements
Rank 1
Share this question
or