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

Document manager not working

2 Answers 40 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jp Maxwell
Top achievements
Rank 1
Jp Maxwell asked on 17 Aug 2010, 07:10 PM
Hi!
I've set the document manager to point to a virtual folder that is linked to a folder on a different site on the same server.

For some reason it's not working on the live server but the same schema does work on the test environment.

When I click on the document manager icon on the editor it opens a window where I see the manager with all controls disabled and the message "No records to display".

There is no visible error so I wonder how I can detect why it's not able to access the appropriate folder. I've played with permissions with no luck. If the folder it's a "normal" folder and not a virtual folder, works perfectly.

I just want to see a message telling me what's wrong, just that.  I'm totally blind on this.

Thanks in advance!

2 Answers, 1 is accepted

Sort by
0
Jp Maxwell
Top achievements
Rank 1
answered on 18 Aug 2010, 09:06 PM
Not even any member of the support team is able to answer this? :)
Not asking something very complicated I think
Thanks!
0
Fiko
Telerik team
answered on 20 Aug 2010, 02:04 PM
Hi,

This behavior is expected when the specified virtual directory does not contain files.

In addition, could you please make sure that the dirInfo.GetFiles returns the files in the passed directory. You can perform the following test in order to check this:
protected void Page_Load(object sender, EventArgs e)
{
    string path = "~/VirtualROOT";
    string physicalPathToDir = Server.MapPath(path);
    DirectoryInfo dirInfo = new DirectoryInfo(physicalPathToFile);
    FileInfo[] files = dirInfo.GetFiles("*.*");
}

If the GetFiles method does not return any files, then RadFileExplorer will not work as well. If this is the case, then I recommend you to ask the administrator of the server to make the necessary changes in order to correctly map the folder as a virtual folder and grant the required permissions in order to dirInfo.GetFiles  method to work.

I hope this helps.

Regards,
Fiko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
Jp Maxwell
Top achievements
Rank 1
Answers by
Jp Maxwell
Top achievements
Rank 1
Fiko
Telerik team
Share this question
or