I created 3 WebSites named [CLOUDAPPNAME] , [WORKFLOW450APPNAME] , [WORKFLOWAPPNAME] but when compiled i got this error
setup.wxs(5947) : error LGHT0130 : The primary key 'WebAddress' is duplicated in table 'IIsWebAddress'. Please remove one of the entries or rename a part of the primary key to avoid the collision.
When I look into setup.wxs I saw that [WORKFLOWAPPNAME] and [CLOUDAPPNAME] had duplicate WebAddress while [WORKFLOW450APPNAME] did not.
[WORKFLOWAPPNAME] :
<IIS:WebSite Id="CreateIISWebSite_0001" AutoStart="no" ConfigureIfExists="no" ConnectionTimeout="120" Description="[WORKFLOWAPPNAME]" Directory="REDMAP" Sequence="1" StartOnInstall="no" WebLog="weblog_none">
<IIS:WebAddress Id="WebAddress" Port="80"/>
[CLOUDAPPNAME] :
<IIS:WebSite Id="CreateIISWebSite_0003" AutoStart="no" ConfigureIfExists="no" ConnectionTimeout="120" Description="[CLOUDAPPNAME]" Directory="REDMAPCLOUDSERVICE" Sequence="1" StartOnInstall="yes" WebLog="weblog_none">
<IIS:WebAddress Id="WebAddress" Port="80" Header="localhost" IP="127.0.0.1"/>
[WORKFLOW450APPNAME] :
<IIS:WebSite Id="CreateIISWebSite_0002" AutoStart="no" ConfigureIfExists="no" ConnectionTimeout="120" Description="[WORKFLOW450APPNAME]" Directory="WORKFLOWCLOUDSERVICE" Sequence="1" StartOnInstall="no" WebLog="weblog_none">
<IIS:WebAddress Id="WebAddress_0002" Port="80"/>
I also attached the project file .
setup.wxs(5947) : error LGHT0130 : The primary key 'WebAddress' is duplicated in table 'IIsWebAddress'. Please remove one of the entries or rename a part of the primary key to avoid the collision.
When I look into setup.wxs I saw that [WORKFLOWAPPNAME] and [CLOUDAPPNAME] had duplicate WebAddress while [WORKFLOW450APPNAME] did not.
[WORKFLOWAPPNAME] :
<IIS:WebSite Id="CreateIISWebSite_0001" AutoStart="no" ConfigureIfExists="no" ConnectionTimeout="120" Description="[WORKFLOWAPPNAME]" Directory="REDMAP" Sequence="1" StartOnInstall="no" WebLog="weblog_none">
<IIS:WebAddress Id="WebAddress" Port="80"/>
[CLOUDAPPNAME] :
<IIS:WebSite Id="CreateIISWebSite_0003" AutoStart="no" ConfigureIfExists="no" ConnectionTimeout="120" Description="[CLOUDAPPNAME]" Directory="REDMAPCLOUDSERVICE" Sequence="1" StartOnInstall="yes" WebLog="weblog_none">
<IIS:WebAddress Id="WebAddress" Port="80" Header="localhost" IP="127.0.0.1"/>
[WORKFLOW450APPNAME] :
<IIS:WebSite Id="CreateIISWebSite_0002" AutoStart="no" ConfigureIfExists="no" ConnectionTimeout="120" Description="[WORKFLOW450APPNAME]" Directory="WORKFLOWCLOUDSERVICE" Sequence="1" StartOnInstall="no" WebLog="weblog_none">
<IIS:WebAddress Id="WebAddress_0002" Port="80"/>
I also attached the project file .
Comment