Skip to content

WebSites: Binding infos not supported #159

@psdgal

Description

@psdgal

Problem description

Specifying the binding infos for a website, the MOF compilation fails.

Verbose logs

Write-NodeMOFFile : Invalid MOF definition for node 'localhost_WebSites': Exception calling "ValidateInstanceText" with "1" argument(s): "Convert property 'BindingInfo' value from type 
'STRING[]' to type 'INSTANCE[]' failed

DSC configuration

Items:
  - Name: TestSite1
    ApplicationPool: TestAppPool1
    BindingInfo:
      Protocol: HTTPS
      Port: 443
      HostName: test.com
      CertificateThumbprint: 466CD26A6E2F346A3A813D12E2BAAD0E886E7BBF
  - Name: TestSite2
    ApplicationPool: TestAppPool2
  # Remove IIS Default WebSite
  - Name: Default Web Site
    Ensure: Absent

Operating system the target node is running

OsName               : Microsoft Windows 10 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture       : 64-bit
WindowsVersion       : 2009
WindowsBuildLabEx    : 19041.1.amd64fre.vb_release.191206-1406
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

PowerShell version and build the target node is running

Name                           Value
----                           -----
PSVersion                      5.1.19041.1320
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.1320
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

CommonTasks version

0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions