Wednesday, January 25, 2012

Unable To Reply Mail From Mail Enable

Problem:Server Error in '/' Application.

A potentially dangerous Request.Form value was detected from the client (txtMsgBody="...
Email:
(A validation error has occurred) [Client Side - "Server communication error. Please refresh your browser and try again" when composing or replying to a message with HTML]




Solution:
To resolve the "server communication error" the ValidateRequest needs to be set to "false"so that the postback validation does not occur.

To disable request validation follow the steps below:

*
Navigate within the MailEnable installation path to the following location: Mail Enable\BIN\NetWebmail\
*
Locate the "web.config" file and open it within "Notepad". Scroll down the page and locate the following line:



*
Change the "validateRequest" to "false".
*
Save the the file and close Notepad.
*
Next restart IIS within a command prompt or within Windows Internet Information Services (IIS) Manager.

If MailEnable web mail is running as a virtual directory and the root sites "web.config" contains the post back validation check then this will override the MailEnable web mail's virtual directory "web.config" file settings. The same procedure applies as the above steps to disable the post back validation check by locating the root websites "web.config" file and setting the validateRequest to "false".

Alternately you can globally turn request validation off which maybe overriding the MailEnable "web.config" file settings. To globally turn request validation off follow the steps below:

*
Navigate to the following location: Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG
*
Locate the "web.config" file and open it within "Notepad". Add the following line:



*
The above should go within the section. This will turn off request validation for every page in your application.
*
Save the the file and close Notepad.
*
Next restart IIS within a command prompt or within Windows Internet Information Services (IIS) Manager.


Tags:Mail Enable,Horde,Webmail,Plesk,Windows,gmail,Local Mail service

0 comments:

Post a Comment