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: General / Classic ASP versions(v3.4.XX)
 admin_reset.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

rkp
New Member

59 Posts

Posted - 10 July 2007 :  07:17:01  Show Profile
Running the admin reset password mod.

I made several changes recently, adding additional mods, and now I am trying to access the admin reset mod feature from the admin control panel and I am receiveing this error:

quote:
Microsoft VBScript compilation error '800a0411'

Name redefined

/boc/forum/admin_reset.asp, line 82

Dim strSql
----^



Any one know what strsql is? (everyone but me?)

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 10 July 2007 :  07:30:45  Show Profile  Visit HuwR's Homepage
it should be fairly safe just to delete that line (dim strSql)

the error just means that somewhere else in the code (could be an entirely different page) the variable strSQL has already been declared using dim.
Go to Top of Page

rkp
New Member

59 Posts

Posted - 12 July 2007 :  08:15:03  Show Profile
quote:
Originally posted by HuwR

it should be fairly safe just to delete that line (dim strSql)

the error just means that somewhere else in the code (could be an entirely different page) the variable strSQL has already been declared using dim.



Thank you for your response, HuwR... A question. Do I go to admin_reset.asp and just delete that line to solve the issue?
Go to Top of Page

rkp
New Member

59 Posts

Posted - 12 July 2007 :  08:17:03  Show Profile
I deleted...

Dim strSql

from line 82 and it seems the script is working. Will it have any affect anywhere else in the forums since I deleted it?
Go to Top of Page

rkp
New Member

59 Posts

Posted - 12 July 2007 :  09:27:22  Show Profile
Did this cause the error?

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=64066
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 12 July 2007 :  10:32:57  Show Profile  Visit HuwR's Homepage
no dimming or un dimming a variable should not cause any problems other tha getting a name redifined error if it is dimmed more than once.
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.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07