Big B
Starting Member
USA
49 Posts |
Posted - 06 March 2001 : 00:01:52
|
When a new member is registering, the get the following error right after they click submit. The user account is created but they can not log in at all. [Access 2000]
Microsoft VBScript runtime error '800a01c9'
This key is already associated with an element of this collection
/forum/register.asp, line 311
## Here is lines 300 to 322 in register.asp
'########################### PM NEW MEMBER ##################### strSql = strSql & ")"
my_Conn.Execute (strSql) docount regHomepage = "" '########################### PM NEW MEMBER ##################### if intNewMemberPM = "1" then Dim objDict Set objDict = Server.CreateObject("Scripting.Dictionary") set objRec = my_Conn.execute("SELECT * FROM " & strTablePrefix & "MODS WHERE M_NAME = 'NewMemPM'")
while not objRec.EOF objDict.Add objRec.Fields.Item("m_code").Value, objRec.Fields.Item("m_value").Value objRec.moveNext wend
Admin = GetMemberID(objDict.Item("Admin")) Subject = chkString(objDict.Item("Subject"),"message") Message = chkString(objDict.Item("Message"),"message")
Any help appreciated
|
|