Questions tagged [access-denied]

Error message/exception when access to a certain resource is denied due to insufficient privileges.

937 questions
469
votes
40 answers

MySQL ERROR 1045 (28000): Access denied for user 'bill'@'localhost' (using password: YES)

First let me mention that I've gone through many suggested questions and found no relevent answer. Here is what I'm doing. I'm connected to my Amazon EC2 instance. I can login with MySQL root with this command: mysql -u root -p Then I created a new…
Ali
  • 6,852
  • 9
  • 35
  • 59
255
votes
43 answers

Unable to copy file - access to the path is denied

I am using Visual Studio 2005. After taking code from version control first, the c#.net application runs correctly. But, after doing some modifications, when I build I am getting the following error: Error 383 Unable to copy file…
ricky
  • 2,651
  • 2
  • 13
  • 15
153
votes
22 answers

Cannot open backup device. Operating System error 5

Below is the query that I am using to backup (create a .bak) my database. However, whenever I run it, I always get this error message: Msg 3201, Level 16, State 1, Line 1 Cannot open backup device 'C:\Users\Me\Desktop\Backup\MyDB.Bak'. Operating…
Smiley
  • 2,777
  • 12
  • 44
  • 64
130
votes
18 answers

Hosting ASP.NET in IIS7 gives Access is denied?

I have setup a application in my IIS7 that uses .NET Framework 4.0 (runned by NetworkService) but when browsing the site I get this: Access is denied. Description: An error occurred while accessing the resources required to serve this request.…
Banshee
  • 15,434
  • 36
  • 111
  • 198
121
votes
17 answers

pip install access denied on Windows

I am trying to run pip install mitmproxy on Windows, but I keep getting access denied, even with cmd and PowerShell using the Run as Administrator option. WindowsError: [Error 5] Access is denied:…
Bruno Klein
  • 2,641
  • 5
  • 25
  • 38
107
votes
15 answers

IIS Express gives Access Denied error when debugging ASP.NET MVC

I have created an ASP.NET MVC 3 project, and am using IIS Express as the web server when developing. When I try to debug, I get the error message below. How can this be solved? Server Error in '/' Application. Access is denied. Description: An…
Kris-I
  • 17,560
  • 49
  • 138
  • 221
76
votes
10 answers

Access restriction: Is not accessible due to restriction on required library ..\jre\lib\rt.jar

I am trying to modify some legacy code from while back and getting the following kind of errors: Access restriction: The method create(JAXBRIContext, Object) from the type Headers is not accessible due to restriction on required library…
user567602
  • 867
  • 1
  • 8
  • 11
72
votes
18 answers

PSEXEC, access denied errors

While I'm using PSEXEC.exe getting 'Access denied' error for remote systems. Any idea about how to solve this?
Pax
66
votes
5 answers

Getting "java.nio.file.AccessDeniedException" when trying to write to a folder

For some reason I keep getting java.nio.file.AccessDeniedException every time I try to write to a folder on my computer using a java webapp on Tomcat. This folder has permissions set to full control for everyone on my computer (Windows). Does…
OneTwo
  • 1,445
  • 5
  • 22
  • 45
66
votes
16 answers

TFS 2012 Build "Access to Path Denied"

I’m using TFS 2012 Build and running into an error Access to the path is denied The solution being built contains about 15 projects of which a number are using the Castle.Components.Validator.2.5.0 assembly. I have seen other posts that talk…
Nimblejoe
  • 1,179
  • 2
  • 11
  • 15
64
votes
28 answers

mysqldump Error 1045 Access denied despite correct passwords etc

This is a tricky one, I have the following output: mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect When attempting to export my database with mysqldump on Windows XP. The username…
59
votes
11 answers

"Connect failed: Access denied for user 'root'@'localhost' (using password: YES)" from php function

I wrote some function used by a php webpage, in order to interact with a mysql database. When I test them on my server I get this error: "Connect failed: Access denied for user 'root'@'localhost' (using password: YES)" I am able to use them on my…
gc5
  • 8,206
  • 20
  • 76
  • 137
55
votes
7 answers

Access to the path denied error in C#

I have read a similar post, but i just cant figure out the problem. I have changed the windows permissions and changed routes. When i try to save a file it throws me the exception: Access to the path **** denied. string route="D:\\"; FileStream…
aerojun
  • 1,066
  • 2
  • 14
  • 27
53
votes
8 answers

Access Denied for localstorage in IE10

Yesterday I installed Windows 8 and am now trying to understand why I am getting an "Access Denied" message when accessing localstorage. The page is being served on the same PC with the browser (http://localhost). My feeling is that one of the…
52
votes
5 answers

java.io.FileNotFoundException: (Access is denied)

I am trying to read the files inside a folder, but when I run the program it throws this exception. I tried with some other folders also. It throws the same exception. Exception in thread "main" java.io.FileNotFoundException: C:\backup (Access is…
John
  • 2,392
  • 4
  • 21
  • 24
1
2 3
62 63