Maintain control of your Microsoft Office 365 email data
Post Reply
tvveen
Lurker
Posts: 2
Liked: 1 time
Joined: Mar 06, 2017 11:36 am
Full Name: Tim van Veen
Contact:

Backup not starting

Post by tvveen » Aug 07, 2018 7:08 am

We're receiving the following error:
For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.

Can anyone help us?

Mike Resseler
Product Manager
Posts: 5740
Liked: 612 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Backup not starting

Post by Mike Resseler » Aug 07, 2018 7:12 am

Tim,

I believe this could be resolved by changing something in the XML document. But to be sure, I would ask you to contact support so they can help you. Document type definition validation (DTD) should not be done for this service, but for some reason you are requiring it. So please contact support, let us know the support case ID and the outcome after investigation with the engineers

Thanks
Mike

JLundgren
Service Provider
Posts: 184
Liked: 14 times
Joined: Nov 13, 2015 10:00 am
Full Name: Johnny Lundgren
Contact:

Re: Backup not starting

Post by JLundgren » Aug 31, 2018 6:02 am

Hello Mike,

I had the same issue and have recently been in contact with Veeam Support, Case # 03154813.
The problem is solved in my case.

Regards,

JLundgren
Regards,

JLundgren

Mike Resseler
Product Manager
Posts: 5740
Liked: 612 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Backup not starting

Post by Mike Resseler » Sep 04, 2018 5:24 am

Thanks Johnny! I just reviewed your case and it is not an easy one :-). It had nothing to do with DTD at all (which makes sense since I didn't understand why that message came anyway)

So Tim, please create a support case and let us know the case ID and the outcome

Thanks
Mike

edwardm9
Service Provider
Posts: 3
Liked: never
Joined: Jan 04, 2017 3:03 am
Full Name: Edward Morrison
Location: NY Metro
Contact:

Re: Backup not starting

Post by edwardm9 » Dec 11, 2018 2:20 pm

Hi all - I had this issue as well and wanted to share my resolution. It was very odd and working with MSFT support resolved the issue. It was related to the fact that the tenant we were attempting to backup was federated or had remnants of being federated.

We went through the usual tshooting - trying the same tenant from different networks, from different machines, updating sharepoint modules, etc. We narrowed it down to the following behavior. For the tenant in question, attempting to connect with code like the following failed from everywhere with the DTD XML error. We were able to successfully connect using the same code to other tenants and thus Veeam O365 backup for Sharepoint was working for those other tenants.

$AdminURL = “https://client-admin.sharepoint.com
$cred = get-credential
Connect-SPOService -Url $AdminURL -Credential $cred

The other odd piece was that, for the tenant in question, if you just issue the command connect-sposervice and then are prompted for URL and credential this works. In this manner connect-sposervice uses the web credential prompt, but the get-credential command uses the older windows style mechanism. Anyway the support engineer knew what this meant and we added the following lines to the hosts file. Note that the first line is the MSFT tenant name and the last line is the primary email suffix domain.

127.0.0.1 msoid.client.onmicrosoft.com
127.0.0.1 msoid.onmicrosoft.com
127.0.0.1 msoid.clientemailsuffix.com

A fiddler trace shows that attempting to login tried to reach the addresses we modified, and those attempts were being routed to the clients premises through their domain provider.
Ed Morrison
https://www.linkedin.com/in/edwardcmorrison/

Polina
Veeam Software
Posts: 884
Liked: 140 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Backup not starting

Post by Polina » Dec 11, 2018 2:57 pm

Hi Edward,

Thanks for posting!
Let me also add that we've just published a KB article on the "For security reasons DTD is prohibited in this XML document" error.

edwardm9
Service Provider
Posts: 3
Liked: never
Joined: Jan 04, 2017 3:03 am
Full Name: Edward Morrison
Location: NY Metro
Contact:

Re: Backup not starting

Post by edwardm9 » Dec 11, 2018 3:03 pm

Awesome thanks! Much more concise than mine :D
Ed Morrison
https://www.linkedin.com/in/edwardcmorrison/

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest