NicktheNewbie
MIS
I have a series of ASP pages that my company uses to allow technicians to send us status on service calls over the web.
This application has worked fine for over a year, but recently, something happened with permissions on the windows2000/exchange 2000 server from which our website is hosted.
On clicking "submit" I get the following error:
Microsoft VBScript runtime error '800a0046'
Permission denied
/forms/process_call.asp, line 143
Seems to be caused on the endif of the code snippet below:
if mailto <> "" then
Set Mail=Server.CreateObject("CDONTS.NewMail")
Mail.To=mailto
Mail.CC = copyto
Mail.From="website@smartech-csi.com"
Mail.Subject=mailtosubject
Mail.Body=messagebody
mail.send
end if
In researching the problem, it seems as if CDONTS is what the problem is.
Set Mail=Server.CreateObject("CDONTS.NewMail")
I think this object creation is what's triggering the problem: the proper access to the directory needed to create, and then relay the smtp message. I'm not sure what directory this would be - if you know where it is/may be, please let me know.
Also, if there is a way to set IIS permissions/access back to defaults, I could do that as well.
This application has worked fine for over a year, but recently, something happened with permissions on the windows2000/exchange 2000 server from which our website is hosted.
On clicking "submit" I get the following error:
Microsoft VBScript runtime error '800a0046'
Permission denied
/forms/process_call.asp, line 143
Seems to be caused on the endif of the code snippet below:
if mailto <> "" then
Set Mail=Server.CreateObject("CDONTS.NewMail")
Mail.To=mailto
Mail.CC = copyto
Mail.From="website@smartech-csi.com"
Mail.Subject=mailtosubject
Mail.Body=messagebody
mail.send
end if
In researching the problem, it seems as if CDONTS is what the problem is.
Set Mail=Server.CreateObject("CDONTS.NewMail")
I think this object creation is what's triggering the problem: the proper access to the directory needed to create, and then relay the smtp message. I'm not sure what directory this would be - if you know where it is/may be, please let me know.
Also, if there is a way to set IIS permissions/access back to defaults, I could do that as well.