Hello,
I am working with a c#.Net application locally on my machine. The application resides in the directory C:\inetpub\wwwroot\appname.
I have set up a virtual directory in IIS 7 under the application folder with a physical path which is on the SAME machine (my local machine) as the application itself. The physical path is C:\Data\Test\scans, and the alias I gave the virtual dir is 'scans'.
I want the files in C:\Data\Test\scans to be shown in the RadFileExplorer I have set up on a page in my application. This is how I have the RadFileExplorer set up in the codebehind:
string[] paths = new string[] { "~/scans" };
FileExplorer1.Configuration.ViewPaths = paths;
My issue is that no files show up in the RadFileExplorer! If I change the above code to this:
string[] paths = new string[] { "~/" };
FileExplorer1.Configuration.ViewPaths = paths;
Then all of the folders and files in my root (application) directory are shown in the RadFileExplorer, however, the virtual directory is not being shown!
The RadFileExplorer seems to not be recognizing my virtual directory. I am using a pass-through authentication in IIS for the virtual directory.
Any ideas or thoughts are greatly appreciated!
I am working with a c#.Net application locally on my machine. The application resides in the directory C:\inetpub\wwwroot\appname.
I have set up a virtual directory in IIS 7 under the application folder with a physical path which is on the SAME machine (my local machine) as the application itself. The physical path is C:\Data\Test\scans, and the alias I gave the virtual dir is 'scans'.
I want the files in C:\Data\Test\scans to be shown in the RadFileExplorer I have set up on a page in my application. This is how I have the RadFileExplorer set up in the codebehind:
string[] paths = new string[] { "~/scans" };
FileExplorer1.Configuration.ViewPaths = paths;
My issue is that no files show up in the RadFileExplorer! If I change the above code to this:
string[] paths = new string[] { "~/" };
FileExplorer1.Configuration.ViewPaths = paths;
Then all of the folders and files in my root (application) directory are shown in the RadFileExplorer, however, the virtual directory is not being shown!
The RadFileExplorer seems to not be recognizing my virtual directory. I am using a pass-through authentication in IIS for the virtual directory.
Any ideas or thoughts are greatly appreciated!