If you still use CDONTS object in your ASP page and run into this kind of error: Microsoft VBScript runtime error '800a0046' Permission denied /path/filename.asp, line 4 Then when you open the file, you see something like this. Just by reading the error message, you can probably guess that this error occurs usually because the anonymous user account is not granted a Modify … [Read more...]
How to Replace CDONTS with CDOSYS on Classic ASP Pages
Replacing CDONTS with CDOSYS, while can be time consuming for a large classic ASP application, is actually very easy to do. Here's a simple example of what need to be changed at a minimum: Set oCDOMail = Server.CreateObject("CDONTS.NewMail") to:Set oCDOMail = Server.CreateObject("CDO.Message") Remove BodyFormat property, oCDOMail.BodyFormat = 0 since it's unnecessary. Replace MailFormat … [Read more...]
How to Use CDONTS.DLL on Windows Server 2012 R2
With Microsoft ending the support on Windows 2003, many classic ASP applications that use cdonts.dll to send automatic emails (cdonts.newmail) still need to be migrated to the newer server (Windows Server 2012 R2). One way you can tell an application is using it is when you encounter the following error message on your browser. CDONTS was already deprecated since Window 2000 and completely … [Read more...]