CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Can't get login to work

Print topic Send  topic

Author Message
Durandal16

Posts: 4
Posted: 10/11/2010, 6:31 AM

I have a simple project with a couple of pages. The security settings are reasonably simple too, a user table with id, username, password and group id.

The problem is that the login page always displays the error message "Login or Password is incorrect." even though I'm making sure that I am typing the right user name and password.

Any suggestions on determining what's going on? I rebuilt the login page a couple of times etc. to no avail.

My environment is Win 7 64 bit, SQL Server 2008 Express 64 bit. The ASP worker thread is in 32 bit mode, and all of the other pages are working.
View profile  Send private message
Durandal16

Posts: 4
Posted: 10/11/2010, 7:42 AM

Ok, figured it out. The "security" tables consisted of 3 columns, userName, secPassword and group.

Since group is a reserved word, the query was crapping out.

It is unfortunate that the error was not more specific in the CCS framework which didn't seem to be able to distinguish between a query syntax error and the query not returning any rows.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.