Exception after Removing Workflow Action Pack

by ckruszynsky » Fri Nov 06, 2015 4:04 pm

I followed the instructions to remove the Workflow Action Pack but when I try to load the my site I am getting an exception

Could not load file or assembly 'Plumsail.WFServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ca455081e36d9f3d' or one of its dependencies. The system cannot find the file specified.
ckruszynsky
 
Posts: 2
Joined: Fri Nov 06, 2015 4:01 pm

by Roman Rylov » Fri Nov 06, 2015 9:29 pm

Hello,

Please edit web.config file on the WFE and remove the following line:

Code: Select all
<add name="PlumsailAuthModule" type="Plumsail.WFServices.HttpModules.WFServicesAuthentication, Plumsail.WFServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ca455081e36d9f3d" />
User avatar
Roman Rylov
 
Posts: 335
Joined: Tue Nov 11, 2014 6:25 pm

by ckruszynsky » Sun Nov 08, 2015 7:43 pm

Thank You, Roman. That worked perfectly. Thanks for the help
ckruszynsky
 
Posts: 2
Joined: Fri Nov 06, 2015 4:01 pm

by Roman Rylov » Thu Feb 11, 2016 4:34 pm

A small addition: It would be better to use the following PowerShell script:

Code: Select all
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

$wa = Get-SPWebApplication "http://dev1"

$exclude = @( "PlumsailAuthModule" )
for($i = $wa.WebConfigModifications.Count -1; $i -gt 0; $i--)
{
    $mod = $wa.WebConfigModifications[$i]
    if ($exclude.Contains($mod.Owner))
    {   
        Write-Host $mod
        $wa.WebConfigModifications.Remove($mod);

    }
}

$wa.Update()
$wa.Parent.ApplyWebConfigModifications()
User avatar
Roman Rylov
 
Posts: 335
Joined: Tue Nov 11, 2014 6:25 pm


Return to Workflow Actions Pack for SharePoint 2013