All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Version 10 (modified by steve@…, 6 years ago) (diff)

More DB VPP documentation

Database File System

This library contains a custom file system for EPiServer where files and directories are stored in a Microsoft SQL Server 2005 or 2008 database. For enterprise solutions, this means that you do not have to syncronize files between servers in a web farm.


Install the DataBaseFileSystem using module installation inside EPiServer Deployment Center or by downloading the source projects. You can down.gif download the module installer here.

If you want to work with the source code, check out the source with TortoiseSVN EPiCode.DataBaseFileSystem/5.x. You need to add the following projects to your solution: EPiCode.DatabaseVirtualPathProvider and EPiCode.DatabaseVirtualPathProvider.FileSystemTools.

You can also:

Installation and Configuration

If you want to convert an existing file system, follow the steps below. If you only want to add a new database VPP, skip step 2 (do remember to add a <location name="..." > in your web.config file too).

  1. Run the SqlScripts.sql (located in /EPiCode/DatabaseFileSystem folder) on your EPiServer database
  2. Under Tools menu in admin mode, select "Virtual Filesystem Tools". Under "Convert File System" select file system to convert (source) and database connectionstring name, before hitting the 'Convert' button.
    Adding screenshot of convert pages
  3. Do necessary configuration changes in your web.config:


<add showInFileManager="true"
             virtualName="Global Files"
             type="EPiServer.Web.Hosting.VirtualPathVersioningProvider,EPiServer" />


<add showInFileManager="true"
             virtualName="Global Files"
             type="EPiCode.DatabaseVirtualPathProvider.VirtualPathDatabaseProvider, EPiCode.DatabaseVirtualPathProvider" />


  • EPiServer CMS 5 R2 SP2 (not tested against earlier CMS 5 versions, but feel free to try it. Recompilation is necessary.)
  • SQL Server 2005 or SQL Server 2008
  • Visual Studio .NET 2008 if you want to compile the source


This code is unsupported, use at your own risk. Use the ticket system if you have questions.