Click here to Skip to main content
14,040,625 members
Rate this:
Please Sign up or sign in to vote.
See more:

While loading an image the error came,
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<message>Access Denied

How to solve this problem?

What I have tried:

No I searched on net but I did not understand.
Updated 14-Nov-18 23:59pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

What part of "Access Denied" is unclear to you: the image you are trying to load (or the folder is it contained in) is not accessible to the user the app is running under as the user does not have permission (or has the incorrect credentials) to access it.

Start with yoru code, and find what the path is. Then try to open that path and see what user permissions are available.

We can't do that for you: we don't have access to your code, or to your file system...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190425.1 | Last Updated 15 Nov 2018
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100