For security reasons DTD is prohibited in this XML document

  • Hello All,

       I have a very big Dataset which pulls up millions of rows.

    When I pass parameters from Windows forms to run on Reportviewer through webservice it is giving me "System.OutOfMemory" Exception and when I pass same parameters on the server(i.e. http:\\server\reportmanager) it is giving me this error "For security reasons DTD is prohibited in this XML document. To enable DTD processing set the ProhibitDtd property on XmlReaderSettings to false and pass the settings into XmlReader.Create method"

    I have no problem when I pass small dataset.

    Please help me solve this annoying this problem.

  • Did you ever get an answer, or did you find a solution yourself? Cause I have the same problem. Though I'm not working with a large dataset.

  • I am able to fix this following error..

    "For security reasons DTD is prohibited in this XML document. To enable DTD processing set the ProhibitDtd property on XmlReaderSettings to false and pass the settings into XmlReader.Create method"

    On report server IIS , increase the session timeout value of the Report Server virtual directory from 20mins to 40mins. After changing this value it works for me.

    Let me know the results does it work for you?

  • Sandip ,

    Can you be more clear on the above issue.

    Probably with screen shot.

    Regards,

    Hemanth

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply