I'm using VWD 2010 Express SP1
Whenever I use the Web One Click Publish with "Web Deploy" I this error gets thrown when the site is browsed:
---------------start error representation-----------
Server Error in '/' Application.
Format of the initialization string does not conform to specification starting at index 0.
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 0.
Source Error:
Line 1682: Private Sub InitConnection()
Line 1683: Me._connection = New Global.System.Data.SqlClient.SqlConnection()
Line 1684: Me._connection.ConnectionString = System.Configuration.ConfigurationManager.Connecti onStrings("DACSQLConnectionString1").ConnectionStr ing
Line 1685: End Sub
Line 1686:
Source File: E:\Testing\Procedures\LibrarySQL.Designer.
vb Line: 1684
Stack Trace:
[ArgumentException: Format of the initialization string does not conform to specification starting at index 0.]
System.Data.Common.DbConnectionOptions.GetKeyValue Pair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue) +6374538
System.Data.Common.DbConnectionOptions.ParseIntern al(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey) +253
System.Data.Common.DbConnectionOptions..ctor(Strin g connectionString, Hashtable synonyms, Boolean useOdbcRules) +134
System.Data.SqlClient.SqlConnectionString..ctor(St ring connectionString) +103
System.Data.SqlClient.SqlConnectionFactory.CreateC onnectionOptions(String connectionString, DbConnectionOptions previous) +35
System.Data.ProviderBase.DbConnectionFactory.GetCo nnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) +260
System.Data.SqlClient.SqlConnection.ConnectionStri ng_Set(String value) +60
Procedures.LibrarySQLTableAdapters.LibraryTableAda pter.InitConnection() in E:\Testing\Procedures\LibrarySQL.Designer.
vb:1684
Procedures.LibrarySQLTableAdapters.LibraryTableAda pter.get_Connection() in E:\Testing\Procedures\LibrarySQL.Designer.
vb:1536
Procedures.LibrarySQLTableAdapters.LibraryTableAda pter.InitCommandCollection() in E:\Testing\Procedures\LibrarySQL.Designer.
vb:1692
Procedures.LibrarySQLTableAdapters.LibraryTableAda pter.get_CommandCollection() in E:\Testing\Procedures\LibrarySQL.Designer.
vb:1594
Procedures.LibrarySQLTableAdapters.LibraryTableAda pter.countDocuments() in E:\Testing\Procedures\LibrarySQL.Designer.
vb:2018
Procedures._Default.Page_Load(Object sender, EventArgs e) in E:\Testing\Procedures\Default.aspx.
vb:20
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.237
---------------end error representation-----------
Right now the only way I can publish the site is by hand, I copy the changed site to the server and it works fine.
This has happened once before but it magically fixed itself... I'm clueless.