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
5
votes
7 answers
Trying to open a serial port with pyserial on WinXP -> "Access denied"
I'm trying to send data to an hplc pump via the serial port using python and pyserial. I tested the cable and the pump under linux (a gentoo derivative), where it worked perfectly, albeit as root. Now i have to use the code on a WinXP machine, where…
user250608
5
votes
3 answers
IOException - Access Denied Using FileOutputStream
I get the following IOException :
java.io.IOException: Access is denied
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:850)
at zipUnzipper.main(zipUnzipper.java:41)
When trying to run the…

David Castle
- 149
- 1
- 3
- 10
5
votes
3 answers
Access to the path .... is denied
I have created a .msi by using VS2008 setup project. My application frequently writes some value in a .txt file in the application directory (C:\Program Files\MyApp\MyFile.txt). After insalling it in Win7, it raises an exception "Access to the path…

s.k.paul
- 7,099
- 28
- 93
- 168
5
votes
3 answers
MYSQL error: 1045 (28000): Access denied for user 'root'@'localhost'
When I try to connect to the sql server and enter the following in command prompt:
shell> mysql --user=username--password=password db_name
I get error:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: Y
ES)
What…

Maria
- 605
- 2
- 6
- 8
5
votes
6 answers
StartServiceCtrlDispatcher access denied on windows 7
I have a c++ project in visual studio 2008 on windows 7 where I try to start a new service.
I'm running visual studio as administrator.
I cant start the service (serviceMain is not even called).
this is my main function:
wchar_t str[] =…

lironda
- 171
- 3
- 5
4
votes
2 answers
Selenium python - Acess denied to /hub/session when launching Firefox webdriver
I just recently started using Selenium Webdriver (as opposed to Selenium 1.0), and I am struggling with an issue that prevents me from running tests at all: When trying to launch webdriver.Firefox() i get an WebDriverException, see…

eleccy
- 110
- 1
- 7
4
votes
1 answer
Access Denied when creating S3 Bucket ACL & S3 Policy using Terraform
I'm trying to create an S3 bucket using Terraform, but keep getting Access Denied errors.
I have the following Terraform code:
resource "aws_s3_bucket" "prod_media" {
bucket = var.prod_media_bucket
acl = "public-read"
}
resource…

Mark
- 1,455
- 3
- 28
- 51
4
votes
0 answers
Access Denied: "project name": User does not have bigquery.jobs.create permission in "project name"
So I have a problem creating new dataset in bigquery due to
Access Denied: "project name": User does not have bigquery.jobs.create
permission in "project name".
Could someone help me with what it means and how to fix it? because I'm kind of…

byrmn__
- 59
- 6
4
votes
2 answers
Visual Studio custom control dll access denied error
This is one of those, "was working 15 minutes ago" problems. I've been running my app without a problem and then all of the sudden I'm receiving this error when trying to load the design view:
Access to the path '[my-local-path]\Application…

Paul
- 231
- 5
- 14
4
votes
2 answers
Export-Csv - Access to the path 'C:\export.csv' is denied
I'm getting the information I need out of the line, although when I go to export the information, I get an error.
When I run this code:
get-process | Export-csv -Path "C:\export.csv" -NoTypeInformation
I get this error:
Export-csv : Access to the…

Dustin Krauss
- 43
- 1
- 1
- 3
4
votes
4 answers
Cannot bulk load because the file “" could not be opened. Operating system error code 5(Access is denied.)
Ok. I do see that there have been some good amount of similar questions that have been already asked. Form surface it may look like I shouldn't be asking this question because a lot of people have already tried to answer this question but I will…

Lost
- 12,007
- 32
- 121
- 193
4
votes
2 answers
Access Denied You don't have permission to access "site" on this server using ChromeDriver and Chrome through Selenium Python
I've been using selenium with chrome and I've been trying to access a website but I keep receiving this error message:
Access Denied You don't have permission to access "website" on this server.
The website works fine on my regular chrome browser,…

MarinaF
- 35
- 1
- 2
- 13
4
votes
0 answers
How to fix "PermissionError: [WinError 5] Access is denied" in virtual environment and Jupyter notebook caused by n_jobs = -1
I am working within a virtual environment that was setup following https://docs.python.org/3/tutorial/venv.html
In addition I am using Jupyter Notebook.
In my code I am using sklearn.model_selection.cross_val_score(...). It seems that the parameter…

CLDuser2.-
- 53
- 5
4
votes
2 answers
pytesseract WindowsError: [Error 5] Access is denied
I have installed pytesseract in Windows 10 system. When I try to run the following line,
pytesser=pytesseract.image_to_string(image)
It throws an error saying,
WindowsError: [Error 5] Access is denied
Even after changing the tesseract_cmd path, it…

Kullaleeni Siritharran
- 51
- 1
- 5
4
votes
1 answer
Running python on Command prompt:Access is Denied
I installed python long back and worked fine for all these months, I could install libraries from command prompt..run python programs using shell from vba until one day..It started failing, I am able to run python scripts from idle but not from…

Akanksha Goel
- 41
- 1
- 5