This is a migrated thread and some comments may be shown as answers.

Using Database, appliciont did not have enough permissions.

1 Answer 56 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
WS
Top achievements
Rank 1
WS asked on 07 Jan 2010, 08:44 PM
I am trying to get the RADFileExplorer (2009.3.1208.20) to work with my customized FileBrowserContentProvider.

The FileBrowserContentProvider code is not the problem.  The problem comes in when I try to create a sub folder, it gives me the following error, even though I am NOT using the File Structure:

--------------------------
Message from webpage
---------------------------
The selected folder could not be created because the application did not have enough permissions. Please, contact the administrator.
---------------------------
OK  
---------------------------

If I am uploading to the database I see no reason why the file should touch the file system.  How do I stop it from trying to access the filesystem?

Thanks!

1 Answer, 1 is accepted

Sort by
0
WS
Top achievements
Rank 1
answered on 07 Jan 2010, 09:45 PM
Nevermind... I answered my own question...

Override this...
        public override bool CheckWritePermissions(string folderPath)  
        {  
            //return base.CheckWritePermissions(folderPath);  
            return true;  
         

BTW there is one in there for...

 

        public override bool CheckDeletePermissions(string folderPath)  
        {  
            //return base.CheckDeletePermissions(folderPath);  
            return true;  
        } 

Tags
FileExplorer
Asked by
WS
Top achievements
Rank 1
Answers by
WS
Top achievements
Rank 1
Share this question
or