Friday 7 October 2011

Subject: Domain event notification: The period of validity is about to expireThe validity period of domain 'domain name', owned by user account.

We will get the following notification from the server about the domain was expired.

===========
Subject: Domain event notification: The period of validity is about to expire.


The validity period of domain 'domainame', owned by user account 'admin' (Contact name 'xxx') is about to expire.
The domain and all of its services will be deactivated by Oct 16, 2011 unless the validity period is prolonged.
===========

It indicates that we have already setup a expiration limit for the domain. You can change this parameter by doing the following steps.

+ Login to the plesk control panel.

+ Click on domains and select the domain which you got the notification.

+ Go to the "Resource usage" tab and here you can see the "Validity period". Edit this parameter to whatever you want. You can also mention as "Never expires".


Thursday 6 October 2011

ActiveX component can't create object: 'CDONTS.NewMail'

When we accessing the asp website, sometimes we will get the following error.

=========
ActiveX component can't create object: 'CDONTS.NewMail'
=========

It indicates that CDONT(Collaboration Data Objects (CDO) for NTS) is not installed in the server.

1. First Download the CDONTS.ZIP file from the following URL.

========
http://kb.parallels.com/Attachments/6336/Attachments/cdonts.zip
========

2. Unzip the file CDONTS.DLL and put in.

For 32-bit systems:
%systemroot%\system32 folder (by default C:\Windows\system32).

For 64-bit systems:


%windir%\syswow64 (by default C:\Windows\syswow64).


3. Register the CDONTS.DLL component in the server using the following command:

For 32-bit systems:

regsvr32 "%systemroot%\system32\cdonts.dll"

For example:

C:\WINDOWS\system32>regsvr32.exe cdonts.dll

For 64-bit systems:



regsvr32 "%systemroot%\syswow64\cdonts.dll"

4. Once the CDONTS.DLL component is registered, you should check if your SMTP service is running.

Go to Administrative tools, IIS and Expand your local machine. If the SMTP service is listed, it means it is already installed, if not you should install this service.

To install SMTP, do the following:

Go to Control Panel, Add/Remove Programs, Add/Remove Windows Components, Application Server, IIS, Select SMTP service, Click OK.


5. Change the port number for the SMTP service. The default port is 25. Use 25 only when no other SMTP service is running. If there is already another SMTP service running on the server, change the SMTP port of IIS, for example to port 8025.

You can make this through IIS management console: Control Panel, IIS, expand `local computer`, SMTP, Properties, General, click Advanced button, Edit.3

6. Set up SMTP service. Most important is setting up a fully qualified domain name for the SMTP service: Control Panel, IIS, expand `local computer`, SMTP, Properties, Delivery, click Advanced button and set up Security service for SMTP.

It is required to give permissions to IIS_WPG standard IIS Worker Process Group. Control Panel, IIS , expand `local computer`, SMTP, Properties, Security, click Add button, then click Object types button..., select Groups element, click OK, enter IIS_WPG as object name to add and click OK.

7. Assign write permissions for the psacln group on the "inetpub\mailroot\pickup" directory.


Tuesday 4 October 2011

#6 - Error on delete of './database' (Errcode: 13)

Some times, we will get the following error when we try to drop the database from PHP my admin.

========
Error
SQL query:
DROP DATABASE `databasename`
MySQL said:
#6 - Error on delete of './databasename' (Errcode: 13)
========

The problem is with wrong permission of /var/lib/mysql. You can fix the issue by changing the permission of mysql data directory to mysql .

#chown mysql.mysql /var/lib/mysql.

Now, you are able to drop the database from PHP my admin.