Outlook Web Access (OWA) Returns "500 internal server error" When Attempting to Attach Files Larger Than One (1) Megabyte with Symantec Mail Security for Microsoft Exchange (SMSMSE) Running
search cancel

Outlook Web Access (OWA) Returns "500 internal server error" When Attempting to Attach Files Larger Than One (1) Megabyte with Symantec Mail Security for Microsoft Exchange (SMSMSE) Running

book

Article ID: 152149

calendar_today

Updated On:

Products

Mail Security for Microsoft Exchange

Issue/Introduction

Whenever I try to attach items larger than 1 megabyte to an Outlook Web Access (OWA) email and the Symantec Mail Security for Microsoft Exchange (SMSMSE) service is running, OWA returns "500 Internal Server error" instead of displaying the attachment.

Conditions

  • File being attached is larger than one (1) megabyte (MB).
  • If SMSMSE service is stopped then OWA is able to attach files of any size correctly.
  • Virus Scanning Application Program Interface (VSAPI) debug log shows the following errors:
    Use the following article to obtain a VSAPI debug log: How to obtain a DebugView log file from Symantec Mail Security 6.0 for Microsoft Exchange

    Look for entries matching the following:
      00000667             6.52655315          [3956] 2010-02-17 11:20:27 438ms[TID=0xdbc] SAVFMSEVSAPI(911) -      
      00000668             6.52671814          [3956] fnHandleError with code = -1073217384, param1 = 2080  
      00000669             6.52685308          [3956]  
      00000670             6.52718973          [3956] 2010-02-17 11:20:27 438ms[TID=0xdbc] SAVFMSEVSAPI(912) -      
      00000671             6.52733755          [3956] error reading stream 2080              
      00000672             6.52747107          [3956]  
      00000673             6.52844143          [3956] 2010-02-17 11:20:27 438ms[TID=0xdbc] SAVFMSEVSAPI(1929) -    
      00000674             6.52859402          [3956] Failure copying stream to Shared Memory (-1073217384)              
      00000675             6.52874231          [3956]  
      00000676             6.52907801          [3956] 2010-02-17 11:20:27 438ms[TID=0xdbc] SAVFMSEVSAPI(2439) -    
      00000677             6.52925253          [3956] fnHandleError with code = -1073217377, param1 = 3, param2 =    
      00000678             6.52938843          [3956]  
      00000679             6.52970695          [3956] 2010-02-17 11:20:27 438ms[TID=0xdbc] SAVFMSEVSAPI(2440) -    
      00000680             6.52985716          [3956] Temp file delete failure 3              
      00000681             6.52999973          [3956]  
      00000682             6.53032255          [3956] 2010-02-17 11:20:27 438ms[TID=0xdbc] SAVFMSEVSAPI(2465) -    
      00000683             6.53047180          [3956] VirusScanAndClean error (0x1)    
      00000684             6.53060579          [3956]  
      00000685             6.53090525          [3956] 2010-02-17 11:20:27 438ms[TID=0xdbc] SAVFMSEVSAPI(2467) -    
      00000686             6.53105497          [3956] fnHandleError with code = -1073217391, param1 = 1  
           

 

Cause

A timing conflict between two Microsoft processes. When SMSMSE is enabled, it activates a component of the Exchange Information store called Virus Scanning Application Program Interface (VSAPI). Whenever VSAPI is enabled, Exchange places database locks on items as soon as they are loaded into the Information store. Exchange then passes a copy of the item to the SMSMSE scanner for verification that the item is clean. Once a verdict is returned from the SMSMSE scanner, the database lock is removed, and Exchange will once again display the item to clients and allow delivery to it's final destination. When a user attaches an item with OWA, Internet Explorer uses an HTTP POST command to upload the item to the Information store via Internet information services web service (IIS). It then runs an HTTP GET command to build the next page with the item attached. This GET command is run before SMSMSE has had a chance to verify the contents of the item, and thus the item is still database locked by VSAPI. This results in a 500 internal server error instead of the correct page.

Resolution

Symantec is aware of this issue.  At this time the root cause is not identified.  If the workaround cannot be used contact Symantec Technical Support to continue troubleshooting.

Workaround

Install S/MIME controls for Internet explorer. This causes OWA to use methods similar to Outlook clients in uploading attachments bypassing the timing conflict from the HTTP GET command as it is no longer being run.

See this link for further details on installing S/MIME controls: http://technet.microsoft.com/en-us/library/bb124432%28EXCHG.65%29.aspx.

NOTE: Using this workaround only works for Internet Explorer browsers, There is currently no workaround available for Non-Internet Explorer web browsers.

Related Documents

When attaching a file over 1MB through Outlook Web Access (OWA) you receive an HTTP 500 error due to low Free Table Page Entries