CDO.Message.1 error ‘80070005’

When there is error as below when your web application try to send email out

CDO.Message.1 error ‘80070005’

Access is denied.

You might need to ensure the mail sending path have the “Everyone”, “Network Service” and “Users” permission and grant to all the subfolder on it.

Install the Intermediate Certificate (IIS6 & IIS7)

(1) Click the Start menu and click Run…. Type mmc in the Run window and click OK to start the Microsoft Management Console (MMC).

(2) In the Management Console, select File then Add/Remove Snap In.

(3) In the Add or Remove Snap-ins dialog, click the Add button and then select Certificates.

(4) Choose Computer Account then click Next.

(5) Choose Local Computer, then click Finish.

(6) Close the Add or Remove Snap-ins dialog and click OK to return to the main MMC window.
If necessary, click the + icon to expand the Certificates folder so that the Intermediate Certification Authorities folder is visible.

(7) Right-click on Intermediate Certification Authorities and choose All Tasks, then click Import.

(8) Follow the wizard prompts to complete the installation procedure.

(9) Click Browse to locate the certificate file. Change the file extension filter in the bottom right corner to be able to select the file. Click Open after selecting the appropriate file.

(10) Click Next in the Certificate Import Wizard.

(11) Choose Place all certificates in the following store; then use the Browse function to locate Intermediate Certification Authorities. Click Next. Click Finish.


How to install wildcard SSL in II6

I assume that all know how to install the SSL for the IIS6. This topic is how to apply the wildcard SSL in IIS6.

For II6, it may need to apply the certificate for all the subdomain.

Basically it involve 2 part, IIS and cmd.

IIS Part

(1) Open IIS

(2) Go to the subdomain entry

(3) Right click and select Properties, then go to the Directory Security Tab

(4) Click on the Server Certificate under the Secure communications

(5) It will prompt out one message box, click Next, select the option Assign an existing certificate. After that select the wildcard SSL that install previously and apply it.

(6) After that go back to the subdomain entry properties again. Select the Web Site Tab, select Advanced and make sure the port 443 using the dedicated IP that assign to the domain before.

(7) Apply it and it done for the IIS part.

CMD Part

(1) Open CMD

(2) Go to path C:\Inetpub\AdminScripts

(3) Run the script as below

cscript.exe adsutil.vbs set /w3svc/site identifier/SecureBindings “:443:host header

site identifier : Please check on the IIS and it will have the value of it for each entry

host header: the host header for the Web site

For example, your site domain is and site identifier is 1234, script will be as below

cscript.exe adsutil.vbs set /w3svc/1234/SecureBindings “”

(4) Once done, iisreset it