SymptomsParallels Plesk Panel Reconfigurator fails to change MailEnable Mail Data location with the error:
Unable to seeking to end of stream: (5) Access is denied.
at psaobsolete.DataLocation.Change(String source, String dest)
ResolutionSuch error can appear in Parallels Plesk Panel 9.x which is installed on Windows server 2008 x64.
In case of the error, it is possible to change Mail Data location manually, as described below.
1. Stop all MailEnable services.
2. Copy Postoffices from current location to the new location. e.g. D:\Postoffices
3. Changed values in registry of the following keys to the new location.
HKEY_LOCAL_MACHINE\SOFTWARE\[Wow6432Node\]Mail Enable\Mail Enable\Mail Root
HKEY_LOCAL_MACHINE\SOFTWARE\[Wow6432Node\]Mail Enable\Mail Enable\Connectors\SF\Mail Root Directory
HKEY_LOCAL_MACHINE\SOFTWARE\[Wow6432Node\]Mail Enable\Mail Enable\Services\POP\Mail Root Directory
[Wow6432Node\] is used in case the server is Windows x64.
value should be "D:\Postoffices" or another path where you copy MailEnable Postoffices.
4. Start all MailEnable service.