Failed to send request to /LDMS/ActiveReports.ReportService.asmx/RunReport - Internal Server Error

Version 3

    Verified Product Versions

    LANDESK Management Suite 9.5LANDESK Management Suite 9.6

    DESCRIPTION

     

     

    In an environment of 10000 or more machines, when trying to run a report that queries too many machines, we get the following error:

     

    Failed to send request to /LDMS/ActiveReports.ReportService.asmx/RunReport - Internal Server Error

     

    error.JPG

     

     

    CAUSE

     

     

    The reason for this seems to be related to the JAVA operations not being able to perform on an important number of machines.

     

     

    SOLUTION

     

     

    Note - If you are trying to run these reports from a Rollup Core, all Cores must be updated to LDMS 9.6 Service Pack 2 to be able to run reports from the Rollup Core through SLM.

     

    If you cannot upgrade to Service Pack 2:

     

    • A workaround for this consists in adding code to your Web.config file in order to allow the JavaScriptSerializer class to accept the maximum length of JSON strings:

     

    <configuration>

         <system.web.extensions>

              <scripting>

                   <webServices>

                        <jsonSerialization maxJsonLength="50000000"/>

                   </webServices>

              </scripting>

         </system.web.extensions>

    </configuration>

     

    After you have done this, you will have to restart your IIS services.

     

    Here is an article that describes what this JavaScriptSerializer.MaxJsonLength Property is: Microsoft MSDN