Loading...

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 9 (modified by mari@…, 4 years ago) (diff)

Fixing formatting issue

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.

Download

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 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

  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:

Before:

<add showInFileManager="true"
             virtualName="Global Files"
             virtualPath="~/Global/"
             bypassAccessCheck="false"
             indexingServiceCatalog="Web"
             physicalPath="C:\EPiServer\VPP\MyEPiserver\Global"
             name="SiteGlobalFiles"
             type="EPiServer.Web.Hosting.VirtualPathVersioningProvider,EPiServer" />

After:

<add showInFileManager="true"
             virtualName="Global Files"
             virtualPath="~/Global/"
             bypassAccessCheck="false"
             name="SiteGlobalFiles"
             connectionStringName="EPiServerDB"
             type="EPiCode.DatabaseVirtualPathProvider.VirtualPathDatabaseProvider, EPiCode.DatabaseVirtualPathProvider" />

Requirements

  • EPiServer CMS 5 R2
  • SQL Server 2005 or SQL Server 2008
  • Visual Studio .NET 2008 and UnleashIT if you want to compile the source

Support

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

Attachments