Symptoms
- When launching a MobileAsset v7 PC client (from any PC, including the database PC/server), there is an error: Login failed for user 'AssetUser'.
Then the usual MobileAsset login prompt appears.
After attempting to log in with any MobileAsset credentials, a longer login error appears:
Login failed for user 'AssetUser'. This most possibly means that AssetUser account is not setup properly in the Wasp Configuration database. The account is either not there at all or it doesn't have access to the wasp configuration database. (error continues)
- On the PC client, the MobileAsset.log file includes the following errors (other verbiage appears between these lines):
2015-11-30 10:56:35.174 1 ERROR | Failed to copy the license key to the data store. Exception info: Login failed for user 'AssetUser'.
2015-11-30 10:56:35.846 1 ERROR | Login failed for user 'AssetUser'.
2015-11-30 10:56:37.681 1 ERROR | Error checking for sample company: Login failed for user 'AssetUser'.
2015-11-30 10:56:41.145 1 ERROR | Exception in ShowMultiCompayLogonDialog: System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'AssetUser'.
- On the Asset Service PC, the WaspMobileAssetServices.log file contains the following error:
2015-11-30 10:58:39.451 9 --------------- ERROR | GetMobileAssetDatabases() exception occur: Login failed for user 'AssetUser'.
-
SQL Server is installed and running.
-
The AssetUser account has proper access to the WaspConfig database.
- The account is not locked out.
- The account is set to the proper password.
Cause
The SQL instance is set to only allow Windows Authentication. MobileAsset uses the SQL account AssetUser to perform its transactions, but is unable to log in.

Resolution
In SQL Server Management Studio, set the Server Authentication to SQL Server and Windows Authentication mode:
- Start, All Programs, Microsoft SQL Server 2008 R2, SQL Server Management Studio.
- Make sure Authentication is set to Windows Authentication, then Connect.
- At the top of the list at the upper left, find the SERVER\INSTANCE name (or possibly just SERVER).
- Right-click it, Properties.
- In the upper left list, click Security.
- Click SQL Server and Windows Authentication mode (as in the screenshot above), then OK.
- Click OK on the notification about restarting the SQL Server.
- Start, type services.msc then launch it when found.
- In the list, find SQL Server (INSTANCE).
- Right-click it, Restart.
- Now when launched, MobileAsset should give the login prompt without error.