Thursday, January 19, 2012

Cannot view XML input using XSL style sheet. Access is denied


Problem:

If you see following error while rendering XML file in IE.












Try following steps to overcome this problem.


Solutions:
Unblock access to individual files by the following:
  1. Open in Windows Explorer the directory containing the file, either the XML file or one referenced by the XML.
  2. Right click on the file and open Properties.
  3. Click Unblock.
Reason:
The following error may occur when accessing XML files downloaded from one computer to another such as the ZIP files for the assignment. Vista (and perhaps XP) blocks access to files, presumably attempting to protect you from using files you have copied to your computer.