Related Posts Plugin for WordPress, Blogger...

How To Display XML Output In ASP.Net


How To Display XML Output In ASP.Net
This was my dilemma yesterday when I was supposed to display the XML output in the browser. My web application is using a theme and this was the error that flashed in my browser:

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


To solve this problem. Here are the things that you need to do:

1. Add this code to the Page Directive of your page: EnableTheming="false" Theme=""
2. Delete all html codes and just retain the Page Directive.

Simple, right?

If you like this post, buy me a cup of coffee.

Share This Post Digg This Del.icio.us Furl Reddit Fav This With Technorati Yahoo MyWeb Stumble This

0 comments


Namecheap.com - Cheap domain name registration, renewal and transfers - Free SSL Certificates - Web Hosting