MailBee WebMail Lite ASP.NET
- I've just installed WebMail and am getting "Path to the data folder is incorrect. WebMail cannot run. Check "Web.config" file error. How to resolve?
- I'm getting "Access to the path "...\data\settings.xml" is denied" error. What's wrong?
- I'm getting "Server Error in '/WebMailLiteNET' Application. Access is denied: 'MailBee.NET'". Why?
- I'm not able to upload/download big attachments. Why?
- Does WebMail provide "sign-up" feature (allow registering new accounts on a mail server)?
1. I've just installed WebMail and am getting "Path to the data folder is incorrect. WebMail cannot run. Check "Web.config" file error. How to resolve?
You should change the default path to the
correct path to WebMail data folder in
Web.config file. Please note, this path must be
physical (the path to the folder on file system of the computer, NOT Internet path or
URL). This physical path must be absolute (including drive disk letter) or relative to the folder containing ASP.NET scripts of the application:
<appSettings>
<add key="SettingsPath" value="C:\WebMail\data"/>
</appSettings>
Some samples:
- "C:/WebMail/Data/" - CORRECT absolute path
- "../../WebMailData/" - CORRECT relative path (assuming WebMailData folder is in the folder which is 2 levels up the folder containing ASP.NET scripts of the application; for instance, ASP.NET scripts are in C:/Inetpub/wwwroot/webmail folder and data folder is C:/Inetpub/WebMailData)
- "http://www.myhost.com/WebMailData/" - INCORRECT (!) path. Filesystem path required instead of URL.
WebMail installation consists of two main folders:
web and
data. The
web folder contains WebMail code and should be visible from web. The
data folder contains WebMail settings and is used as a temporary storage for saving attachments. The
data folder should be invisible from web for security reasons. WebMail can locate the
data folder only if correct path to this folder is specified in
Web.config file.
This problem can also occur if
ASPNET (ASP.NET Machine Account) or
NETWORK SERVICE account has insufficient permissions to the
data folder. Please complete the steps below to grant the appropriate permissions:
- 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 Server with IIS 6, 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, memorize 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 memorized and choose its properties;
- In "Identity" tab, you can see the system account name which is the ASP.NET user account you need.
2. I'm getting "Access to the path "...\data\settings.xml" is denied" error. What's wrong?
This means
ASPNET (ASP.NET Machine Account) or
NETWORK SERVICE account has insufficient permissions to the
data folder. To resolve the problem, please complete the steps below:
- using Windows Explorer, navigate to the folder where WebMail data folder is located;
- 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 the added accounts to grant permissions and press "OK".
3. I'm getting "Server Error in '/WebMailLiteNET' Application. Access is denied: 'MailBee.NET'". Why?
This means
ASPNET (ASP.NET Machine Account) or
NETWORK SERVICE account has insufficient permissions to
MailBee.NET.dll file. To resolve the problem, please complete the steps below:
- using Windows Explorer, navigate to the /bin subfolder of your WebMail installation;
- in context menu, choose "Properties" of MailBee.NET.dll file and "Security" tab;
- add ASP.NET Machine Account (ASPNET) and NETWORK SERVICE into the list;
- tick "Allow full control" checkboxes for both the added accounts to grant permissions and press "OK".
For Windows 2003 Server with IIS 6, the ASP.NET user account can differ from
ASPNET or
NETWORK SERVICE. To determine right user account under Windows 2003 Server, complete 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, memorize the "Application name" value (it's the name of application pool you need);
- In <SERVER_NAME>/Application Pools, look for application pool which name you memorized and choose its properties;
- In "Identity" tab, you can see system account name which is ASP.NET user account you need.
4. I'm not able to upload/download big attachments. Why?
Please refer to
I'm not able to upload/download big attachments. Why? topic of WebMail Pro ASP FAQ.
5. Does WebMail provide "sign-up" feature (allow registering new accounts on a mail server)?
Please refer to
Does WebMail provide "sign-up" feature (allow registering new accounts on a mail server)? topic of WebMail Pro ASP FAQ.