Discussion Locked

SMTP error when utilizing CDONTS

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

ASP content attempts to send mail on one of my sites hosted on IIS4 and NT Server 4 SP6a.
Resultant error message is :Microsoft VBScript runtime error '800a0046'

Permission denied

feedbackmail.asp line 21

Line 21 is objMail.Send. Microsoft's Q171140 article indicated the IUSR account needed Change permission over the Mailroot directory, and I made it so. However, the rerror condition is not resolved. Is there another fix?

6 replies

by wburrows

Although unrelated, this error will also crop up with some types of file access. The solution for this error is to manually set the IUSR account password and uncheck the "enable automatic password synchronization" checkbox in anonymous access and type in the password.

by argent

Unfortunately, that didn't do it, although I agree it is permissions- related. That same error code pops up any time it's permissions-related, according to TechNet. Tried the manual setup, no go.

by troberts

I'm assuming that you are running on a standalone server with a local IUSR account. Try creating a domain account for IUSR, with a password to match the local account. Then give that account permissions over the Mailroot directory.

by argent

These proposed solutions were in keeping with suggested fixes provided by Microsoft. However, I fixed it yesterday by taking the permissions concept a step further, after noting the following error in the server's Event Viewer "DCOM got error "Logon failure: unknown user name or bad password." Researching that error in the MS Knowledgebase yielded article Q255770. Although that article only provided resolution for Win2k, I reasoned the same effect could be achieved by deleting the site, restarting the server, and then recreating the site. This brought the site's security setting back in sync with the IIS metabase and resolved the issue.

This discussion is closed to new replies.