The Enterprise Tester Data folder does not need to remain with the ET installation files. Everything in the Data Folder can be moved.
If you are planning to move your data folder, there are a few configuration settings that you will need to update to ensure that ET can access the files in your data folder:
- Update the attachment storage path
- Update the search indexes path
- Update the project template path
- Update the database connection string.
All of these configuration changes need to be made to the web.config file. Before moving your data folder and making these configuration changes we strongly recommend that you back up your web.config file and your data folder.
To make these updates, open your web.config file which can typically be found here on your ET server ( this maybe different if you specified a different path during installation): C:\Program Files (x86)\Catch Limited\Enterprise Tester\Web\Web.config.
Find the section "<appSettings>" and add the following entries, substituting the value for the new location of the data folder ( see the appSettings topic for more information):
<add key="attachment.storage.path" value="E:\new\path\of\data\attachments\" />
<add key="search.indexes.path" value="E:\new\path\of\data\Indexes\" />
<add key="project.templates.path" value="E:\new\path\of\ProjectTemplates\" />
Next, update the connection string in the web.config file to specify the new location of the database. Find the <connectionStrings> section.
Your connection string may look something like this:
<connectionStrings> <add name="Default" connectionString="Data Source=.\SQLExpress;Initial Catalog=EnterpriseTester;MultipleActiveResultSets=true;Trusted_Connection=Yes" />
Note that user-attached instances of SQL Server Express are not supported for production environments.