1

Topic: HELP! You do not have access to perform this operation. Error

Hi there you brilliantly clever & amazingly helpful people (I've heard flattery gets you everywhere...),

I'm using the .NET version of the plugin for the first time, after years of using the PHP version and am having the following issue.

I'm receiving the error 'You do not have access to perform this operation.' when opening the file manager, and have tracked it down to the \language\fm\en.xml file (if I change the error message text then I see the changes live), but I'm having no joy when trying to find out exactly which call is failing.

I have changed every reference of {#error.no_access} (in ManagerEngine.cs, CorePlugin.cs & FileManagerPlugin.cs) to point to a different error message, and nothing changes...

I'm assuming there must be a different call to this message but I'm at a loss as to where it is as I've searched all files for 'no_access' and only find the xml and cs files that I've mentioned.

The server that the site is on is a managed server that although I have access to, I've got to be pretty delicate when making any changes, so I'm trying to work out precisely what the issue is so that I can contact the hosting company and ask them to make any changes necessary (assuming that it's a permissions issue, which I'm not 100% sure it is).

I know that the filesystem.path & filesystem.rootpath set in Web.Config are correct (../../../../../../uploads/), as if I remove the 'uploads/' off the end, it displays htdocs in the categories sidebar, and I've changed what I believe to be the default web user's permissions on the uploads folder, but no joy...

Any help on this would be massively appreciated as I've spent hours digging but have come up with nothing.

Yours hopefully,
Jamie

Last edited by jamiescott (2012-05-02 12:48:47)

2

Re: HELP! You do not have access to perform this operation. Error

Make sure that the NETWORK_SERVICE group has read/write access to that path. Also try using an absolute path like c:\inetpub\wwwroot or something to see if that helps.

Best regards,
Spocke - Main developer of TinyMCE

3

Re: HELP! You do not have access to perform this operation. Error

Problem solved...

I think it was a combination of NETWORK_SERVICE groups permissions, and the filemanager_rootpath & filemanager_path being set incorrectly in tinymce-init.js.

I think what confused me was that I was obviously setting the paths correctly in the filemanager config, so assumed it wasn't a path related issue (I guess that plugins can't have paths set outside of the main root?)

Thanks for your help!

4

Re: HELP! You do not have access to perform this operation. Error

Nice to hear that. smile

Best regards,
Spocke - Main developer of TinyMCE