Unable to access ASP contact form: Server.CreateObject Failed

Created:

2016-11-16 12:51:31 UTC

Modified:

2017-08-08 13:16:46 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to access ASP contact form: Server.CreateObject Failed

Applicable to:

  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Symptoms

Unable to access ASP contact form, the following error occurs after all fields were filled:

LOGON_USER:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/asp-contact-us/asp-contact-us/contactusprocess.asp, line 36
800401f3

The following is defined on line 36:

Set objNewMail = Server.CreateObject("CDONTS.NewMail")

Cause

Deprecated library CDONTS is in use.

Resolution

The error means that the object could not be created because it could not find the appropriate DLL for the object requested. It is looking for the CDONTS COM component that was included with NT SP4 as the file cdont.dll.

CDONTS was deprecated in Windows 2000 and completely removed in Windows 2003. If Window 2003, Windows 2008 or Windows 2012 is in use, this error will apprear since the DLL is not present.

To fix this problem try to use CDOSYS (cdosys.dll). CDOSYS is a library file provided as part of IIS for Windows 2000, Windows 2003 Server, and Windows 2008 Server. This DLL enabled applications to route SMTP messages across multiple platforms and added much more functionality over the older CDONTS library.

Have more questions? Submit a request
Please sign in to leave a comment.