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
 Microsoft VBScript runtime error '800a0411'
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Riccardo
New Member

86 Posts

Posted - 20 October 2005 :  10:09:48  Show Profile
Hi all,
sometimes my users receive this error when they try to reply to a discussion. The error occur when they click on "post new topic", they see that error but the message is posted in any case.
I got this error also some time ago. I was writing from the office of my friend. I logged out his nick and than i logged in mine. As result i got the error. So i closed the browser, opened another time and i didn't get the error..
anyone?
p.s. there's the address for inc_mail.txt file

Microsoft VBScript runtime error '800a0411'

Name redefined: 'NAMESPACE'

/forum/inc_mail.asp, line 126

http://www.peperonciniamoci.it/inc_mail.txt

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)


Edited by - Riccardo on 20 October 2005 10:10:36

laser
Advanced Member

Australia
3859 Posts

Posted - 20 October 2005 :  18:08:17  Show Profile
quote:
Name redefined: 'NAMESPACE'
Some where (maybe in your include files) this object is defined more than once.
Go to Top of Page

Riccardo
New Member

86 Posts

Posted - 21 October 2005 :  03:55:50  Show Profile
What i have to do now?
The "inc_mail" file doesn't have include files..
the part of inc_mail were appears "NAMESPACE" is that:

Const NAMESPACE = "http://schemas.microsoft.com/cdo/configuration/"
Const cdoSendUsingPort = 2
Set mail = CreateObject("CDO.Message")
Set conf = CreateObject("CDO.Configuration")
conf.Fields(NAMESPACE & "sendusing") = cdoSendUsingPort
conf.Fields(NAMESPACE & "smtpserver") = "localhost"
conf.Fields(NAMESPACE & "smtpserverport") = 25

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)


Edited by - Riccardo on 21 October 2005 04:01:35
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 21 October 2005 :  07:17:30  Show Profile
Quick & dirty solution: Just knock Const off that line to make it a variable.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Riccardo
New Member

86 Posts

Posted - 21 October 2005 :  07:40:22  Show Profile
ok i'll test it.
Can i know why of that modify?

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)


Edited by - Riccardo on 21 October 2005 07:51:09
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 21 October 2005 :  08:53:19  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
quote:
Originally posted by Riccardo

What i have to do now?
The "inc_mail" file doesn't have include files..
the part of inc_mail were appears "NAMESPACE" is that:



It could be either in:
a) the file that is including inc_mail.asp
- OR -
b) one of the other files being included in that calling page.

inc_mail is not a stand alone page. You need to look at more than just that page. There's a dim or Const named NAMESPACE in one of the other files.

Dave Maxwell
Barbershop Harmony Freak
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 21 October 2005 :  09:04:32  Show Profile
To narrow it down, it's either post_info.asp or one of the files included in post_info.asp.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Riccardo
New Member

86 Posts

Posted - 21 October 2005 :  09:19:19  Show Profile
I've checked all file with inc_ etc.. no "NAMESPACE" found.
i've checked also those files:

<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#INCLUDE FILE="inc_header.asp" -->
<!--#INCLUDE FILE="inc_func_secure.asp" -->
<!--#INCLUDE FILE="inc_func_member.asp" -->
<!--#INCLUDE FILE="inc_moderation.asp" -->
<!--#INCLUDE FILE="inc_subscription.asp" -->
<!--#INCLUDE FILE="inc_func_count.asp" -->

that are included in Post_info.asp

I've just deleted what Shaggy has told me to do (Const at line 126 of inc_mail.asp).
I'm waiting that some user tell me if they have still that problem.
but i haven't found any other "NAMESPACE"..

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)


Edited by - Riccardo on 21 October 2005 09:19:50
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 21 October 2005 :  09:23:22  Show Profile
You can check it yourself by subscribing to a topic and posting to it with a different account. If the name is defined elsewhere, though, my solution won't work.

<edit> Hang on, think I have it, post_info.asp will loop through every member that is subscribed to a topic, including inc_mail.asp each time which is what is causing the error. Therefore you'll also have to remove the Const from the line below. </edit>


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”

Edited by - Shaggy on 21 October 2005 09:25:29
Go to Top of Page

Riccardo
New Member

86 Posts

Posted - 21 October 2005 :  09:28:16  Show Profile
So i have to delete ALL Const from these lines? (sorry i'm not keen on english)

Const NAMESPACE = "http://schemas.microsoft.com/cdo/configuration/"
Const cdoSendUsingPort = 2
Set mail = CreateObject("CDO.Message")
Set conf = CreateObject("CDO.Configuration")
conf.Fields(NAMESPACE & "sendusing") = cdoSendUsingPort
conf.Fields(NAMESPACE & "smtpserver") = "localhost"
conf.Fields(NAMESPACE & "smtpserverport") = 25

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)

Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 21 October 2005 :  09:35:17  Show Profile
Yes, you'll need to delete all the Consts in inc_mail.asp. Don't delete the entire line, now, just that word at the beginning of them.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Riccardo
New Member

86 Posts

Posted - 21 October 2005 :  09:36:23  Show Profile
Well i've deleted all "const" in that lines (2 Const). I've subscribed. Replied and no error for me. Notification mail works. I'm waiting users if they see something wrong.

CDOSYS object was modified by my Internet Service Provider to fit best on his Server.
So i think theres'nt any other NAMESPACE elsewhere..
So Shaggy, do you think it may works with those modifications?

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)


Edited by - Riccardo on 21 October 2005 09:37:26
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 21 October 2005 :  09:39:18  Show Profile
Well, you've already been through all the files included in post_info.asp and not found any other occurences of NAMESPACE so you should be OK - As I said, it was being caused by inc_mail.asp being included multiple times as post_info.asp looped through the subscriptions. Keep and eye on it, though, and in the unlikely event that it does start happening again, let us know.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Riccardo
New Member

86 Posts

Posted - 21 October 2005 :  09:57:34  Show Profile
It will be done. Thank you very much.

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)


Edited by - Riccardo on 21 October 2005 09:57:59
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 21 October 2005 :  10:15:03  Show Profile
You're welcome


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07