Author |
Topic |
|
withanhdammit
Junior Member
USA
236 Posts |
Posted - 21 February 2005 : 09:42:41
|
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
|
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 |
|
|
withanhdammit
Junior Member
USA
236 Posts |
Posted - 21 February 2005 : 10:14:29
|
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 |
|
|
withanhdammit
Junior Member
USA
236 Posts |
Posted - 26 February 2005 : 13:31:28
|
Still having a problem with this MOD. Anyone have any ideas? |
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
|
withanhdammit
Junior Member
USA
236 Posts |
Posted - 25 March 2005 : 09:38:30
|
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. |
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 25 March 2005 : 13:09:41
|
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/ |
|
|
rodham
New Member
65 Posts |
Posted - 25 March 2005 : 15:44:00
|
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 |
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 25 March 2005 : 16:35:02
|
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/ |
|
|
|
Topic |
|