Start a conversation

Error: 'The type 'System.Web.UI.ScriptManager' is ambiguous' When loading GFI MailEssentials Quarantine interface

Overview

This article describes the process to follow when the below error message is displayed after loading GFI MailEssentials Quarantine interface

The type 'System.Web.UI.ScriptManager' is ambiguous: it could come from assembly 'C:\Program Files\GFI\MailEssentials\Quarantine\wwwroot\bin\System.Web.Extensions.DLL' or from assembly 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll'. Please specify the assembly explicitly in the type name.

 

Information

Environment

  • GFI MailEssentials
  • All supported environments.

 

Process

Add the following lines in the code to the web.config file located in ../GFI/MailEssentials\Wwwconf:

<runtime> 
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken=& quot;31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken=& quot;31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments