--勉励自己努力以钉子的“挤”劲和“钻”劲提升自己
 :: Blog List ::
钉子 发表于 2011-11-23 15:09:09

问题描述:
==================

当使用手机连接Exchange 2010时,Exchange服务器连续出现如下警告信息.

Category: Requests
Description: An exception occurred and was handled by Exchange ActiveSync. This may have been caused by an outdated or corrupted Exchange ActiveSync device partnership. This can occur if a user tries to modify the same item from multiple computers. If this is the case, Exchange ActiveSync will re-create the partnership with the device. Items will be updated at the next synchronization.
 
URL=/Microsoft-Server-ActiveSync/default.eas?Cmd=SendMail&SaveInSent=T&User=kcox&DeviceId=HTCadd1fcf5&DeviceType=htcsupersonic
--- Exception start ---
Exception type: System.Web.HttpException Exception message: Maximum request length exceeded.
Exception level: 0
Exception stack trace:    at System.Web.HttpRequest.GetEntireRawContent()
   at System.Web.HttpRequest.get_InputStream()
   at Microsoft.Exchange.AirSync.AirSyncRequest.get_InputStream()
   at Microsoft.Exchange.AirSync.Command.WorkerThread()
--- Exception end ---.
 
Log: Application
Type: Warning
Source: MSExchange ActiveSync
Event: 1008
Username: N/A


解决办法:
==============

根据“Exception message: Maximum request length exceeded.”异常提示信息,我查看了CAS服务器安装目录下的webconfig文件,发现有如下限定:
<httpRuntime maxRequestLength=”10240″/>
经查看kcox用户的手机,发现有一封无法发出的大邮件,将其删除后,前面提到的Warning信息就不再出现了。后又发现我们也可以根据需要修改这个阀值。
1. On the CAS server under the install directory go to ClientAccess\Sync folder
2. Open the web.config file
3. Find the <httpRuntime maxRequestLength=”10240″/> entry
4. Up the value to the KB value we want
5. Save the file
6. Restart IIS

发表评论:

    昵称:
    密码: (游客无须输入密码)
    主页:
    标题:
Best view with 1024 x 768 pixel & IE 6.0.
About Me
Archives Categories
Replies List
My FriendLinks
Blog Info

Powered by Oblog.