Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Inactive Users mod - cint error line 62
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

withanhdammit
Junior Member

USA
236 Posts

Posted - 21 February 2005 :  09:42:41  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
Major rookie here, but I am a tiny bit familiar with coding. I installed the Inactive Users mod, and when I click on the link in my Admin Options, I get the following error:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'cint'

/admin_inactive_users.asp, line 62


I don't know enough about asp to be able to know what the problem is.

Any help is hugely appreciated!

h

I reject your reality and substitute my own.

withanhdammit
Junior Member

USA
236 Posts

Posted - 21 February 2005 :  09:44:29  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
Oops, forgot some extra info that may be important. This is using an Access db, it's running on Windows 2003 IIS6, I'm the ISP (hosting it via my DSL) so the server is local to me (at my home).

I have a test user account, but it doesn't have admin rights, which I would change if someone wanted to see the error themselves.

Thanks again!

h

Edited by - withanhdammit on 01 March 2005 13:56:53
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 21 February 2005 :  10:14:29  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
Saw another post that made me realize that you may not know what line 62 says ;-) so here it is:

intDaysOut = cint(trim(request.QueryString("intDaysOut")))

Edited by - withanhdammit on 01 March 2005 13:57:12
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 26 February 2005 :  13:31:28  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
Still having a problem with this MOD. Anyone have any ideas?
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 25 March 2005 :  06:51:24  Show Profile  Visit MarkJH's Homepage
Does replacing the 'cint' with 'clng' help?

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 25 March 2005 :  09:38:30  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
I uninstalled the Mod when I couldn't get it to work. I'll try to put it back in this weekend and see what happens.

Thanks for the idea!

h

I reject your reality and substitute my own.
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 25 March 2005 :  13:09:41  Show Profile  Visit MarkJH's Homepage
Though, I don't know why it wouldn't work anyway. I've had the MOD installed on my site for ages, with no problems.

If it was an overflow error, then replacing the cint with clng would certainly fix it. Seeing as it's a type mismatch, I don't know.

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

rodham
New Member

65 Posts

Posted - 25 March 2005 :  15:44:00  Show Profile  Visit rodham's Homepage
The problem is that Cint() doesn't like Nul and I believe that request.QueryString("intDaysOut") is returning "" so test before using


if request.QueryString("intDaysOut") <> "" then
    intDaysOut = cint(trim(request.QueryString("intDaysOut")))
else
    'Feed it a default value
    intDaysOut = 0
end if


And check to see why that parameter isn't in the URI - this may be where the problem is, and why others using the MOD don't have this problem.

Edited by - rodham on 25 March 2005 15:45:49
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 25 March 2005 :  16:35:02  Show Profile  Visit MarkJH's Homepage
quote:
Saw another post that made me realize that you may not know what line 62 says ;-) so here it is:

intDaysOut = cint(trim(request.QueryString("intDaysOut")))

These are my lines 62-63:

intDaysOut = request.QueryString("intDaysOut")
intDaysOut = cint(intDaysOut)

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07