Summary
This article explains how to disable the AutoClose database property for SQL Server 2005 databases.
More Information
There is a feature in the database engine that SWCS uses, Microsoft SQL Server Express Edition, that
causes it to automatically close the connection to the database when it's no longer being used. This
has the effect of slowing down the software significantly as a new connection must be opened each
time the database is accessed.
Normally when a company is opened the software checks to see if this property is turned on. If it is
then it's automatically turned off. If you need to check this setting, or turn it on/off manually you
must use the Microsoft SQL Server Management Studio Express.
To see if you have the Management Studio Express software installed, click Start, All Programs,
Microsoft SQL Server 2005 and then look for a menu called "SQL Server Management Studio
Express". If you don't see this then you probably don't have the studio installed (it's not installed by
default).
To install Microsoft SQL Server Management Studio Express
- Download the setup program from http://www.solatechonline.com/software/SQLServer2005_SSMSEE.msi. When prompted to Run or Save, choose Save. Save the file to your Desktop.
- Once the download has finished, close all running applications.
- Locate the file SQLServer2005_SSMSEE on your desktop and double-click on it.
- Follow the instructions of the setup program. Use the default for all options. It should take just a few minutes to install.
- Once setup has finished you can delete the file SQLServer2005_SSMSEE from your desktop.
To disable AutoClose
- Click Start, All Programs, Microsoft SQL Server 2005, SQL Server Management Studio Express.
- When prompted to login you will need to select the SQL server that has the SWCS database. Expand the drop down for 'Server name' and select the one with "SOLATECHDB" at the end.
- Select "Windows Authentication".
- Click Connect.
- From the list of items in the Summary pane, double-click on Databases.
- Find the database for your company and right-click on it.
- From the menu select Properties.
- Select the Options page.
- From the list of properties on the right, look for one called Auto Close.
- Change it's value to False.
- Click OK.
- Close the Management Studio.
REFERENCES
For more information, refer to the following knowledge base articles:
- How to prevent the database AutoClose property from being reset
APPLIES TO
- Solatech Window Covering Software 4.2