I'm getting 'CreateObject Failed' (or 'Server.CreateObject failed') error. What's wrong?
Most likely, your application powered by MailBee Objects doesn't have sufficient permissions to MailBee.dll or MailBee Objects installation was damaged for some reason. If your application is an ASP application, please update/re-install your MailBee Objects installation and make sure the issue is not caused by insufficient permissions. To grant necessary permissions over MailBee.dll file to Internet Guest Account, please follow the steps below:
- using Windows Explorer, navigate to MailBee Objects installation folder ("C:\Program Files\MailBee" by default);
- in context menu, choose "Properties" of MailBee.dll file and "Security" tab;
- add Internet Guest Account (usually IUSR_<SERVER_NAME>) into the list;
- tick "Allow full control" checkbox to grant permissions and press "OK".
For ASP.NET application powered by MailBee Objects:
- using Windows Explorer, navigate to the folder which contains the data folder;
- in context menu, choose "Properties" of the data folder and "Security" tab;
- add ASP.NET Machine Account (ASPNET) and NETWORK SERVICE into the list;
- tick "Allow full control" checkboxes for both added accounts to grant permissions and press "OK".
For Windows 2003/2008 Server with IIS 6/7, the ASP.NET user account can differ from ASPNET or NETWORK SERVICE. To determine right user account under Windows 2003 Server, follow the steps below:
- Run Internet Information Services Manager;
- In <SERVER_NAME>/Web Sites/<WEB_SITE_NAME>/, look for the WebMail application directory and choose its properties (click "Properties" in context menu);
- In "Virtual Directory" tab, remember the "Application name" value (it's the name of application pool you need);
- In <SERVER_NAME>/Application Pools/, look for the application pool which name you remembered and choose its properties;
- In "Identity" tab, you can see the system account name which is the ASP.NET user account you need.
If you're sure all permissions set correctly, MailBee Objects installation was damaged for some reason. Stop or exit all applications which can potentially use MailBee Objects (such as IIS or Developer Studio), uninstall MailBee Objects and install it again.