OS Name/Version: Windows 10 Pro
Product Name/Version: AMP Instance Manager V22.214.171.124
Problem Description: When a new instance is created UPnP the manager isnt opening any ports. Found and attempted the Registry edit and now an error is produced, happens consistantly with it. Using a seperate program to check if the UPnP ports have been mapped show’s that no new ports have been mapped whenever a new instance is spooled up.
[Info] AMP Instance Manager v126.96.36.199 built 10/10/2022 21:19
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Using Windows Advanced Firewall firewall.
[Info] No new firewall rules to add
[Info] No existing firewall rules to remove
[Error] IM was unable to execute the requested command.
[Error]  (TargetInvocationException) : Exception has been thrown by the target of an invocation.
[Error] at InstanceManagerCLI.Core.()
[Error]  (InvalidCastException) : Specified cast is not valid.
[Error] at InstanceManagerPlugin.LocalInstanceManager.get_Platform_GetUPnPSyncEnabled()
at InstanceManagerCLI.Core.UpdateFirewall(String SourceUser, Boolean DryRun, Boolean forceUPnPSync)
Steps to reproduce:
- Create instance with UPnP sync active
- Run ampinstmgr updatefirewall
- Error happens.
Actions taken to resolve so far: Added UPnPSyncEnabled still error occurs