Home » .Net Framework

Cannot view XML input using XSL style sheet.


whenever I open a xml file, 

It gave me this:

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.

Access is denied. Error processing resource ....



I tried reinstalling my framework, I downlaoded messagelof.xsl,

But nothing works.


Any ideas?


I have these versions:










1 Answer Found


Answer 1

Please be more specific, telling "whenever I open a xml file" does not tell us at all which application you use to open an XML file. This forum is about XML in the .NET framework and about XML Tools in Visual Studio so you are in the right forum if you use Visual Studio to open an XML file or if you programmatically use the .NET framework XML APIs to parse an XML file.

I suspect you use a browser like Internet Explorer to open an XML file. The error message "Access is denied" suggests that the XML document references another resource on a different location that the one the XML is opened from. So show us the start of the XML file with stuff like <?xml-stylesheet?> and/or <!DOCTYPE>. And tell us whether you load the XML document over HTTP from a web server or from the local file system.



<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure