Print Page | Close Window

Database error (I think)

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=14722
Printed Date: 12 April 2026 at 8:41pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Database error (I think)
Posted By: nitrolx
Subject: Database error (I think)
Date Posted: 16 April 2005 at 7:32pm
Hi all,
I've just put together my first WWF forum, and all is going well except when I or any user tries to reply to some posts, I get the following error displayed:
 
error '8004020f'

/functions/functions_send_mail.asp, line 136

The post is still added to the forum, but the above error is displayed instead of going back to the forum. It seems to only happen in some user's posts.

Any help would be much appreciated,
Cheers,
Ryan Taylor
 
(forum can be found at http://forum.jcsmotorsport.homedns.org - http://forum.jcsmotorsport.homedns.org )
 



Replies:
Posted By: dj air
Date Posted: 16 April 2005 at 7:36pm
this is a error with the email part of the forum.

you can either turn off email functions and that will solve it

or

you can make sure that the email configuration within the admin area is correct and that you are using a email component supported by your host.


it may also be that there is a problem with your mail server at present, or as this happened all the time?

also do you have email address validation enabled so that they need to be checked to activate accounts?




Posted By: MadDog
Date Posted: 16 April 2005 at 7:38pm
most likely this error is caused because his email server requires authentication and the code needs to be edited.

-------------
http://www.iportalx.net" rel="nofollow">


Posted By: nitrolx
Date Posted: 16 April 2005 at 7:45pm
Thank you for the very prompt reply.
 
Email notification seems to work for myself and some other users, so I think the email sending part is working.
 
I've changed to a different SMPT server, just to be sure though. We'll see how that goes.
 
I host locally, on a windows server 2003 machine with iis. I use the CDOSYS component. Is there anything I need to do on the server to make this work properly?
 
Cheers,
Ryan Taylor


Posted By: dj air
Date Posted: 16 April 2005 at 7:52pm
if its installed it should be ok.

just make sure that the SMTP server is correct.

have you set up server authentication like MadDog said,.

if so you need to modify the code. i dont think you have.


its a little weird its now and then


Posted By: nitrolx
Date Posted: 16 April 2005 at 7:58pm
I haven't modified the code.Wacko
Which file and what modifications are required??
 
Cheers,
Ryan Taylor


Posted By: dj air
Date Posted: 17 April 2005 at 9:09am
right i have deleted your new topic and am posting here.


to add authentication


between lines 106 ad 116 of functions/function_send_mail.asp

add the fllowing after line 108


                        ' Specify the authentication mechanism to basic (clear-text) authentication cdoBasic = 1
                        .Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
                       
                        'SMTP Server username
                        .Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = "enter username"
                       
                        'SMTP Server password
                        .Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "enter Password"



Posted By: nitrolx
Date Posted: 17 April 2005 at 9:17am
Thank you very much for your help!!Clap
 
Cheers,
Ryan Taylor



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net