SQL Server could not be installed

If you have just seen a Veterinary office setup error, the Microsoft SQL Server setup log is already open in Notepad: Summary.txt, a short report, or, if the SQL Server setup was interrupted, Detail.txt, the detailed log. Do not reinstall the program yet — look at this file first.

What to look for in Notepad

Scroll to the end of the file and find lines such as:

  • Final result / Exit code
  • Failed rules or Error description
  • the words reboot, restart, disk space, pending

You do not need to copy the whole technical text. These lines are enough.

What to do

  1. Restart the computer and run the Veterinary office setup again. Most often SQL Server is not installed because Windows is waiting for a restart after updates.
  2. Free up space on drive C: — several gigabytes of free space are needed.
  3. Run the setup as administrator (right-click → "Run as administrator").
  4. If SQL Server is already installed on this computer, answer "No" when asked "Install SQL Server?". After the program is installed, specify your server in the connection settings.
  5. Temporarily disable your antivirus during the setup.
  6. If SQL Server was installed before and the installation was interrupted, uninstall the incomplete Microsoft SQL Server in "Programs and Features" and run the Veterinary office setup again.

If this does not help

Write to support e-mail and attach this file (Summary.txt or Detail.txt). The file is already open in Notepad. To find it on disk, choose "File" → "Save As…" in Notepad: the folder with the file opens. Attach the file to your e-mail (or copy the last 30–40 lines into it).

You do not need to look for the log in Program Files yourself — the setup has already opened the right file. If Notepad did not appear, write your Windows version (32-bit or 64-bit) and the setup error text in the e-mail.

You can also contact us from the website.

Installing SQL Server Express manually

If the automatic installation failed, you can install SQL Server Express separately and then run the Veterinary office setup again. Download the version that the setup installs:

Run the downloaded file as administrator (right-click → "Run as administrator"). If it asks for a folder to extract the files to, accept the suggested one. In the setup window, choose "New SQL Server stand-alone installation…" and then:

  1. On the "Instance Configuration" step, select Default instance (MSSQLSERVER). This is important: the program does not connect by itself to an instance with another name (the wizard suggests SQLEXPRESS).
  2. On the "Database Engine Configuration" step, your Windows user must be in the list of SQL Server administrators. If it is not there, click "Add Current User".
  3. Leave the other steps as they are.

Then run the Veterinary office setup again: it finds SQL Server and skips it (if it asks whether to install SQL Server, answer "No"). The program will offer to create the database when it first starts.