Skip to main content
6 events
when toggle format what by license comment
Apr 20, 2018 at 16:04 comment added stillnocake $Web.Configuration.location.'system.WebServer'.modules[0].AppendChild($RMNode.Clone()) $Web.Configuration.location.'system.WebServer'.modules[0].RemoveChild($RMNode)
Apr 20, 2018 at 15:38 vote accept stillnocake
Apr 20, 2018 at 15:38 comment added stillnocake Turned out that I had to specify the index[0] to Powershell to indicate that I was working with an XML object instead of a System.Array. The System.Array contained the XML object. Thanks to everyone ! :)
Apr 20, 2018 at 13:12 comment added stillnocake I tried to manually move the RewriteModule over the DynamicCompressionModule to see if the solution worked and received these errors.
Apr 20, 2018 at 13:02 comment added stillnocake Thank you for your answer. I tried to get the solution you proposed to work but I keep receiving and error saying that the line: $Web.Configuration.location.'system.WebServer'.modules.AppendChild($RMNode.Clone()) and $Web.Configuration.location.'system.WebServer'.modules.RemoveChild($RMNode) are null valued. Here's the error I get: You cannot call a method on a null-valued expression. What could possibly be the issue there? Thank you!
Apr 20, 2018 at 1:07 history answered TheMadTechnician CC BY-SA 3.0