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

Version 3

    Verified Product Versions

    Endpoint Manager 9.5Endpoint Manager 9.6




    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








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






    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:






                        <jsonSerialization maxJsonLength="50000000"/>






    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