The Yearli database for the previous year is compressed, encrypted, corrupt, or not properly attached.
Corruption can occur if the database from the previous year was moved from one machine to another without stopping the SQL Server, or due to improper shutdown such as power failure.
Check Database for Compression
If using a network installation of the Yearli software these steps need to be done on the machine that has the Yearli server installed.
- Go to the location of the prior year database.
- The default file path is: C:\ProgramData\Yearli\20XX (where XX is the year).
- Open the Data folder.
- Right click on the file Yearli20XX_Primary.ldf and select Properties.
- Click on Advanced.
- Uncheck the "Compress contents to save disk space" and/or "Encrypt contents to secure data" checkboxes.
- Click OK to close the Advanced Attributes and Properties screen.
- Right click on the file Yearli20XX_Primary.mdf and select Properties.
- Click on Advanced.
- Uncheck the "Compress contents to save disk space" and/or "Encrypt contents to secure data" checkboxes.
- Click OK to close the Advanced Attributes and Properties screen.
- Open the Yearli software.
Attach Yearli Database
If using a network installation of the Yearli software these steps need to be done on the machine that has the Yearli server installed.
- Go to the location of the prior year installation.
- The default file path is: C:\Program Files or Program Files (x86)\Greatland Corporation\Yearli\20XX or Yearli Server\20XX (where XX is the year).
- Open the Utilities folder.
- The Utilities folder is normally located near the top.
- Right-click the SQL utility.
- Click "Run as Administrator".
- Click the "Attach Database" button.
- Let the process run.
- If the messages "Database successfully attached" AND "database owner successfully assigned", the database was fully attached.
- Open the Yearli software when complete.
Repair Installation
If using a network installation of the Yearli software these steps need to be done on the machine that has the Yearli server installed.
- Run the Yearli installation over the existing installation.
- Once complete open the software.