Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 50: Adding ISAPIFilter on server 2016 #365

Closed
mitchflores opened this issue May 16, 2017 · 4 comments
Closed

Error 50: Adding ISAPIFilter on server 2016 #365

mitchflores opened this issue May 16, 2017 · 4 comments

Comments

@mitchflores
Copy link

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.

@EasyAsABC123
Copy link
Contributor

I wonder if this is related to #334

@mitchflores
Copy link
Author

mitchflores commented May 17, 2017

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.

@EasyAsABC123
Copy link
Contributor

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

@EasyAsABC123
Copy link
Contributor

duplicate of #387

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants