Fix for Mail Enable – %1 is not a valid Win32 application.


As mentioned in a previous post, I am in the middle of changing my hosting, from a reseller account, to my own VPS.

After working closely with eHosting support, I’ve managed to beat into submission the large majority of the features required.
One thing however, was the installation of MailEnable Standard (the free one)
It didn’t come with any form of web mail client.

Some emailing, and googling later, I discovered the latest version of MailEnable standard (v 3.6)  includes webmail

After installing this on my VPS, and trying it out on a test domain, it threw an error in the web browser:

%1 is not a valid Win32 application.

This caused me quite a lot of trouble to figure out, but the solution – ASP.Net needed re-registering with IIS.
(I had recently installed .net 3.5 – not sure if this had anyrthing to do with it)
To do this, click Start, Run, then type "CMD"

At the command prompt, type (or cut paste, like most people)

C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i -enable

Hit enter.

That fixed it for me, hopefully it will for anyone else.