Forum Discussion
Eventid 6 MSExchange CmdletLogs: The response received from the service didn't contain valid XML
Hi TKEUH,
The error message "The response received from the service didn't contain valid XML" indicates that the Exchange server is receiving invalid XML responses from another server.
This can be caused by a variety of factors, such as a firewall blocking traffic, a network problem, or a problem with the other server.
In the case of the error message you provided, the problem is being caused by a DTD (Document Type Definition) in the XML response. DTDs are used to define the structure of an XML document, but they are not supported by Exchange.
To resolve this issue, you need to identify the server that is sending the invalid XML responses and disable the DTD. This may involve contacting the administrator of the other server or making changes to the configuration of the server.
Here are some things you can try to troubleshoot the issue:
- Check the firewall settings on the Exchange server and make sure that traffic to the other server is not being blocked.
- Try restarting the Exchange server and the other server.
- Check the network connection between the Exchange server and the other server.
- If the other server is an Exchange server, try running the following command on the other server to disable DTDs:
Set-WebServicesVirtualDirectory -Identity "EWS/Exchange.asmx" -AllowDTDs $false
Once you have disabled the DTD, the error message should go away.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)