2 Answers, 1 is accepted
Hello Vivek,
The thrown error means that the application holding RadFileExplorer does not have enough permissions to access the path given to RadFileExplorer, hence the error is thrown. You can find detailed information on this matter here.
Regards,
Vessy
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hi Bill,
This is the link that has been removed for some reasons:

Hi Vessy,
We have same issues, keep on getting the message "You are trying to navigate to a non-existing folder or you do not have proper permissions to view this folder. Please, contact the administrator." We are 100% sure that app pool has proper right to the folder. As soon as we select folder programatically, always the message alert is popping up. After clicking away the message, the folders content is showing properly and I can upload to it.
Marc
Hi Marc,
I hope you are doing well!
The purpose of the "You are trying to navigate to a non-existing folder or you do not have proper permissions to view this folder. Please, contact the administrator." alert message is to inform the users that the file/images they are about to load/want to load/edit, actually does not exist on the server. As you have already noticed, it pops up because the location of the specified image is a web address but not a virtual path allowed to be listed in the image manager.
Option 1: Remove the pop-up
This will be a little bit tricky, as the alert() message is shown from a private method in RadFileExplorer.cs:
private void ExplorerAlert(string message)
{
//try to get localized error message
string localizedMessage = Localization.GetString(message);
if (localizedMessage.Length > 0) message = localizedMessage;
//escape backslash and double quote, keep escaped new lines
message = message.Replace("\\", "\\\\").Replace("\"", "\\\"").Replace("\\\\r", "\\r").Replace("\\\\n", "\\n");
if (ScriptManager != null)
ScriptManager.RegisterStartupScript(_updatePanel, _updatePanel.GetType(), "ExplorerAlert", string.Format("alert(\"{0}\");", message), true);
}
The ExplorerAlert("nonExistingFolder") message is shown if the ResolveDirectory() method of the FileBrowserContentProvider of RadEditor returns null after the uploading:
private void ProcessUploadedFiles()
{
...
if(ContentProvider.ResolveDirectory(currentDir) == null)
{
errorMessage += "NonExistingFolder";
continue;
}
...
}
So the only solution here would be to ensure that the ResolveDirectory() never returns null. Nevertheless, even if you handle this it is possible the control to throw the error again as the path to the uploaded path is set as InitialPath after the uploading (in the same ProcessUploadedFiles() method), which will bring the same NonExistingFolder error if the path to the uploaded path is changed.
Option 2: Change the pop-up error message
The easiest way to do this is to change directly the localization string, used for the error message. The content of the error message could be found inside "RadEditor.Dialogs.resx" under the name "NonExistingFolder". More information regarding the localization and how to modify it is available here: Using Global Resource Files.
Telerik.Web.UI\Resources\RadEditor.Dialogs.resx
<data name="Common_NonExistingFolder" xml:space="preserve">
<value>You are trying to navigate to a non-existing folder or you do not have proper permissions to view this folder. Please, contact the administrator.</value>
</data>
Thanks for your swift reaction.
It appears that this was thrown because of a faulty
StandAlone5.AdditionalQueryString = "&PreselectedItemUrl="
which tried to navigate to another folder.
Thanks a lot for your time.
Regards,
Marc