sous-chefs/iis

Error 50: Adding ISAPIFilter on server 2016

mitchflores opened this issue · 4 comments

Cookbook version

6.5.1

Chef-client version

12.20.3

Platform Details

Windows 2016

Scenario:

Error executing action 'install' on resource 'windows_feature_dism[IIS-ISAPIFilter]'

Steps to Reproduce:

include_recipe "iis::mod_aspnet45"

Expected Result:

Should be successful

Actual Result:

I get Error 50 DISM.

I wonder if this is related to #334

Hi @EasyAsABC123 , I guess it's not. I think I found the possible fix, see below.

on mod_isapi.rb

Current:

features.each do |feature|
  windows_feature feature do
    action :install
  end
end

Proposed solution:

features.each do |feature|
  windows_feature feature do
    action :install
    all true
  end
end

Having the all true

By the way, I only experienced the said issue on Windows server 2016 core installation environment but it works with Windows server 2016 GUI version.

Cool i'll look at it, but windows server 2016 isn't fully tested

duplicate of #387