# SQL Server Login failed for user DOMAIN\COMPUTER$

## Environment

<table>
	<tr>
		<td>Product</td>
		<td>Progress® Telerik® Report Server</td>
	</tr>
</table>

## Description

Report Server or Standalone Report Designer cannot connect to Microsoft SQL Server storage when using integrated security.
The error message states *Login failed for user 'DOMAIN\COMPUTER$'* (Microsoft SQL Server, Error: 18456).

## Solution

The **DOMAIN\COMPUTER$** part of the error message is a tad misleading. Even if we assign the **sysadmin** role to the current domain user, the issue will not go away.

We need to find out which is the real user trying to access the database and is denied login. In the case of the default Report Server installation, this will be the **IIS APPPOOL\TelerikReportServer**.

When working with a development server (Visual Studio) this will be the **IIS APPPOOL\DefaultAppPool** user. Once we find which is the user, we can add it to the SQL Server logins:

1. Set the login name in the **General** page.

   ![logins](https://www.telerik.com/report-server/documentation/assets/c992a67374836f6076de8d4e81092e1d/logins.png)

2. In the **Server Roles** page assign the desired roles.

   ![roles](https://www.telerik.com/report-server/documentation/assets/950d706f216d2b5debbae42c15dc614e/roles.png)

3. Add **User Mappings** and database role membership.

   ![mappings](https://www.telerik.com/report-server/documentation/assets/354eb6535e73487b6a3e3792340f60c1/mappings.png)

4. In **Securables** add the SQL Server instance and grant it the *Connect SQL* permission.

   ![securables](https://www.telerik.com/report-server/documentation/assets/2499faaf43c3bff136f5969638a5eef8/securables.png)
