Questions tagged [access-denied]

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.

1031 questions
6
votes
4 answers

Access To The Path ... Is Denied

Alright, I've seen tons of questions about this thing, but still, no one answers my question. In fact, each one of the questions I saw differs from the other, this access thing really seems to be hassling programmers. Please check out the…
vexe
  • 5,433
  • 12
  • 52
  • 81
6
votes
3 answers

Problem in creating Timer Job

I have created a site collection inside a web application with user A as a site collection adminstrator. I have added a link in site feature page. On click of that link I am trying to create a timer job.Below is the code executed on click of the…
Anoop
  • 5,246
  • 6
  • 27
  • 29
5
votes
2 answers

serverless s3 upload access denied

I'm trying to upload images to an S3 bucket using the serverless framework. When I call the endpoint after deploy the code fails with an Access Denied error. What am I doing wrong? The error using 'serverless logs -f fileDownload': ERROR Unhandled…
5
votes
3 answers

mysql_secure_installation problem: access denied for user 'root'@'localhost'

I am using fresh installed Ubuntu 19.10 and trying to install LAMP, so I ran the following: sudo apt-get install lamp-server^ After that, I had to configure mysql by running the command: sudo mysql_secure_installation Only to get the following…
5
votes
2 answers

Access Denied error while opening file in JavaScript

When I try to open window.open('file///C:\calendar.html') it throws Access Denied error How do I fix this? Thanks
5
votes
1 answer

AWS S3 - Able to Upload File from Local but not from Deployed (Access Denied)

My problem is that I cannot upload a file from my deployed project to a S3 bucket, even though I am able to upload from local host. Expect the URL, everything remains the same (headers, body etc.) when I am calling the method. I am using boto3 to…
5
votes
3 answers

Access denied exception while trying to access the login page in spring security

I am using java based spring security. I have created the custom access decision voter impl. But when I run the application, I can not open the login page as it says, access is denied. This happened after I added the custom access decision voter…
ajm
  • 12,863
  • 58
  • 163
  • 234
5
votes
0 answers

Free up serial port after SerialException 'Access is Denied' to reconnect

I have a simple class Connect that creates a serial connection upon instantiation. import serial import serial.tools.list_ports_windows as list_ports class Connect: def __init__(self): connect(self) def connect(self): …
5
votes
1 answer

Access is denied - when trying to get the url (text) from address bar's handle

I'm trying to extract the URL from the address bar of IE. (IE 8 on Windows 7) using the following C# code. static string GetUrlFromIE() { IntPtr windowHandle = APIFuncs.getForegroundWindow(); IntPtr…
Sameet
  • 2,191
  • 7
  • 28
  • 55
5
votes
0 answers

"Csc.exe" could not be run. Access is denied (MSB6003)

I just downloaded and installed Xamarin and selected the ASP.NET MVC template. I haven't touched anything. When I build the solution I get the following error: Could not add packages. "The specified task executable "Csc.exe" could not be run.…
Louis
  • 51
  • 4
5
votes
4 answers

cross domain XMLHttprequest

Here is my situation: I have a Webserver machine, Client machine, and a third machine running some program that listens for XMLHttpRequests. Client accesses the Webserver from the Client machine, makes some changes, and then clicks on'Save'. At this…
screenshot345
  • 598
  • 3
  • 9
  • 18
5
votes
2 answers

Error saving system information. Access is denied. Android studio

I'm getting this painful error everytime I try to save my project for the last couple of days. I've tried running android studio as administrator but I still get the same error. I've tried to go to that path but the folder .AndroidStudio doesn't…
lucianthomaz
  • 195
  • 3
  • 13
5
votes
1 answer

Access Denied While Deleting .exe File

Summary Of Problem: I have a console app that, after copying many folders and files over to a new location, a local drive, it then deletes certain files/folders. One of these filetypes it deletes is .exe files. When trying to delete said files it…
CalebB
  • 597
  • 3
  • 17
5
votes
1 answer

OpenProcess on x64 images from Win32 app

This is weird. Earlier, running Windows 7 x64, I had trouble calling the Win32 OpenProcess against 64-bit processes. Googled around a bit, and came to the sinking conclusion this just wasn't gonna happen. Then a funny thing happened. I tried it…
Karl E. Peterson
  • 751
  • 5
  • 10
5
votes
3 answers

Access Denied errors accessing IIS WMI provider from ASP

I have a Windows 2003 server running IIS 6 and have some scripts that do automated setup and creation of websites. They are not working on a new server I cam commissioning (they already work happily on 3 other W2K3 servers). The problem appear to…
Al Henderson
  • 51
  • 1
  • 3