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
7
votes
1 answer
CreateRemoteThread access denied
I am trying to create a remote thread on the "notepad.exe" process using CreateRemoteThread() but i am getting error code 5 "Access-Denied". I tried enabling debug permissions due to the intergrity level being "High" but that did not do the trick. I…

h4344
- 141
- 1
- 8
7
votes
1 answer
Integrating ssl with mysql - Access Denied
I'm trying to setting up ssl for mysql by referring this.
I'm able to complete first 3 steps but having issue with the 4th which is as following:
GRANT ALL PRIVILEGES ON *.* TO 'ssluser'@'localhost' IDENTIFIED BY 'ssluser' REQUIRE SSL;
FLUSH…

GAMA
- 5,958
- 14
- 79
- 126
7
votes
2 answers
Access denied for user 'username'@'localhost' (using password: YES) in C:\webdev\wamp\www\membershipSite\classes\Mysql.php on line 9
I'm new to all of this but I do know a decent amount of HTML/CSS. I want to create a login server and I got most of the code from a video. If someone could help me and explain thoroughly so I can understand it would be greatly appreciated. If any…

TheUnCola
- 301
- 3
- 6
- 11
7
votes
4 answers
Unable to access file - WebClient.DownloadFile
So I've looked for the answer multiple times, and meddled around with permission stuff to no avail, but this code still won't let me download a file to a specified path.
WebClient client = new…

Fishrock123
- 113
- 2
- 7
6
votes
1 answer
Creating a scheduled task on a remote machine with powershell
I have an issue where I get an access denied error when attempting to create a scheduled task on a remote machine on my domain. What is odd is that when I use the "New Remote Powershell Tab" button in powershell and run my code, it runs flawlessly.…

Fayt Leingod
- 69
- 1
- 2
- 5
6
votes
2 answers
Access denied on AWS s3 bucket even with bucket and/or user policy
I've tried pretty much every possible bucket policy. Also tried adding a policy to the user, but I get Access Denied every time I try to download an object from s3 bucket using the AWS Console.
Bucket Policy:
{
"Version": "2012-10-17",
…

Scott Decker
- 4,229
- 7
- 24
- 39
6
votes
2 answers
AWS AccessDeniedException for lambda ListFunctions on a IAM user
PRE-NOTE: I perform all of my AWS provisioning via a IAM-user console account that essentially has all of the privileges of the AWS/Amazon account owner. I'll call this IAM-user the root account.
Issue description:
From the root account I created…

NYCeyes
- 5,215
- 6
- 57
- 64
6
votes
2 answers
wordpress 403 error (duplicator installation)
I have duplicated my site using the duplicator plugin from wordpress.org. However, when I wanted to run this on a new hosting service, first I encountered a 504 gateway timeout error. Therefore, I extracted the .zip contents and chose for manual…

T J
- 61
- 1
- 4
6
votes
2 answers
Access denied while getting process path
I am trying to get process path by pid but I'm getting Win32Exception (access id denied).
The code looks like this:
string path = Process.GetProcessById(pid).MainModule.FileName
I have tried using OpenProcess with GetModuleFileNameEx but…

Giorgi
- 30,270
- 13
- 89
- 125
6
votes
3 answers
Running php in cmd gives access is denied and "This app can't run on your PC"
I have installed xampp on my windows 8.1 and wanted to add PHP to environmental variables. Therefore, under path i added ;C:\xampp\php; in the end, like i have done some long time ago.
Now, when i try to run any php function in cmd, i get the…

Adam
- 61
- 1
- 2
6
votes
1 answer
Powershell Start-Process : This command cannot be executed due to the error: Access is denied
I'm trying to run start-process from a powershell script with given credential.
Nevertheless the command fail with the following error:
Start-Process : This command cannot be executed due to the error: Access is denied
Here is the full error…

John-Philip
- 3,392
- 2
- 23
- 52
6
votes
1 answer
How to set document.domain for a dynamically generated IFRAME?
I am implementing CodeMirror (http://marijn.haverbeke.nl/codemirror/) on a page where document.domain needs to be declared (because of other IFRAMES on the page).
CodeMirror generates a dynamic IFRAME to provide syntax highlighted code editing. The…

Paras Chopra
- 4,029
- 4
- 21
- 19
6
votes
5 answers
Maven Shading Error: Access is Denied
Now, I have already seen this question, however it doesn't appear anything is using my target folder.
What's going on, is when I compile it fails and shows me this error:
[ERROR] Failed to execute goal…

PaulBGD
- 2,018
- 5
- 22
- 30
6
votes
3 answers
Amazon S3 : Access Denied for URL using symbols
I would like to download some files uploaded on my S3 Server.
For the moment, all my buckets and files inside them are public, so I can download what I want.
Unfortunately, I can't access to files using special characters like a space or "&"...
I…

jbltx
- 1,255
- 2
- 19
- 34
6
votes
2 answers
Error : DEP0500 : The folder "...\Debug\AppX" could not be deleted. Access to the path 'resources.pri' is denied
I get this error a lot, when I try to debug my WinRT app on my local machine:
Error : DEP0500 : The folder "C:\Users\akku\VS2012Projects\ProjectName\bin\x86\Debug\AppX" could not be deleted.
Access to the path 'resources.pri' is denied.
The only…

Akku
- 4,373
- 4
- 48
- 67