You receive the following message when attempting to log into your application:
Unable to authenticate user. Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
Please grant SQL Server login privileges and add the System Administrators role to the user on the '<servername>' instance of SQL Server.
The problem is caused by the absence of configuration information that prevents your application from connecting to the Microsoft SQL Server database.
See Configuring Database Authentication for Microsoft SQL Server Applications for more details.
Part VII: Troubleshooting Applications
Application Runs But No Data is Displayed