Error in web mail or web admin [AUTHORIZATION - by Microsoft that offers a single logon and core profile - Authentication mode=windows]


SYMPTOMS

When you login to web mail or web admin a .NET error is shown as follows:

Web Admin/Mail returns .NET error. From the server I get the following error:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.

Source Error:

Line 48:            by Microsoft that offers a single logon and core profile
services for member sites.
Line 49:     -->
Line 50:     <authentication mode="Windows" />
Line 51:
Line 52:     <!--  AUTHORIZATION

Source File: C:\Program Files\Mail Enable\BIN\NETWebAdmin\web.config
Line: 50
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032

RESOLUTION

One cause of this error is that there is a web mail site configured as a root and also
a created a virtual directory underneath the root site, there is a problem
with this configuration where IIS does not know which web config file to
use.

There are two ways to configure MailEnable web mail and they should not
really be crossed over.  Here is an outline on the two means of configuring
web mail;

1.  Create a virtual directory for a pre configured IIS web site within MailEnable.  To do
this you use the ME Admin MMC->Web mail Properties->Site Options
TAB->Configure.  This section will allow you to create a virtual directory
under any web site allowing you to have a separate web mail site for each of
the root web sites within MailEnable.  This will allow you to access web
mail via a URL like - http://www.example.com/mewebmail

2.  Create a host header environment this allows you to create a root web
site called MailEnable Webmail (this is created by default).  For this root
site create host headers for each MX record you use for web mail.  This is
completed via ME Admin MMC->Web mail (Left Click)->In the right hand screen
right click and "Create New" Host Header this is completed for every domain
you need web mail for.  You would create a host header here for each of your
sites this configuration allows you to run one web site for all domains.

REFERENCES

MailEnable manuals and further documentation for configuring .NET:http://www.mailenable.com/references.asp



Product:MailEnable (Pro-Any Pro-1.X Ent-Any Ent-1.X)
Category:Configuration
Article:ME020463
Module:General
Keywords:Web,mail,webmail,web,admin,webadmin,Error,authorization,authentication,mode
Class:TRB: Troubleshooting (Configuration or Environment)
Revised:Wednesday, May 4, 2016
Author:
Publisher:MailEnable