access-denied

Rails - authenticate_or_request_with_http_basic custom "access denied" message

I'm struggling myself trying to change that default message once you insert invalid credentials as username:password on rails using authenticate_or_request_with_http_basic. For example if I make a curl request on a method that need this authentication, once I insert the wrong username and password it returns HTTP Basic: Access denied. ...

Web Service Access Denied

Dear all, I have a problem with web service against Internet Explorer 7 or 8 I have a web application (ASP.Net), contain a page with textbox extends an autocompleteextender which fire a web service to retrieve the category list from SQL DB. The problem come after upgrading my IE from version 6 to 7 it give me an "access denied" error. Be...

Signing Applet with Maven jar plug-in and Bouncy Castle

I have a problem with a signed Java applet - specifically, why it is not signed using my certificate. I'm using Maven in Eclipse. The applet (a) allows the user to choose a local file or directory, (b) encrypts the file(s), and (c) uploads the file(s) to the a PHP based web page. The applet is signed, presumably using my certificate - i...

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 i always get an "Access denied" error when trying to open the port (i adjusted the parame...

Sharepoint : Access denied when editing a page (because of page layout) or list item

I'm logged in as the System Account, so it's probably not a "real access denied"! What I've done : - A custom master page - A custom page layout from a custom content type (with custom fields) If I add a custom field (aka "content field" in the tools in SPD) in my page layout, I get an access denied when I try to edit a page that comes ...

Sharepoint : Access denied when trying to delete a page layout or master page

I'm getting a : "This item cannot be deleted because it is still referenced by other pages." When I try to delete a master page or a page layout. All the pages that were made with those are now gone. ...

"Access is denied" message while deploying spring app in tomcat 6

Hello all, While trying to deploy my spring app on tomcat 6 I get an error saying java.util.logging.errormanager:4 java.io.filenotfoundexception: c:\program files\apache software foundation\tomcat 6.0\logs\catalina.2010.02.16.log <Access is denied> at java.io.fileoutputstream.openappend <native method> at java.io.fileoutputstream....

Can't access web service when connected to the network :: HTTP 407

Hi All, I have a console application that communicates with a web service. Both of them are on the same machine. When I am accessing the web service with the LAN disabled, it connects without a problem. But if the LAN is enabled and connected to our office network, I receive this error: "HTTP 407 Proxy Authentication required - The IS...

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 against the process ID for explorer.exe, and holy carp, it worked! Started throwing other...

Access Denied For WMI Impersonated User

I'm trying to use WMI to pull some information (hard drive usage, etc) off our SQL server from a scheduled task on a different server. Both machines have the same user account with the same password. Unfortunately, whenever I try to run the below code, I get "Access denied". The below code works when I make the user on the remote box an...

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 problem is that IE throws up 'Access Denied' (other browsers are fine) at the following p...

#1130 - Host ‘localhost’ is not allowed to connect to this MySQL server

I accidentally changed the "host" value for the root user inside of the user table for mysql. I need to change it back to localhost because I changed it to arancillary2125 (my other machines DNS name) but I cannot access mysql (from PHPMYADMIN or command prompt) due to "localhost" not having permissions any more. I am running windows X...

Javascript Msxml2.XMLHTTP terminal server access denied

Hi, var xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP"); xmlHttpRequest.open("POST", "http://vat/_vti_bin/lists.asmx", false); How can I let this script work on a Terminal server? When I open it on my local pc, it works, but when I do the same thing in a browser on a Terminal server, I get Access Denied. I tried using ServerXMLH...

0x80070005 (E_ACCESSDENIED) In an ASP.NET application while trying to use Windows Task Scheduler

Hi All I am currently working on an ASP.NET application in VB.NET and one of its functions is to use the Windows Task Scheduler. The application will need pretty much full control over this as it needs to Create, Modify, Delete and Run tasks. I found this library to help with the whole thing and it works well but only locally on my Win...

Error: java.security.AccessControlException: Access denied

I have to connect to a https URL with username and password to read a file. I am not able to connect to the server (see the error log below). I do not have much Java experience, so I need help with this code. import lotus.domino.*; import java.net.*; import java.io.*; import javax.net.ssl.HttpsURLConnection; public class JavaAgent exte...

Error when uploading picture to site, why?

I am getting an Access to the path '[path]' is denied. This site is hosted by Godaddy. How can I open up the path "images/profiles" to allow the site to write to that path? thanks ...

.Net website create directory to remote server access denied

I have a web application that creates directories. The application works fine when creating a directory on the web server, however, it does not work when it tries to create a directory on our remote fileserver. The fileserver and the webserver are in the same domain. I have created a local user in our domain, "DOMAIN\aspnet". The loca...

Asp.net loading a file encounters "Access to the path … is denied" in development on Windows 7

Hi there, I have an Asp.net app that simply reads an xml file and this code used to work fine on Vista with VS2008, now I just moved to Windows 7 and I migrated the code to VS2010, I encoutered “Access to the path [path to my webapp folder] is denied". Nothing else is changed, I tried to change folder perms even though I didn't think ...

Access to path denied when saving an image with ASP.NET 4.0 project

I have an existing application that was written in .NET 3.5. The piece of code in question is using the FileUpload control and its SaveAs method. Its worked perfectly for the past six months, but I've recently upgraded the project to .NET 4.0 and I'm now receiving an "Access to path (...) is denied" every time the method is called. It...

How to query the columns of a table when INFORMATION_SCHEMA gives acces denied?

hi what i am trying to do is get all the collums of a table (the table can be empty) example of what i did before: SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name = 'aTable' AND table_schema = 'theDatabase' it works perfectly on localhost however on my provider it gives: #1142 - SELECT command denied to user ...