access-denied

Reasons for MySQL authentication error: “Access denied for user 'xxx'@'yyy'”?

What possible reasons could exist for MySQL giving the error “Access denied for user 'xxx'@'yyy'” when trying to access a database using PHP-mysqli and working fine when using the command-line mysql tool with exactly the same username, password, socket, database and host? Update: There were indeed three users in the mysql.user table, eac...

Request admin privileges for Java app on Windows Vista

When I try to create a new task in the task scheduler via the Java ProcessBuilder class I get an access denied error an Windows Vista. On XP it works just fine. When I use the "Run as adminstrator" option it runs on Vista as well.. However this is a additional step requeried an the users might not know about this. When the user just do...

Lucene.NET --> access denied to segments

Hey all, I have a problem with Lucene.NET. During an index, I receive the error 'Access to the path segments is denied'. Or sometimes 'Access to the path deletable is denied'. I eventually gave 'Everyone' full security rights to the index directory, but the problem still existed. I then found out that during the index run, lucene renam...

Access Denied when Reading/Writing to Program FIles

I have a small program that is installed in a custom folder in the program files, but when I tried to read or write to files that are needed to operate, the program raises an Access Denied Exeption. How can I elevte the program, with the user's permission of course. ...

How to set current document.domain in WebBrowser Control to avoid "Access is denied"?

How can I set current document.domain in WebBrowser Control to avoid "Access is denied" in Cross-domain calls (XMLHTTP Requests or Iframe/frame access)? I've tried CurrentDocument = WebBrowserControl.Document CurrentDocument.domain = "example.com" Console.writeline("xx" & CurrentDocument.domain) This doesn't work, somehow it never r...

File access denied, c# console application error.

This is a really odd security issue with a C# (3.0) Console application. The application creates a folder and copies a bunch of files into that folder, it then also generates some files and saves them into the same folder. File streams are always closed. The copied files are done using File.Copy. Once the files are there, I don't seem t...

Sql Server: how to write trigger on a table with denied SELECT

Hello I have a table on which I have denied SELECT privs to a user. This table has a trigger which references the INSERTED table, basically doing an AFTER UPDATE SET <table>.[UPDATED] = getdate() WHERE ROWID IN SELECT ROWID FROM INSERTED It is giving me an error though, saying "SELECT PERMISSIONS DENIED", I am guessing because of ...

ASP.NET Web Site Administration Tool Security tab shows error 1802

I'm following this walkthrough: http://msdn.microsoft.com/en-us/library/879kf95c(VS.80).aspx In a machine running vista ultimate, I have installed: IIS SQL Server Express 2005 Visual Studio 2005 I created a new website and I can access it ok via http://127.0.0.1 but I want to learn to create a login and have user memberships. W...

Write to registry in Windows Vista...

Hello, I am trying to write to the registry from my application, but when I do I get access denied. Of course, it works if i run the app as Administrator. However, with my applcation, it is not initiated by the user. It start automatically. So, the question is, how do i read/write to my own registry key from the C++ app? Thanks for...

C# 2005 COM and .NET Access Denied 0x80070005 E_ACCESSDENIED

I am rewriting a C++ app in C# 2005. The App has 2 components: one out-of-process COM server which can be started by a C++ service. The COM server uses outgoing interface, meaning it invokes event handler method from the C++ service module upon certain event. I am rewriting the C++ service part. Right now I have jut developed an app t...

GetPrivateProfileString() Gives Access Denied Error on Vista

A GetPrivateProfileString() call works fine on Windows XP but fails with an Access Denied error when run on Vista. The call is being made inside a thread spawned by a Windows service which I wrote. The Windows service itself is run using the credentials of a user account on the local machine (thought to be needed because the code requi...

Access denied to resource file from java servlet

I am trying to access a resource file from a servlet but getting HTTP Error 500 - access denied: File file = new File("//warChildFolder//myFile.txt"); InputStream is = new FileInputStream(file); // <--error on this line I am on google-app-engine. Any help appreciated! ...

Automatic Request to a web Page

Hi, i m trying to implement this thing , that when ever a person opens up a page an automatic request goes to some server . i m doing this with ajax by calling a function on onload event of body .. but it is giving me Access Restricted to URI 1012 error .. then i used jquery .. and used its post() method .. now it is giving me 403 Forbid...

Access To Restricted URI Denied (Trying to Call a WCF Method from XMLHTTP)

Hi. I have a web solution that looks something like the below - a web project, a web service, and a service library. Web Solution1 - Web Project -- test.aspx - WebAPILibrary -- trade.cs -- TradeService.cs -- ITradeService.cs - WebAPIService -- trade.svc Now, I am trying to retreive a JSON string produced by a trade.svc method using...

Infopath XmlFormView permission issue over sharepoint

I have this complicated problem with infopath XmlFormView control : I have a web form hosting a XmlFormView to show infopath forms from a sharepoint server.Whenever I open a new form everything is working fine and I can work with the form then I don't submit the form , instead I get the form xml data and I save it to a database to open t...

SharePoint import error - 'Access Denied'

I am trying to import a site collection and I get the following error: [9/22/2009 4:59:43 PM]: Start Time: 9/22/2009 4:59:43 PM. [9/22/2009 4:59:43 PM]: Progress: Initializing Import. [9/22/2009 5:00:11 PM]: Progress: Starting content import. [9/22/2009 5:00:11 PM]: Progress: De-Serializing Objects to Database. [9/22/2009 5:00:11 PM]: ...

VB.Net IEquatable, Access Denied

I just have a simple Interface definition in my project, which I haven't even used yet. But when I try to build the project I get this error: Access is denied: 'System.IEquatable`1[Reactor.IOptions]'. Below is the interface: Interface IOptions Inherits Xml.Serialization.IXmlSerializable ' Optoins Should...

An unhandled access exception has occurred, msmq, Sharepoint error

I have an issue that is occurring after my server reboots. I have some features in SharePoint, for doing various things. One thing they do is add items into a couple of different MSMQ queues. Immediately after a server reboot, if I try to log in to SharePoint and I go to a custom page of mine, and click on a button within that page (whic...

Site members/visitors get access denied error page because of webpart.

Hello. I`v developed custom webpart. I can add it to page and site owners can view page with no problems. However Site visitors/users get redirected to access denied error page. Sure, I must be doing some stuff normal users are not allowed to. But the thing that bugs me is that when I place breakpoint in webpart constructor or even va...

Delicious API replies with "access denied"

Hi all, I'm trying to access all posts from delicious, according to delicious API. In Ubuntu Linux i give the command: curl https://myusername:[email protected]/v1/posts/all where myusername and mypassword are registered with an yahoo mail account. I get the answer: <?xml version="1.0" standalone="yes"?> <result code="...