Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

For security reasons DTD is prohibited in this XML document Expand / Collapse
Author
Message
Posted Tuesday, May 1, 2007 4:01 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, June 23, 2014 12:24 PM
Points: 29, Visits: 39

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.

Post #362458
Posted Thursday, September 20, 2007 8:04 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, August 27, 2012 3:23 AM
Points: 8, Visits: 30

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.

Post #400791
Posted Thursday, April 7, 2011 10:00 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, January 24, 2014 7:44 AM
Points: 190, Visits: 319
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?
Post #1090028
Posted Wednesday, April 24, 2013 6:01 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, June 26, 2014 9:47 PM
Points: 19, Visits: 92
Sandip ,

Can you be more clear on the above issue.
Probably with screen shot.

Regards,
Hemanth
Post #1445891
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse