ASP.NET - Login failed for user 'DOMAIN\MACHINENAME$'
To avoid below error,
System.Data.SqlClient.SqlException: Login failed for user 'DOMAIN\MACHINENAME$'.
1. Try to prepare proper SQL connection string as
Initial Catalog=your_db_schema;
Integrated Security=False;
User ID=your_db_login; Password=??????"
providerName="System.Data.SqlClient"/>
System.Data.SqlClient.SqlException: Login failed for user 'DOMAIN\MACHINENAME$'.
1. Try to prepare proper SQL connection string as
Integrated Security=False;
User ID=your_db_login; Password=??????"
providerName="System.Data.SqlClient"/>
2. Remove Persist Security Info=True;
3. Other resolution:
In SQL Management Studio create an account for "DOMAIN\MACHINENAME" (do not browse for the account name, type it in manually) and then grant this account db_owner access to the SLAD database. After this, reinstall the product.
Comments