Search Results for

    Show / Hide Table of Contents

    Storage folder configuration

    By default ImageVault is storing small files in the database and large files on disk. There are also folders that are used to temporary store files that are uploaded or used to create zip archives for download. The information below is usefull if you want to change were the files are stored or want to backup the stored files.

    Default folder locations

    DiskStorage folder

    This folder is used by the DiskStorage plug-in to store files on disk. The service user must have privileges to modify the folder.

        [Instance Folder]\App_Data\DiskStorage
    

    Upload folder

    This folder is used to upload files to ImageVault. The Web application pool user must have privileges to modify the folder.

        [Instance Folder]\App_Data\Upload
    

    Download folder

    This folder is used to download files from ImageVault (mainly zip archives). The Web application pool user must have privileges to modify the folder.

        [Instance Folder]\App_Data\Download
    

    Changing folder locations

    Change configuration in Core Service configuration file

    In the web.config file, change the application setting values shown below to reflect the desired changes.

    <imagevault.core>
        <appSettings>
            ...
            <add key="DiskStorage_SavePath" value="c:\files\iv4\App_data\DiskStorage" />
            <add key="UploadFolder" value="C:\files\iv4\App_Data\Uploads" />
            <add key="ZipArchiveFolder" value="C:\files\iv4\App_Data\Downloads\" />
            ...
        </appSettings>
    </imagevault.core>
    

    Assign modify rights to folders

    It is important that the user, running the service, has privileges to modify the new chosen paths. Add modify-rights to the new folders and restart the service.

    Changing which files are stored on disk

    Change configuration in web.config file

    In the web.config file, change the application setting value shown below to reflect the desired changes.

    <imagevault.core>
        <appSettings>
            ...
            <add key="SmallMediaStorage_MaxStorageLength" value="1048576" />
            ...
        </appSettings>
    </imagevault.core>
    

    The value is the maximum file size in bytes that should be stored in the database. All files larger than this vaule is stored on disk at the location specified above.

    In This Article
    Back to top (c) Meriworks 2002-2022