Server Error in '/' Application.

Keyword not supported: 'server connection;              database'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Keyword not supported: 'server connection;              database'.

Source Error:


Line 240:      public override ArticleDetails GetArticleByID(int articleID)
Line 241:      {
Line 242:         using (SqlConnection cn = new SqlConnection(this.ConnectionString))
Line 243:         {
Line 244:            SqlCommand cmd = new SqlCommand("wb_Articles_GetArticleByID", cn);

Source File: g:\pleskvhosts\webbodhi.com\httpdocs\App_Code\DLL\SqlClient\SqlArticlesProvider.cs    Line: 242

Stack Trace:


[ArgumentException: Keyword not supported: 'server connection;              database'.]
   System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey) +6073334
   System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules) +100
   System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) +61
   System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) +29
   System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) +169
   System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) +63
   System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) +93
   System.Data.SqlClient.SqlConnection..ctor(String connectionString, SqlCredential credential) +44
   System.Data.SqlClient.SqlConnection..ctor(String connectionString) +37
   WB.WebBodhi.DAL.SqlClient.SqlArticlesProvider.GetArticleByID(Int32 articleID) in g:\pleskvhosts\webbodhi.com\httpdocs\App_Code\DLL\SqlClient\SqlArticlesProvider.cs:242
   WB.WebBodhi.BLL.Articles.Article.GetArticleByID(Int32 articleID) in g:\pleskvhosts\webbodhi.com\httpdocs\App_Code\BLL\Articles\Article.cs:510
   WB.WebBodhi.UI.ShowArticle.Page_Load(Object sender, EventArgs e) in g:\pleskvhosts\webbodhi.com\httpdocs\ShowArticle.aspx.cs:45
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   WB.WebBodhi.UI.BasePage.OnLoad(EventArgs e) in g:\pleskvhosts\webbodhi.com\httpdocs\App_Code\BasePage.cs:54
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0