Sys.ScriptLoadFailedException on reportviewer

2 posts, 0 answers
  1. P.J. Keukens
    P.J. Keukens avatar
    6 posts
    Member since:
    Sep 2012

    Posted 21 Jul 2010 Link to this post

    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

  2. P.J. Keukens
    P.J. Keukens avatar
    6 posts
    Member since:
    Sep 2012

    Posted 21 Jul 2010 Link to this post

    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...
  3. DevCraft banner
Back to Top