Server Error in '/' Application.

Format of the initialization string does not conform to specification starting at index 180.

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: Format of the initialization string does not conform to specification starting at index 180.

Source Error:


Line 14:         Dim strPageId As String = Server.HtmlDecode(Request.QueryString("id"))
Line 15:         Dim strConn As String = ConfigurationManager.ConnectionStrings("sacharliveConnectionString").ConnectionString
Line 16:         Dim oConn As New SqlConnection(strConn)
Line 17:         Dim strSQL As String = "sitesCopy"        'Stored Procedure Name 
Line 18:         Dim objCommand As New SqlCommand(strSQL, oConn)

Source File: G:\PleskVhosts\pigeonenglish.co.uk\httpdocs\wwwLouisSachar\Default.aspx.vb    Line: 16

Stack Trace:


[ArgumentException: Format of the initialization string does not conform to specification starting at index 180.]
   System.Data.Common.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue) +6056530
   System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey) +127
   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
   _Default.Page_Load(Object sender, EventArgs e) in G:\PleskVhosts\pigeonenglish.co.uk\httpdocs\wwwLouisSachar\Default.aspx.vb:16
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   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