When you use CDOsys to send email from a classic ASP, you might see an error message below and if you look at the line error, it's always on the message.Send: Several posts would suggest that you put the SMTP server in the code. But when you already have an SMTP server setup on IIS 6.0, here's a couple things you might want to check as well: Check if the Application Pool is at least … [Read more...]
How to Fix Permission Denied Error 800a0046
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 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 Manage IIS Servers Remotely with WMSVC
One of the better ways of managing IIS is by doing it remotely from your local computer instead of logging in to the server itself. The Web Management Service (WMSVC) in IIS allows a remote connection into a Windows Server 2012 R2 by using the IIS Manager GUI. This is a much lighter connection compared to do an RDP connection to the server. Here are the steps we need to do before we can use our … [Read more...]