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 Fix Could Not Create a Disk Cache Sub-Directory for the Application Pool on IIS
During one of the upgrade projects from Windows Server 2003 to Windows Server 2008 32-bit, the following error occurs: This happened soon after the Windows Server 2003 was in-place upgraded to Windows Server 2008. One the problems here is after the upgrade, the default ASP Compiled Templates folder got moved but the application config is still pointing to the old path. The second … [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...]