Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 6th, 2003, 09:26 AM
Registered User
 
Join Date: Oct 2003
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kamarkh
Default Hey Wrox Service Team...Help and ?

After


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:

 <sessionState
            mode="InProc"
            stateConnectionString="tcpip=127.0.0.1:42424"
            sqlConnectionString="data source=localhost;UID=sa;password="
            cookieless="false"
            timeout="20"
    />

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......

Thanks.

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

The error occurred in:
http://localhost/ThePhileVB/WebModul...nts/Login.aspx

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()
  #2 (permalink)  
Old October 20th, 2003, 10:00 PM
Registered User
 
Join Date: Oct 2003
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.



 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:04 AM.


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