Error message/exception when access to a certain resource or system is denied due to insufficient privileges. If asking a question about solving this error, please include other relevant tags such as the platform or system the error is being encountered on.
Questions tagged [access-denied]
1031 questions
51
votes
7 answers
Receive AccessDenied when trying to access a page via the full url on my website
For a while, I was simply storing the contents of my website in a s3 bucket and could access all pages via the full url just fine. I wanted to make my website more secure by adding an SSL so I created a CloudFront Distribution to point to my s3…

Kurt King
- 1,952
- 2
- 11
- 12
46
votes
3 answers
getting access is denied error on IE8
I have a HTML form (upload.htm) with a HTML file upload control inside of it.
45
votes
14 answers
Kafka: unable to start Kafka - process can not access file 00000000000000000000.timeindex
Kafka enthusiast, need little help here. I am unable to start kafka because the file \00000000000000000000.timeindex is being used by another process. Below are the logs:
[2017-08-09 22:49:22,811] FATAL [Kafka Server 0], Fatal error during…

a_a
- 778
- 1
- 13
- 16
33
votes
5 answers
Access to the path 'C:\Users\xxx\Desktop' is denied
I have thoroughly searched the entire access denied questions and did't find any question related to access to windows form on my own system all the questions are related to web app.
public partial class Form2 : Form
{
public Form2()
{
…

Sainath
- 979
- 2
- 13
- 22
28
votes
3 answers
Granting write permissions to a networked UNC folder for ASP.NET under IIS 7.5 and Windows Server 2008 R2
BLUF
Our application is attempting to write a file to a UNC folder using an ASP.NET web service running under .NET 4.5, IIS 7.5, and Windows Server 2008 R2. However, any attempt to write the file to the desired location results in an access denied…

Ryan Taylor
- 8,740
- 15
- 65
- 98
26
votes
4 answers
IIS - Access to the path is denied
This question have been asked like million times, but I have tried those solutions and still can't find out why this error is coming up:
Access to the path '\server1\Folder1\Folder2\Folder3\file1.dwg' is denied.
Here is the action which returns the…

Chopman
- 393
- 1
- 3
- 7
23
votes
13 answers
Access to the path 'c:\inetpub\wwwroot\myapp\App_Data' is denied
I just installed IIS on Windows XP.
When I try to execute an app, I get an error:
Access to the path 'c:\inetpub\wwwroot\myapp\App_Data' is denied.
Description: An unhandled exception occurred during the execution of
the current web request.…

Smith
- 5,765
- 17
- 102
- 161
19
votes
1 answer
NGinX cannot connect to Jenkins on CentOS 7
I have installed Jenkins CI on Cent OS 7 machine as well as NGinX and configured reverse proxy as outlined in the document. I can connect to Jenkins via port 8080, but cannot via port 80. I see the following error in…

vharavy
- 4,881
- 23
- 30
15
votes
3 answers
Get-ChildItem -force reports "Access Denied" on My Documents folder and other junction points
I have a script that I wrote that replaces files. I pass params to it for the name of the file, and the base location to search from. The worker lines are:
$SubLocations = Get-ChildItem -Path $Startlocation -Recurse -include $Filename -Force |
…

Kevin_
- 2,916
- 3
- 19
- 18
13
votes
1 answer
Access denied to file on windows 7 for Administrator account
I want to delete my git repository (.git folder) created by git on my windows 7 box. It says access denied to .git/refs/header folder.
I open a console with Administrator role, issue command "takeown /F heads /A /R", it still says "ERROR: Access is…

Gelin Luo
- 14,035
- 27
- 86
- 139
13
votes
7 answers
Directory.Move(): Access to Path is Denied
I'm writing this Windows Form Application in Visual Studio 2010 using C#.
There is a Execute button on the form, the user will hit the button, the program will generate some files and are stored in the Output folder (which is created by the program…

sora0419
- 2,308
- 9
- 39
- 58
13
votes
2 answers
C++: How to set a new wndProc for a console application?
If I have a console application with a handle to it set up like so;
HWND hWnd = GetConsoleWindow();
Then how do I set up a new wndProc for the window?
I tried using
SetWindowLong(hWnd, GWL_WNDPROC, (LONG)conProc);
With conProc being defined…
user1219742
12
votes
6 answers
Access is Denied When Renaming Folder
I don't know if this is the right place to ask this question, but I am going to ask it anyway.
I have a frequent problem when I try to rename one of my folders; it says access is denied. I have full administrative rights on my computer. The problem…

computer_geek64
- 398
- 2
- 3
- 13
12
votes
4 answers
Gitosis Error: Receiving 'Read Access Denied' on previously accessible repository
The Players
I've been using git and gitosis for some months now, and am really loving both. Unfortunately, I have run into a problem accessing one of my projects with gitosis.
The Set-Up
I set up my git and gitosis installs on a hosted server…

AwesomeYetIronicPseudonym
- 440
- 1
- 4
- 7
12
votes
1 answer
How do I Open Windows Registry with write access in Python
I'm having some problems accessing the Windows 7 Registry with the _winreg.QueryValueEx function in the Python 2.7.3 _winreg module.
I am running the python process as Administrator, and can create new keys and values like this:
import _winreg as…

TrinitronX
- 4,959
- 3
- 39
- 66