XML page cannot be displayed (locally it works)

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi all,

Following setup:

- test.xml locally
- test.xsl on an IIS

text.xml contains "<?xml-style*** href="http://myserver/xml/test.xsl";
type="text/xsl"?>", but when I open the local test.xml file, IE shows
the following message:
***
Cannot view XML input using XSL style ***. Please correct the error
and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

Access denied. Error processing resource
'http://myserver/xml/test.xsl'.
***

I've tried to find a solution in numerous groups, but I couldn't find a
single answer that would help me.

When I change the "href" in the XML file to a local copy of the XSL
file, IE displays everything as it should.

When I change the "href" in the XML file on the server to a server copy
of this file (i.e. just the file name without a path), then IE display
everything okay.

IIS allows anonymous access to the directory and all files within.

IE security settings (for testing) allow everything, including
accessing data sources from different domains.

I don't have the slightest idea what else I should do to overcome this
problem, why can I not just get this to work? I can't use the
workaround that I use embedded XSL stylesheets either, as IE doesn't
support this.

Any help please!?

Regards,

Tim

.


Quantcast