Looking for something?

You will find your answers here!

    Sorry, we didn't find any relevant articles for you.

    Send us your queries using the form below and we will get back to you with a solution.

    Error: Unhandled Exception, Unexpected XML declaration

    Products

    Paya Connect Desktop


    Description

    Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it.

    C:\ProgramData\Sage Payment Solutions\SageExchangeDesktop\SageExchange.exe.config



    Resolution

    • Download the below file to the directory "C:\ProgramData\Sage Payment Solutions\SageExchangeDesktop\".
    • The ProgramData directory may not be visible by default. Please view the below path to gain visibility.
      • Windows 8 and up: Click on OS (C:) -> Click View (top left hand corner) -> Check the box for Hidden Items
      • Windows 7: Click on OS (C:) -> Click Organize (top left hand corner) -> Click Folder and Search options. -> Click View -> Click Show Hidden Files, Folders and Drives -> Click Apply and Ok.
    • Alternately you can download the file and copy it to that directory
    • If the directory does not exist it should be manually created
      • The path must match exactly to work


    If you have questions or require additional information, please submit a ticket and we will be in touch with you shortly


    Was this article helpful?

    Still can't find
    what you are looking for?

    Our award-winning customer care team is here for you.

    Contact Support

    Powered by