-- Kill any existing connections to the database so that we can drop it
IF EXISTS (SELECT name FROM sys.databases WHERE name = N'TeamPulse')
BEGIN
ALTER DATABASE SET single_user WITH ROLLBACK IMMEDIATE
END

IF EXISTS (SELECT name FROM sys.databases WHERE name = N'TeamPulse')
DROP DATABASE
GO

USE
GO

IF NOT EXISTS (SELECT name FROM sys.databases WHERE name = N'TeamPulse')
BEGIN
CREATE DATABASE COLLATE SQL_Latin1_General_CP1_CI_AS
END
GO

Lora Borisova

From what I see in the logs it seems that you already have TeamPulse installed or if you uninstalled it there is still kept the TeamPulse database.

Please answer few questions in order to decide what is the best approach in your case:
1. What version of TeamPulse have you had installed previously?
2. Do you want to keep the previous TeamPulse database?

The actual reason for your installation failure is that you already have TeamPulse.mdf file at location: C:\Program Files (x86)\Microsoft SQL Server\MSSQL10.TEAMPULSE\MSSQL\DATA.
The installation tries to create it, but finds it already existing and fails for that reason.

Please provide answers to the above questions and we'll provide you with further steps in order to succeed with installation.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.