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

 Help!! Object closed!

Print topic Send  topic

Author Message
David
Posted: 11/02/2004, 8:03 AM

This is something that has worked flawlessly until today.
When I log into the application using the login page created with ccs; I receive the following error.

ADODB.Recordset error '800a0e78'

Operation is not allowed when the object is closed.

/intranet/Common.asp, line 1745


The line in bold below is the line it is referring to:

Function CCLoginUser(Login, Password)
Dim Result
Dim SQL
Dim RecordSet
Dim Connection

Set Connection = New clsDBSVMS
Connection.Open
SQL = "SELECT [employeeautoID], [SecGroupID] FROM [ActiveUsers] WHERE userid='" & Replace(Login, "'", "''") & "' AND password='" & Replace(Password, "'", "''") & "'"
Set RecordSet = Connection.Execute(SQL)
Result = NOT RecordSet.EOF
If Result Then
Session("UserID") = RecordSet("employeeautoID")
Session("UserLogin") = Login
Session("GroupID") = RecordSet("SecGroupID")
End If
RecordSet.Close
Set RecordSet = Nothing
Connection.Close
Set Connection = Nothing
CCLoginUser = Result



Any ideas why I would get this error???
David
Posted: 11/02/2004, 8:52 AM

Never mind..... oops..... Would help if my sql view was created correclty.

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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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