Wrox Programmer Forums
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 October 6th, 2003, 09:26 AM
Registered User
Join Date: Oct 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kamarkh
Default Hey Wrox Service Team...Help and ?


Error loading default.aspx, I try to logon as admin etc. but get the error below.

I am thinkig log on string connection error in web.config:

            sqlConnectionString="data source=localhost;UID=sa;password="

Am I totally on the wrong track here ? Is my connection right?

If anyone can take their time to help. My life will go on......


An unexpected error has occurred on this page.The system administrators have been notified.

The error occurred in:

Error Message:

Keyword not supported: 'id'.

Error Stack:
System.ArgumentException: Keyword not supported: 'id'.
   at System.Data.Common.DBConnectionString.ParseInterna l(Char[] connectionString, UdlSupport checkForUdl, NameValuePair& keychain)
   at System.Data.Common.DBConnectionString..ctor(String connectionString, UdlSupport checkForUdl)
   at System.Data.SqlClient.SqlConnectionString..ctor(St ring connectionString)
   at System.Data.SqlClient.SqlConnectionString.ParseStr ing(String connectionString)
   at System.Data.SqlClient.SqlConnection.set_Connection String(String value)
   at System.Data.SqlClient.SqlConnection..ctor(String connectionString)
   at Wrox.WebModules.Data.DbObject..ctor(String newConnectionString) in C:\wrox\ThePhileVB\WebModules\Core\DBObject.vb:lin e 32
   at Wrox.WebModules.Accounts.Data.User..ctor(String newConnectionString) in C:\wrox\ThePhileVB\WebModules\Accounts\Accounts.Da ta\User.vb:line 17
   at Wrox.WebModules.Accounts.Business.SitePrincipal.Va lidateLogin(String emailAddress, String password) in C:\wrox\ThePhileVB\WebModules\Accounts\Accounts.Bu siness\SitePrincipal.vb:line 83
   at Wrox.WebModules.Accounts.Web.Login.Submit_Click(Ob ject sender, EventArgs e) in C:\wrox\ThePhileVB\WebModules\Accounts\Login.aspx. vb:line 83
   at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   at System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData)
   at System.Web.UI.Page.ProcessRequestMain()
Old October 20th, 2003, 10:00 PM
Registered User
Join Date: Oct 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

Actually your DB connection strings are in the Config directory off of the root. Each .config file in the Config folder contains a XML element with a connection string. Create your SQL connection string and then paste it in each .config document and you should be set to roll.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrox video: VS 2005 Team System Atlanta CodeCamp jminatel Forum and Wrox.com Feedback 1 October 6th, 2006 12:48 AM
Wrox video: VS 2005 Team System Atlanta CodeCamp jminatel Visual Studio 2005 0 June 9th, 2006 01:19 PM
Team Foundation Server / Team System aytacakin Visual Studio 2005 2 March 27th, 2006 01:36 AM
Hey Hal ! augustine SQL Server 2000 1 August 2nd, 2004 08:57 AM

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