This message will occur when Yearli is unable to find the database attached to the SQL Server. This usually results from an incomplete installation.
Check for anti-virus or anti-spam / Run database attach executables
- Determine if anti-virus or anti-spyware software was running during the installation. If they were running, go to the next section; otherwise proceed to the next step.
- Navigate to C:\ProgramData\Yearli\20XX* where XX is the year of the software, for the affected version of Yearli.
- Check to see if a folder called Data exists in this directory. If the folder does not exist, go to Procedure 2; otherwise proceed to the next step.
- Run the SQLUtility in the Utilities folder located at C:\Program Files or Program Files (x86)\Greatland Corporation\Yearli\20XX* where XX is the year of the software.
- Choose Create / Update database.
- Open Yearli to see if the error persists.
Verify SQL instance is installed and running
- Access the Microsoft SQL Server Configuration Manager. For steps to do this see the How do I access SQL Server Configuration Manager? article.
- Click on “SQL Server Services” to display a list of the currently running services.
- Verify that SQL Server (GREATLAND) is running.
- Right click and select Start if required.
- Proceed to Procedure 3 if the error persists.
Disable Anti-Virus, Anti-Spyware, and Reinstall Yearli
- Disable all anti-virus or anti-spyware programs.
- Access the Windows Run window by pressing the Windows key and R key on the keyboard.
- Type "appwiz.cpl" without the quotes in the Open field.
- Click OK.
- Uninstall Yearli for the specified tax year.
- Reinstall Yearli.
Check for Compressed Files/Folders
- Navigate to C:\ProgramData\Yearli\20XX\Data*, where XX is the year of the software.
- Right click the .mdf and .ldf files and, for each, select Properties.
- Click Advanced.
- Ensure "Compress contents to save to disk space" and "Encrypt contents to secure data" are not checked.
- Run the SQLUtility in the Utilities folder located at C:\Program Files or Program Files (x86)\Greatland Corporation\Yearli\20XX* where XX is the year of the software..
- Choose Create / Update database.
- Open Yearli to see if the error persists.
Install a new database
Note: Only take the following steps if there has not be any data entered for the year of Yearli that is receiving this error.
- Access the Windows Run window by pressing the Windows key and R key on the keyboard.
- Type "appwiz.cpl" without the quotes in the Open field.
- Click OK.
- Uninstall Yearli for the specified tax year.
- Navigate to C:\ProgramData\Yearli.
- Right click on the folder for the affected year of Yearli.
- Choose Rename.
- Rename the folder to "20XX.old" without the quotes, where XX is the year of the software.
- Reinstall Yearli.
Changing First and Second failure to Restart the Service
- Access the Windows Run window by pressing the Windows key and R key on the keyboard.
- Type "services.msc" without the quotes in the Open field.
- Click OK.
- Right click on SQL Server (GREATLANDYD) and choose Properties.
- Click on the Recovery tab.
- For First and Second failure choose Restart the Service.
- Click OK to save the changes.
*Note: The ProgramData folder is a hidden folder. You must show hidden folders in order to access it.