Could not load file or assembly 'SPEJavaScript' or one of its dependencies


This article applies to:

  • MailMarshal SPE

Symptoms:

  • Web Console fails to display left menu
  • Javascript error: ‘dTree’ is undefined
  • Error in event log: A configuration error has occurred. Could not load file or assembly 'SPEJavaScript' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

Cause:

  • These behaviors can be caused by an on-access virus scanner trying to scan the file while the .NET framework attempts to compile the ASP.NET file.

Resolution:

Disable on-access scanning for the temporary ASP.NET directory and all sub-folders. The folder specifically used by ASP.NET for MailMarshal SPE is:

%WINDIR%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files 

If you run multiple versions of the .net framework, you should exclude the entire framework directory

%WINDIR%\Microsoft.NET\

Notes:

On access scanning must also exclude any MailMarshal SMTP directories if on the same machine. For more information, see Trustwave Knowledgebase article Q10850.


Last Modified 6/21/2009.
https://support.trustwave.com/kb/KnowledgebaseArticle12836.aspx