CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Type Mismatch

Print topic Send  topic

Author Message
styrochem

Posts: 7
Posted: 04/04/2005, 8:18 AM

I keep receiving the following error when I attempt to log into my web application. Any idea's?

Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'CLng'
/Doc/Common.asp, line 1555


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Page:
GET /doc/ndocnonshared.asp

Here is the code at line 1555 of Common.asp

'CCUserInGroups @0-4332AEA7
Function CCUserInGroups(GroupID, GroupsAccess)
Dim Result
Dim GroupNumber
If NOT IsEmpty(GroupsAccess) Then
GroupNumber = CLng(GroupID)
While NOT Result AND GroupNumber > 0
Result = NOT (InStr(";" & GroupsAccess & ";", ";" & GroupNumber & ";") = 0)
GroupNumber = GroupNumber - 1
Wend
Else
Result = True
End If
CCUserInGroups = Result
End Function
'End CCUserInGroups
View profile  Send private message
peterr


Posts: 5971
Posted: 04/04/2005, 9:15 AM

The Group ID must be numeric in your database (although it can be stored in a text field).
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
styrochem

Posts: 7
Posted: 04/04/2005, 10:54 AM

Quote peterr:
The Group ID must be numeric in your database (although it can be stored in a text field).

That worked! Thanks...
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.