We have a web server running IIS 6.0 and ASP.NET MVC, that is serving plain xml. The IVR Browser is not accepting the xml being output by the web server.
The Controller
just returns a normal ActionResult
, but changes the Content-Type
to text/xml
.
The View
is just a typical aspx page, but instead of html, we've put xml in there instead. When we view this in a browser, it properly returns the xml in the View
. In the IVR, it just bombs out. If we remove the Page Directive on the View, then the IVR works.
Does anyone have any idea what the Page Directive changes in the output of the view?