please add the following registry content on the ERP server and the terminal server,also Back up your registry!
ERP (AOS)servers
HKEY_CURRENT_USER\Software\Microsoft\Dynamics\5.0\Configuration\Original (installed configuration)
Create String value: MaxBufferSize
Value: 0
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dynamics Server\5.0\01\AX2009
Create String value: MaxBufferSize
Value: 0
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dynamics Server\5.0\01\Original (installed configuration)
Create String value: MaxBufferSize
Value: 0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc
create 32 bit Dword value: MaxRpcSize
Value: 30000000
restart Server and AOS Server
Terminal Server (include Citrix servers)
HKEY_CURRENT_USER\Software\Microsoft\Dynamics\5.0\Configuration\AX2009TS
Create String value: MaxBufferSize
Value: 0
HKEY_CURRENT_USER\Software\Microsoft\Dynamics\5.0\Configuration\Original (installed configuration)
Create String value: MaxBufferSize
Value: 0
restart Server