Error: Unhandled Exception, Unexpected XML declaration
Paya Connect Desktop
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
- Download the below file to the directory "C:\ProgramData\Sage Payment Solutions\SageExchangeDesktop\".
- This may require admin privileges
- 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