Error - Unhandled exception at line 25, column 13581 in http://localhost:28550/Content/dist/js/pdfmake.min.js RRS feed

  • Question

  • User-1499457942 posted


        I am getting above error - Invalid String. Length must be a multiple of 4.


    Wednesday, July 4, 2018 9:56 AM

All replies

  • User-1171043462 posted

    Share the line throwing error

    Wednesday, July 4, 2018 10:07 AM
  • User-1499457942 posted


     <script type="text/javascript" src="~/Content/dist/js/jquery.dataTables.min.js"></script>
    <script type="text/javascript" src="~/Content/dist/js/dataTables.buttons.min.js"></script>
    <script type="text/javascript" src="~/Content/dist/js/jszip.min.js"></script>
    <script type="text/javascript" src="~/Content/dist/js/pdfmake.min.js"></script>


    Wednesday, July 4, 2018 10:45 AM
  • User-1499457942 posted


      When i open in Google Chrome at least it opens there


    Wednesday, July 4, 2018 11:01 AM
  • User-1171043462 posted

    Unhandled exception does not happen due to Scripts.

    Wednesday, July 4, 2018 11:03 AM
  • User-330142929 posted

    Hi jagjitSingh,

    According to your description, I could not reproduce your problem. In my opinion, I think the problem may be caused by that Javascript grammar writing error. Such as double loop using the same variable

    I suggest you could post more details about your code and details. It is easily to give you an effective reply if you could help me understand your problem scene.

    Look forward to your reply.

    Best Regards


    Thursday, July 5, 2018 4:32 AM
  • User-1171043462 posted

    While reporting you must

    1. Point out the line or file causing error.
    2.  To find use Console in Developer Tools of FireFox and Chrome.
    3. Try removing newly added scripts and check if again error comes.
    4. Make sure Scripts are ordered in same way as described in documentation.
    5. Make sure you have not inherited duplicate scripts.
    Thursday, July 5, 2018 11:30 AM