You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Name attribute does not work when using iis:WebDirProperties in a merge module.
When looking with Orca the Name has not been modularized (it does not have the module GUID suffix), so it does not match the correct id, and fails at runtime.
The workaround is to add the module GUID to the property name, ie.
The Name attribute does not work when using iis:WebDirProperties in a merge module.
When looking with Orca the Name has not been modularized (it does not have the module GUID suffix), so it does not match the correct id, and fails at runtime.
The workaround is to add the module GUID to the property name, ie.
<iis:WebVirtualDir Id="MyVirtualDirectory" Alias="[IISVIRTUALDIRNAME]" Directory="MyDir" WebSite="DefaultWebSite">
<iis:WebDirProperties Id="MyWebVirtDirProperties"
AnonymousAccess="no" BasicAuthentication="no" WindowsAuthentication="yes" />
<iis:WebApplication Id="MyWebApp" Name="[IISVIRTUALDIRNAME.3046AA32_9FB3_45A0_8A32_19D3BC042671]" WebAppPool="MyAppPool" />
/iis:WebVirtualDir
The text was updated successfully, but these errors were encountered: