CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 0x800A0E78 error when attempting logon

Print topic Send  topic

Author Message
Adam Boyce
Posted: 01/05/2006, 10:57 AM

hi,

accessing any page on my site that isnt secure is fine. i can access the table drill down into the record amend it ok. but when attempting to login to my site i am getting the following error:

Error Type:
ADODB.Recordset (0x800A0E78)
Operation is not allowed when the object is closed.
/urnwebsite/Common.asp, line 1805

line 1805 pertains:
Result = NOT RecordSet.EOF

the surrounding code is:

Set Connection = New clsDBARMS
Connection.Open
SQL = "SELECT record_id, Security_Group FROM sys_resources_tbl WHERE [User Name]='" & Replace(Login, "'", "''") & "' AND [Password]='" & Replace(Password, "'", "''") & "'"
Set RecordSet = Connection.Execute(SQL)
Result = NOT RecordSet.EOF
If Result Then
UserIDField = CStr(RecordSet("record_id").Value)
Session("UserID") = UserIDField
Session("UserLogin") = Login
Set GroupIDField = RecordSet("Security_Group")
Select Case GroupIDField.Type

peterr


Posts: 5971
Posted: 01/05/2006, 1:58 PM

This probably means that your "sys_resources_tbl " table doesn't contain a field named "record_id" or "Security_Groups" or "User Name" or "Login" or "Password". Actually it looks strange to use so many standards in one table (lower cases, upper cases, underscores, spaces). Are you sure that all such fields exist in your table?
I recommend that you review your security settings in CCS and select correct/existing fields.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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