When trying to access the webmail interface the following error is displayed in the browser:
Server Error in '/MEWebMail' Application.
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
This error occurs because when ASP.NET detects that a web site is configured to use ASP.NET 4, a native component of ASP.NET 4 passes an extensionless URL to the managed portion of ASP.NET for further processing. However, if virtual directories that are below an ASP.NET 4 web site are configured to use ASP.NET 2.0, processing the extensionless URL in this way results in a modified URL that contains the string "eurl.axd". This modified URL is then sent to the ASP.NET 2.0 application. ASP.NET 2.0 cannot recognize the "eurl.axd" format. Therefore, ASP.NET 2.0 tries to find a file named eurl.axd and execute it. Because no such file exists, the request fails with an HttpException exception.
If ASP.NET 4 is not required in order to run the Web site, remap the site to use ASP.NET 2.0 instead.
If ASP.NET 4 is required in order to run the web site, move any child ASP.NET 2.0 virtual directories to a different web site that is mapped to ASP.NET 2.0. Or alternatively configure host headers under the MailEnable web mail website. Information how to create host headers under the MailEnable web mail website can be found within the MailEnable documentation.
If it is not practical to remap the web site to ASP.NET 2.0 or to change the location of a virtual directory, explicitly disable extensionless URL processing in ASP.NET 4. Use the following procedure:
Note Setting EnableExtensionlessUrls to 1 enables extensionless URL behavior. This is the default setting if no value is specified.
|Keywords:||framework. .NET error HTTP 404|
|Class:||TRB: Troubleshooting (Configuration or Environment)|
|Revised:||Wednesday, May 4, 2016|