Error: Keyword not supported: 'initial catalog'.

Programming, error messages and sample code > sample code
When you get error message like

Error: Keyword not supported: 'initial catalog'.

It means that you may miss the "providername" meta in your database connection string.  To fix this error, just add it to your connection string, please check the sample connection below:

<add name="connectionString" conectionString="Data Source=Database_Server_Url;Initial Catalog=DB_Name;User Id=DB_Username;Password=YOUR_DB_PASSWORD;"providerName="System.Data.SqlClient" />