How to solve eFeeder loading problem after latest Microsoft security patches

Microsoft released a security update which is having changes in the cookie handling. Please refer to this article for more details  -https://devblogs.microsoft.com/dotnet/net-framework-december-2019-security-and-quality-rollup/

Servers updated with this patch consider cookies default as Lax. eFeeder doesn't work if the cookie is considered as  Lax.

Our engineering team started working on this to fix this issue from the code level.

 As a workaround, please follow the below steps for the proper functioning of eFeeder.

1. We will be tackling this issue by configuring a URL rewrite at the IIS level.

2. Download and install the URL rewrite module in eMAM Web servers. If there are multiple web servers, then install it in all the Web servers. Download link - https://www.microsoft.com/en-in/download/details.aspx?id=7435

3. After installing the URL rewrite module, please go to C:\Program Files\Empress Media\eMAM Director in eMAM Web server and open web.config.

4. Search for <System.webServer> and paste the below content under that tag. Please find below.

<rewrite>
  <outboundRules>
    <rule name="AddSameSitecookie" enabled="true" patternSyntax="ECMAScript">
      <match serverVariable="RESPONSE_Set-Cookie" pattern="(.*)=(.*)$" negate="false" />
      <action type="Rewrite" value="{R:0}; SameSite=None; Secure" />
    </rule>
  </outboundRules>
</rewrite>


5. After adding this configuration, please open the eFeeder and check whether it fixed the issue.

In case if you face trouble installing IIS URL Rewrite Module 2 as shown below


Please follow this workaround:


 1.Open Regedit > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp

 2.Edit "MajorVersion" and set the "DECIMAL" value to 9

 3.Hit F5 while in Regedit.

 4.Now go install the ReWrite 2.0 module.

 5.Change the "MajorVersion" back to the "DECIMAL" value of 10

 6.Hit F5 while in Regedit.

 7.Close Regedit.