Please do the following -
- Make sure your local database server has both Windows Authentication and SQL Server Authentication mode enabled. But
If you are using Windows Authentication then change the connection string to -
connectionString="Data Source=LENOVO;Initial Catalog=APP;Integrated Security=True;"
If you are using SQL Server authentication mode, which it seems since you are providing username yourself then
connectionString="Data Source=LENOVO;Initial Catalog=APP;Integrated Security=False;User ID=sa;Password=111"
Also, APP is usually a reserve keyword in some systems. Its better to avoid such name as the name of the DB.
If you are using default server instance you can use .
or (local)
instead of LENOVO