Application Error Number: 70 (0x00000046) Source: Microsoft VBScript runtime error Description: Permission denied
I found a solution to my problem. I used Process Monitor from Microsoft and captured data while submitting a ticket then searched for ACCESS DENIED and found C:\Program Files\Exchsrvr\Mailroot\vsi 1\Pickup directory not allowing regular users to create an email. Once I set permissions on that directory to allow WRITE permissions for Authenticated Users then I was able to submit tickets and send emails using CDONTS
Could you also write when this error is shown, that is after which link is clicked. Could you also write the link (asp page) before and after the error?
I'm having same problem. I believe that the error pops up when you click on "Submit Problem" button under the "new.asp" page. I think the page "postnew.asp" page checks for authentication because i saw the line "Call CheckUser(cnnDB,sid)". Where do they put the "CheckUser" mehod?
i think i found something...i checked the "problems" table, all of my test tickets are there. i think the error is coming from the part whene it's trying to send email...still digging..
what is your "emailing agent"? I have ASPEmail as mine and is configured to forward email to smtp.company.com (smtp.company.com should anticipate emails from help desk server).
This error happens when I click Submit. I am using CDONT as a mail client.
i believe it is somewhere written that CDONTS need some changes to work properly. It is now replaced by CDO objects. I would search on sending email using CDO.
If i find my copy of code to email using CDO, i will post.
Hope this helps :)
Just found emailTest.vbs, here it is
Set myMail = CreateObject("CDO.Message")myMail.Subject = "Sending email with CDO"myMail.From = "tyampoo@foo.org"myMail.To = "dabrudda@foo.org"myMail.TextBody = "This is a test message."
myMail.Configuration.Fields.Item _("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
'Name or IP of remote SMTP servermyMail.Configuration.Fields.Item _("http://schemas.microsoft.com/cdo/configuration/smtpserver")="smtp.foo.org"
'Server portmyMail.Configuration.Fields.Item _("http://schemas.microsoft.com/cdo/configuration/smtpserverport")=25
myMail.Configuration.Fields.Update
myMail.Send
set myMail=nothing
just change From, To addresses, and smtp server address and it sould work.
hope this helps,
Tyampoo