Wrox Programmer Forums
|
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 30th, 2011, 01:47 PM
Authorized User
 
Join Date: Feb 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web one Click Publish error

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.

Last edited by lsochia; November 30th, 2011 at 01:49 PM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
UNABLE TO PUBLISH WEB SITE JORGEMAL Visual Studio 2005 0 April 2nd, 2008 06:09 PM
Publish Windows App (Click Once) snufse General .NET 0 March 13th, 2008 09:17 AM
publish web site error mazhiguo_1219 ASP.NET 2.0 Professional 3 June 6th, 2007 10:05 AM
publish web application rocksbhavesh ASP.NET 1.0 and 1.1 Professional 3 May 3rd, 2007 09:27 AM
publish .NET 2.0 web site Error mazhiguo_1219 ASP.NET 1.0 and 1.1 Basics 0 March 6th, 2007 01:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.