This needs to be done manually.
1. First, you need to create an empty database in SQL Server and then you need to create the schema of the database (tables vs.). For creating the schema, I recommend letting FileVista do this for you. I am not pasting the full sql script here as the script can change from version to version so it's better to let FileVista create it automatically. Open App_Data\FileVista.config file and empty the value of this setting:
<DbConnectionString>Data Source=|DataDirectory|FileVista.vdb5; Open Mode=NonExclusiveReadWrite</DbConnectionString>
like this:
<DbConnectionString></DbConnectionString>
For older versions:
<add key="ConnectionString" value="Data Source=|DataDirectory|Database/FileVista.vdb5; Open Mode=NonexclusiveReadWrite" />
like this:
<add key="ConnectionString" value="" />
and save the file. When this value is empty, it will force FileVista to run Configuration Wizard (configuration.aspx). You may also need to touch (open/save) Web.config file so the change is recognized. Now when the configuration wizard is opened, in step 2 choose your SQL Server database and enter correct connection details, then click Next. It will tell you if the connection is successful and create the database structure automatically behind the scenes. Now do not complete the last step where it asks for admin user name etc. We need the database to be empty so leave it as it is for now.
2. You will now need to import data from your existing VistaDB database (.vdb6, .vdb5 or .vdb4 file). You will use SQL Server Management Studio for this but first you need VistaDB provider installed on your machine. Download a trial version of VistaDB and then install it on the machine that you have the SQL Server Management Studio. This will install and register the necessary provider for you.
After you complete the import process below, you can uninstall VistaDB trial version from your machine.
3. In SQL Server Management Studio, you will need to repeat this step several times:
Article ID: 33, Created: 10/19/2024 at 9:22 PM, Modified: 2/6/2025 at 4:21 AM