Article ID: 121458, created on May 4, 2014, last review on Feb 25, 2015

  • Applies to:
  • Plesk 12.0 for Windows
  • Plesk 11.5 for Windows


The following message appears upon an attempt to open Tools & Settings > Mail Server Settings:

The system cannot find the file specified. (Error code 2) at lookup subKey=SOFTWARE\Mail Enable\Mail Enable\Connectors\SMTP\Extensions\DATA value=Data with type 1
           at (registry::getstr line 660)
           at execute console command --get-max-letter-size(vconsoleapp::start line 97)
           at execute "C:\Program Files (x86)\Plesk\admin\bin\mailmng.exe" --get-max-letter-size(vconsoleapp::run line 107)
        (Error code 1)
---------------------- Debug Info -------------------------------


Plesk mail provider .dll points to the wrong file.


Make sure that the MAIL_PROVIDERW_DLL registry value includes the correct path to the .dll:

  1. Run the following command in command line to find currently specified path:

    reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config" | findstr MAIL_PROVIDERW_DLL
    MAIL_PROVIDERW_DLL    REG_SZ    C:\Program Files (x86)\Parallels\Plesk\admin\bin\mailenableproviderw.dll
  2. Backup "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config" registry key:

    • Open regedit.exe
    • Navigate to the "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config" registry key > right click on it > Export > save file
  3. Correct the value data for MAIL_PROVIDERW_DLL. The .dll should be located in the "%plesk_bin%" folder. Run the following command to find the "%plesk_bin%" path on your server:

    set | findstr plesk_bin
    plesk_bin=C:\Program Files (x86)\Parallels\Plesk\admin\bin 

    The following .dll are used:

    For MailEnable  - mailenableproviderw.dll  
    For IceWarp     - merakproviderw.dll   
    For SmarterMail - smartermailprovider.dll

Search Words

--get-max-letter-size(vconsoleapp::run line 107)

The system cannot find the file specified. (Error code 2)

(Error code 1)


--get-max-letter-size(vconsoleapp::start line 97)

Mail Server Settings

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 46a8e394d6fa13134808921036a34da8 85a92ca67f2200d36506862eaa6ed6b8 bd7fc88cf1b01f097749ae6f87272128 ed7be2b984f9c27de1d2dc349dc19c6d a766cea0c28e23e978fa78ef81918ab8

Email subscription for changes to this article
Save as PDF