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
8
votes
1 answer
PowerShell Access is denied. PSRemotingTransportException + FullyQualifiedErrorId : PSSessionStateBroken
I was trying to establish a remote connection to another system and execute some basic commands.
Below are the steps that I have done :
Configured the remote machine to accept Shell commands - Enable-PSRemoting –
Force
Tested the configuration on…

Ajmal Moideen
- 170
- 1
- 6
- 17
8
votes
1 answer
Avoid Java 8 Files.walk(..) termination cause of ( java.nio.file.AccessDeniedException )
I am using Java 8 Files.walk(..) to count .mp3 files contained inside a folder and all the folders inside it. In other words, I am visiting all the levels of the file tree.
When I get java.nio.file.AccessDeniedException the Stream closes, I don't…

GOXR3PLUS
- 6,877
- 9
- 44
- 93
8
votes
4 answers
PermissionError: [WinError 5] Access is denied: 'C:\\Program Files\\Anaconda3\\pkgs\\vs2015_runtime-14.0.25123-0.tmp
Conda newbie here! How can I solve this problem?
C:\Users\mona>conda create --name universe-starter-agent python=3.5
Fetching package metadata .........
Solving package specifications: ..........
Package plan for installation in environment…

Mona Jalal
- 34,860
- 64
- 239
- 408
8
votes
3 answers
WCF Access Denied exception never returns to client after CheckAccessCore
I have a WCF service configured with TransportWithMessageCredential security. All the three implementations for IAuthorizationPolicy, ServiceAuthenticationManager and ServiceAuthorizationManager are in place and…

Mohsen Afshin
- 13,273
- 10
- 65
- 90
8
votes
4 answers
java.nio.file.AccessDeniedException at Jenkins build
I'm setting up a Jenkins system at MacOSX Server for an automatically build after a svn checkin. But when the build is starting I get these java error at the console output. Does anyone have experience with Jenkins and these error?
Gestartet…

marcelZ
- 81
- 1
- 1
- 3
8
votes
3 answers
Access is denied when using FileOutputStream
I'm having an issue getting this to work. It takes in a string which consists of several pieces of information put together.
However, when I try to write the String to a file in order to track changes in the program over time, I receive an access…

Nick
- 191
- 1
- 2
- 9
8
votes
1 answer
How can I copy/replace a DLL?
I have a utility which updates applications by simply copying/replacing the executables. Now, I have some DLL files which need to be updated as well. However, sometimes Windows will not let me replace it because something is using it, and sometimes…

Jerry Dodge
- 26,858
- 31
- 155
- 327
8
votes
5 answers
SerializationException on 'CustomIdentity' when user is denied in ASP.NET
I try to implement ASP.NET Authentication and Authorization on top of our existing database.
We have a website calling a webservice to fetch its data. To use the webservice, i need to provide the username and password.
Knowing that, I decided to…

Stéphane
- 11,755
- 7
- 49
- 63
7
votes
3 answers
how to redirect the access denied page in spring security?
I want to know how to redirect the access denied page in spring security?
Shall I use some kind of handler or edit in web.xml?
thanks

sudo
- 1,525
- 7
- 34
- 59
7
votes
2 answers
Anaconda install package without administrator rights
I have a python installation in a directory where I don't have admin rights or write permission. I am using Python 3.6.5 and conda 4.5.4 on windows 7.
When run conda install -c conda-forge python-fmask I get the following error message:
Preparing…

yPennylane
- 760
- 1
- 9
- 27
7
votes
6 answers
keytool error: java.io.FileNotFoundException: C:\cacerts (Access is denied)
I am on Windows 10 with JRE8 and the command I'm using is:
C:\Program Files\Java\jre1.8.0_60\bin>keytool -keystore "C:\cacerts" -storepass changeit -importcert -file "C:\Users\MyUser\Desktop\sf.cer" -alias Symantec_Secure_Server_Class_3
Here's what…

Mossi
- 997
- 5
- 15
- 28
7
votes
2 answers
Spring Cloud AWS SQS AccessDenied
I am currently having a connection issue trying to connect to an AWS SQS Queue using Spring Cloud and Spring Boot. I believe I have everything configured fine but am getting:
2015-07-01 18:12:11,926 [WARN][-]
…

Steve Karlovitz
- 71
- 1
- 3
7
votes
2 answers
Apache mod evasive leads to permission denied of index.php
For security reasons I installed the apache modules security and evasive.
No I get sometimes the Error
Forbidden
You don't have permission to access /index.php on this server.
The logfile of apache shows me:
[Tue May 12 14:42:32.825039 2015]…

Perino
- 608
- 9
- 30
7
votes
1 answer
Can't access a network share when executing a package from the SSIS Catalog
I'm currently having an issue where I can execute a package perfectly fine from SQL Server Data Tools but get the following error when trying to execute from within the SSIS Catalog:
File System Task:Error: An error occurred with the following…

Mackie
- 71
- 1
- 2
7
votes
3 answers
How can I access the "Documents and Settings" folder?
I'm using C# .NET 4 with VS 2010.
When Iterating over some paths, I'm running this line:
files = Directory.GetFiles(path, searchPattern);
I get an exception when the path is the documents and settings folder. How can I access it? And no, I don't…

CodeMonkey
- 11,196
- 30
- 112
- 203