SaaS CMS has officially launched! Learn more now.

Unified file System



I had gone through the document in

My question is the virtual name they are referring to is the folders created in the IIS for the site ? Also will this work for Episerver CMS 5

Aug 03, 2009 13:46

No, UFS virtualName is not the same thing as IIS virtual folders. Also the UFS system is partially replaced in CMS 5 and is now based on Virtual Path Providers.

Aug 03, 2009 16:17

I have a image folder in a server (image server)and I want the episerver in another machine to monitor the folder. Both the machines are in the same network. Webdav in episerver will not solve this problem as you need the episerver installed in the image server.

I thought UFS may solve the problem but I was not able to access/monitor the images in the image server.

Can you please help me out? 

Aug 04, 2009 6:44
By monitoring I suppose you mean monitor for changes and take some action if something outside of EPiServer does changes to the folder? I think you need direct file access for that (using FileSystemWatcher etc.). You should be able to do this on a UNC however. If you don't want to give the webserver account access to the other machine you might also need to use impersonation.
Aug 04, 2009 6:52

By Monitoring I meant is through file manager in Episerver, the editors should be able to see the images uploaded in the image server.

One of our task in the our project is that someone will upload the images in the server and the episerver file manager should be able to monitor those new images uploaded.Most probably, we will get the webserver account access


Aug 04, 2009 7:26
You should be able to do that by adding a virtual path provider in web.config (dont forget to add a location as well), use the VirtualPathNativeProvider, not the versioning provider.
Aug 04, 2009 7:51

I have tried this but i am getting an error saying "not able to find path"


Here is the config i have added:

         <add showInFileManager="true" virtualName="Upload" virtualPath="/UploadPath" bypassAccessCheck="false" name="SiteUpload" type="EPiServer.Web.Hosting.VirtualPathNativeProvider,EPiServer" indexingServiceCatalog="Web" physicalPath="\\flex-pc009\EPiServer"/>


Here I have given the physical path as another machine in my network.

What is the mistake I have done? 


Aug 04, 2009 11:02
It could be that the virtual path should be relative, "~/UploadPath". Also, did you add the location path="UploadPath" with at least the static file handler (actual syntax depends on the IIS version, compare to other locations)?
Aug 04, 2009 11:07

I have added the location path with the syntax based the IIS 7 version.

 <location path="UploadPath">



        <add name="webresources" path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader"/>

        <add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer"/>



    <staticFile expirationTime="-1.0:0:0"/>



It still gives me the same error.

Should the virtual path should be available in the IIS or in the root folder where I have installed  episerver? Maybe I am doing something wrong here?

Aug 04, 2009 11:16

The virtual path shouldn't be available neither in the local filesystem nor in IIS. It is invisible until requested from the web server (or displayed in the EPiServer filemanager).

I can't see anything wrong with the configuration. At what stage do you get the error? Can you access the network path in windows explorer from the machine running IIS? Also, check the access rights of the shared folder.

Aug 04, 2009 11:23

I am able to acces the shared folder from the windows explorer and the shared folder has access to everyone.

The following  error  "Could not able to find part of path: \\flex-pc009\EPiServer" I get when I open the episerver site.

Aug 04, 2009 11:39
Sorry, maybe then it doesn't work. I currently can't try with a share on a separate machine, it works fine with a share on my local machine, but maybe the framework resolves this to the local path.
Aug 04, 2009 11:54

Thanks for the help. 

Is there any other possible way you could think of? I have tried everthing. If not, its fine.

Aug 05, 2009 9:14
To access the files you can probably create a virtual directory in IIS. However, I don't know if you can then map this virtual directory to a virtual path provider to display it in the file manager and/or allow editors to upload files to it.
Aug 05, 2009 9:36

I have added a virtual directory to the site and I have added the following line in the web.config

 <add showInFileManager="true" virtualName="ImageServer" virtualPath="~/ImageServer/" bypassAccessCheck="false" name="SiteServer" type="EPiServer.Web.Hosting.VirtualPathNativeProvider,EPiServer" physicalPath="%EpiserverUploadPath%"/>

where  EpiserverUploadPath is an Environmental Variable. EpiserverUploadPath contains the virtual directory whose path is the other machine's image folder.

However wen i try to run the site,  it says  

Access to the path '%EpiserverUploadPath%' is denied.

I have given the credentials in  the virtual directory.

Aug 06, 2009 8:22

The way I interpret that is that the subsystem does not resolve the environment variable. But even if you give it an absolute path I'm not sure the VPP with accept a virual folder as physical path.

Aug 06, 2009 8:34

Did anyone find a fix for this in the end? 

I am coming across this problem now.  I have the same error when connecting to a physical path on a different web server.

Dec 17, 2009 17:15

Some more information:

I can access the network path in windows explorer from the machine running IIS?

I have set the access rights to everyone just for testing and I still get the access denied error

Edited, Dec 17, 2009 17:49
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.