Keyword not supported: 'initial catalogue'.
-
i have face an error in this connection string **"Keyword not supported: 'initial catalogue'."**Please help
<add name="conn" connectionString="Data Source=.\SQLEXPRESS;Persist Security Info=True;Integrated Security=SSPI;AttachDbFilename=|DataDirectory|\Coupon Management.mdf;Initial Catalogue=Coupon Management"
providerName="System.Data.SqlClient" /> -
i have face an error in this connection string **"Keyword not supported: 'initial catalogue'."**Please help
<add name="conn" connectionString="Data Source=.\SQLEXPRESS;Persist Security Info=True;Integrated Security=SSPI;AttachDbFilename=|DataDirectory|\Coupon Management.mdf;Initial Catalogue=Coupon Management"
providerName="System.Data.SqlClient" />Whenever I have problem with connection string I always use the following page: http://connectionstrings.com/[^]
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion
-
i have face an error in this connection string **"Keyword not supported: 'initial catalogue'."**Please help
<add name="conn" connectionString="Data Source=.\SQLEXPRESS;Persist Security Info=True;Integrated Security=SSPI;AttachDbFilename=|DataDirectory|\Coupon Management.mdf;Initial Catalogue=Coupon Management"
providerName="System.Data.SqlClient" />use initial catalog instead. Hope this helps
-
i have face an error in this connection string **"Keyword not supported: 'initial catalogue'."**Please help
<add name="conn" connectionString="Data Source=.\SQLEXPRESS;Persist Security Info=True;Integrated Security=SSPI;AttachDbFilename=|DataDirectory|\Coupon Management.mdf;Initial Catalogue=Coupon Management"
providerName="System.Data.SqlClient" />Try the following:
add name="NameOftheConnection" ConnectionString="Data Source=server name ;Initial Catalog= batabase neme;User ID= user id;Password= password" providerName="System.Data.SqlClient"
Thanks Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
-
i have face an error in this connection string **"Keyword not supported: 'initial catalogue'."**Please help
<add name="conn" connectionString="Data Source=.\SQLEXPRESS;Persist Security Info=True;Integrated Security=SSPI;AttachDbFilename=|DataDirectory|\Coupon Management.mdf;Initial Catalogue=Coupon Management"
providerName="System.Data.SqlClient" />hi, first initial catalog not initial catalogue :) second Initial Catalog and AttachDbFilename tags are ways to specify database place if use Initial Catalog mean that database is on server which Data Source tag says and connection must be opened toward database which it's name is in Initial Catalog and if use AttachDbFilename we specified physical place of database file if database file is on local machine and is not attached to local SQL server use AttachDbFilename else use Initial Catalog :thumbsup: