Error Messages: 'The Underlying Connection Was Closed/The Web Service Returned an Invalid XML Document'
    • 21 Mar 2024
    • 1 Minute to read
    • Contributors
    • PDF

    Error Messages: 'The Underlying Connection Was Closed/The Web Service Returned an Invalid XML Document'

    • PDF

    Article summary

    This article provides a solution for the following error messages that may appear when trying to print to Lasernet Screen in AX 2012.

    Lasernet 7

    Error

    The underlying connection was closed. An unexpected error occurred on a receive. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

    Lasernet 9

    Error

    The web service returned an invalid XML document...

    SOAP-ENV:ServerTime out waiting for Webservice request to be handled. Job might have failed or was not passed to Webservice destination in time...

    These issues have resulted from no Form matching the incoming XML file on the Lasernet Server.

    Resolutions

    Ensure you have a Form in the Form list that recognizes the incoming XML file through criteria. Newly created reports without a designated Form should be recognized by a Blank form.

    Lasernet 7

    Lasernet 9

    Additional Information

    The Lasernet Monitor will look as in the following images:

    Lasernet 7

    Lasernet 9


    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.