Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Permission Denied: CDONTS

Status
Not open for further replies.

CJAI

MIS
Oct 21, 2003
224
US
OK...

Some background info...
Last Friday we upgraded our Exchange Server to 2003. Since the upgrade I have not been able to send mail using CDONTS.

I get a permission denied error on the bolded line below:

Code:
Dim Mail
SET Mail = Server.CreateObject("CDONTS.NewMail") 
Mail.To = "somename@some.com"
Mail.From = "DRS@ess4apc.com"
Mail.Subject = "Drawing " & (drawNo) & " has been checked in."
Mail.Body = "Drawing number " & (drawNo) & " has been checked in by " & (uname) & "."
[b]Mail.Send [/b]
SET Mail = nothing

I have spent a fair amount of time trying to correct the problem and have made no headway :(

Any help is highly appreciated since an important company application relies on this mail being sent.

Thanks,

J
 
look for the C:\Program Files\Exchsrvr\Mailroot\vsi 1\PickUp directory. This directory will need to be given permissions so that it Inet user will be able to write to it. Also on your IIS server you will need to look at your C:\Inetpub\mailroot and make sure Drop has permissions as well. i am not sure which of the two will do it but by giving these two permission you should not have your permission denied error any more.
 
tried it and still didn't work?!

ANy other suggestions??

Thanks,

J
 
as a test give C:\Program Files\Exchsrvr\Mailroot\vsi 1\ and all of its child directorys a full rights, i had the same problem on exchange 2000, and it should be about the same
 
Ill give it a shot and get right back to you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top