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

Running a repair causes extra entries in the applicationhost.config.. #5

Open
urlocalguru opened this issue Aug 22, 2017 · 0 comments

Comments

@urlocalguru
Copy link

urlocalguru commented Aug 22, 2017

Long story short I ran a repair on this and wound up with extra entries in my AppHost config. I was able to reproduce on a clean system as you can see below... verified with Server 2012R2.

Installed then immediately ran repair either from 'Programs and Features' or right click on MSI and select repair
Opening IIS Manager and going to Server 'Configuration Editor' throws and error about the AppHost config line 104 duplicate 'system.webServer/stripHeaders' as seen in the top half of the attached image. Manually fixing that line by removing the second..
<section name="stripHeaders" allowDefinition="AppHostOnly" overrideModeDefault="Deny"/>
Then launching IIS Manager and going to Server 'Configuration Editor' throws and error about the AppHost config line 841 and 'system.webServer/stripHeaders' is already defined and should only appear once per config as seen in the bottom half of the attached image. This can again be fixed manually by removing the extra..
<stripHeaders/>

Also once a Repair has been done performing an uninstall will only remove one set of the duplicate entires. IE perform 4 repairs then an uninstall there will still be 4 sets of rouge entries.

~Will

capture

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

1 participant