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

Problems with create folder

3 Answers 26 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Suzan
Top achievements
Rank 1
Suzan asked on 12 Jun 2018, 01:49 PM

When I create new folder I get an error

Error Message: Object reference not set to an instance of an object.
Stack Trace:
   at Telerik.Web.UI.RadFileExplorer.CreateFolder(String currNodeValue, String newDirName)

This suggests the folder is not created.

However when I got to the server the folder has been created.

It is also there when I log back in.

What can I do to prevent this?

 

 

3 Answers, 1 is accepted

Sort by
0
Brad
Top achievements
Rank 1
answered on 17 Oct 2018, 05:59 PM
I am also having this exact same problem. Here's hoping we get a reply! 
0
Vessy
Telerik team
answered on 18 Oct 2018, 08:13 AM
Hi Brad,

Can you share the exact configuration leading to the problem? Are you using the latest version of the controls or a previous one?

Can you perform the permission test given in the following article and see if the application has enough rights to create a new folder in the target location?
https://docs.telerik.com/devtools/aspnet-ajax/controls/fileexplorer/troubleshooting/common-issues#an-error-like--because-the-application-did-not-have-enough-permissions-occurs-only-in-a-production-environment-how-to-debug-the-issue

Regards,
Vessy
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Suzan
Top achievements
Rank 1
answered on 18 Oct 2018, 08:46 AM

Vessy's solution to this problem for me was to remove this line from my "Page load " code

   FileExplorer1.TreeView.Nodes.Clear()

Hope this helps

Tags
FileExplorer
Asked by
Suzan
Top achievements
Rank 1
Answers by
Brad
Top achievements
Rank 1
Vessy
Telerik team
Suzan
Top achievements
Rank 1
Share this question
or