Maintain control of your Microsoft 365 data
Post Reply
tvveen
Influencer
Posts: 17
Liked: 5 times
Joined: Mar 06, 2017 11:36 am
Full Name: Tim van Veen
Contact:

Backup not starting

Post by tvveen »

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: 8191
Liked: 1322 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Backup not starting

Post by Mike Resseler »

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: 329
Liked: 30 times
Joined: Nov 13, 2015 10:00 am
Full Name: Johnny Lundgren
Contact:

Re: Backup not starting

Post by JLundgren »

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: 8191
Liked: 1322 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Backup not starting

Post by Mike Resseler »

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 »

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: 3191
Liked: 774 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Backup not starting

Post by Polina »

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 »

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 24 guests