It is not about creating web site, but creating of app pool is failing :(
It is already in bug database.

-----Original Message-----
From: Rob Jarratt (MCS UK) [mailto:rjarr...@microsoft.com] 
Sent: Monday, April 19, 2010 6:53 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Cannot Create Site on IIS 6 on Windows Server 2003

I am trying to create a package that installs a web site on Windows Server 
2003, using WiX 3.5.1602.0 (the latest I am aware of). No matter what I do I 
get errors like this:

MSI (s) (1C:D4) [16:58:25:165]: Executing op: CacheSizeFlush(,)
MSI (s) (1C:D4) [16:58:25:165]: Executing op: InstallProtectedFiles(AllowUI=1)
MSI (s) (1C:D4) [16:58:25:165]: Executing op: 
ActionStart(Name=StartMetabaseTransaction,Description=Starting IIS Metabase 
Transaction,)
MSI (s) (1C:D4) [16:58:25:165]: Executing op: 
CustomActionSchedule(Action=StartMetabaseTransaction,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (1C:D4) [16:58:25:165]: Creating MSIHANDLE (412) of type 790536 for 
thread 3028
MSI (s) (1C:64) [16:58:25:165]: Invoking remote custom action. DLL: 
C:\WINDOWS\Installer\MSI1E7.tmp, Entrypoint: StartMetabaseTransaction
MSI (s) (1C!50) [16:58:25:305]: Creating MSIHANDLE (413) of type 790531 for 
thread 848
MSI (s) (1C!50) [16:58:25:305]: Closing MSIHANDLE (413) of type 790531 for 
thread 848
MSI (s) (1C:64) [16:58:25:305]: Closing MSIHANDLE (412) of type 790536 for 
thread 3028
MSI (s) (1C:D4) [16:58:25:305]: Executing op: 
ActionStart(Name=RollbackMetabaseTransaction,Description=Rolling back IIS 
Metabase Transaction,)
MSI (s) (1C:D4) [16:58:25:305]: Executing op: 
CustomActionSchedule(Action=RollbackMetabaseTransaction,ActionType=11521,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (1C:D4) [16:58:25:315]: Executing op: 
ActionStart(Name=CommitMetabaseTransaction,Description=Committing IIS Metabase 
Transaction,)
MSI (s) (1C:D4) [16:58:25:315]: Executing op: 
CustomActionSchedule(Action=CommitMetabaseTransaction,ActionType=11777,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (1C:D4) [16:58:25:315]: Executing op: 
ActionStart(Name=ConfigureIIsExec,Description=Executing IIS Configuration,)
MSI (s) (1C:D4) [16:58:25:315]: Executing op: 
CustomActionSchedule(Action=ConfigureIIsExec,ActionType=3073,Source=BinaryData,Target=ConfigureIIsExec,CustomActionData=ConfigureIIs€1€5€1€User€1€Component_€1€Name€1€Domain€1€Password€1€3€AppPoolUser€Web€NetworkService€€€4€2€1€0€0€2€1€16€1€AppPool€1€Name€1€Component_€1€Attributes€2€User_€1€RecycleMinutes€2€RecycleRequests€2€RecycleTimes€1€VirtualMemory€2€PrivateMemory€2€IdleTimeout€2€QueueLimit€2€CPUMon€1€MaxProc€2€ISInstalled€2€ISAction€2€3€TestAppPool€TestPool€Web€8€AppPoolUser€-2147483648€-2147483648€€-2147483648€-2147483648€-2147483648€-2147483648€0€-2147483648€2€3€4€2€1€0€0€2€1€0€0€2€1€0€0€2€1€0€0€2€1€0€0€2€1€0€0€2€1€0€0€2€1€0€0€2€1€20€1€Web€1€Component_€1€Id€1€Description€1€ConnectionTimeout€2€Directory_€1€State€2€Attributes€2€DirProperties_€1€Application_€1€Address€1€IP€1€Port€1€Header€1€Secure€2€Log_€1€ISInstalled€2€ISAction€2€SourcePath€1€TargetPath€1€3€TestWebSite€Web€€TestWebSite€-2147483648€INSTALLLOCATION€-2147483648€-2147483648€€€AllUnassigned€€80€www.contoso.com€0€€2€3€€C:\Program
 Files\SetupProject1\€4€2€1€6€1€Address€1€W
MSI (s) (1C:D4) [16:58:25:315]: Creating MSIHANDLE (414) of type 790536 for 
thread 3028
MSI (s) (1C:28) [16:58:25:315]: Invoking remote custom action. DLL: 
C:\WINDOWS\Installer\MSI1E8.tmp, Entrypoint: ConfigureIIsExec
MSI (s) (1C!A0) [16:58:25:746]: Creating MSIHANDLE (415) of type 790531 for 
thread 1696
MSI (s) (1C!A0) [16:58:25:766]: Creating MSIHANDLE (416) of type 790531 for 
thread 1696
MSI (s) (1C!A0) [16:58:25:766]: Creating MSIHANDLE (417) of type 790531 for 
thread 1696
MSI (s) (1C!A0) [16:58:25:776]: Creating MSIHANDLE (418) of type 790531 for 
thread 1696
ConfigureIIsExec:  Error 0x80070006: Failed to format string
MSI (s) (1C!A0) [16:58:25:776]: Closing MSIHANDLE (418) of type 790531 for 
thread 1696
MSI (s) (1C!A0) [16:58:25:776]: Closing MSIHANDLE (417) of type 790531 for 
thread 1696
MSI (s) (1C!A0) [16:58:25:776]: Creating MSIHANDLE (419) of type 790531 for 
thread 1696
ConfigureIIsExec:  Error 0x80070006: failed to get AppPool.Name
MSI (s) (1C!A0) [16:58:25:776]: Closing MSIHANDLE (419) of type 790531 for 
thread 1696
MSI (s) (1C!A0) [16:58:25:776]: Closing MSIHANDLE (416) of type 790531 for 
thread 1696
MSI (s) (1C!A0) [16:58:25:776]: Creating MSIHANDLE (420) of type 790531 for 
thread 1696
ConfigureIIsExec:  Error 0x80070006: failed while processing WebAppPools
MSI (s) (1C!A0) [16:58:25:776]: Closing MSIHANDLE (420) of type 790531 for 
thread 1696
MSI (s) (1C!A0) [16:58:25:776]: Creating MSIHANDLE (421) of type 790531 for 
thread 1696
MSI (c) (F4:24) [16:58:25:786]: Font created.  Charset: Req=0, Ret=0, Font: 
Req=MS Shell Dlg, Ret=MS Shell Dlg

Error 26006. Failed while processing WebAppPools. (-2147024890         )
MSI (s) (1C!A0) [16:58:28:109]: Product: SetupProject1 -- Error 26006. Failed 
while processing WebAppPools. (-2147024890         )


Previously I was using build 1505 and getting the same errors.

Here is the WiX I am using:

      <Component Id="Web" Guid="12C82248-7945-4ADE-9730-FD3A14780D4B">

        <util:User Id="AppPoolUser" Name="[WSUSERNAME]" Password="[WSPASSWORD]" 
CreateUser="no"/>
        <iis:WebAppPool Id="TestAppPool" Identity="other" Name="TestPool" 
User="AppPoolUser"/>

        <iis:WebSite Id="TestWebSite" Description="TestWebSite" 
Directory="INSTALLLOCATION">
          <!--<iis:WebDirProperties Id="TestWebSiteProperties" 
WindowsAuthentication="yes"/>-->
          <iis:WebAddress Id="AllUnassigned" Header="[HOSTHEADER]" 
Port="[PORT]" />
          <!--<iis:WebApplication Id="TestApplication" Name="Test" 
WebAppPool="TestAppPool"/>-->
        </iis:WebSite>

      </Component>

Running the same installer on Windows 7 works fine.

Any idea what the problem might be?

Regards

Rob

Robert Jarratt
Senior Consultant
Microsoft Consulting Services
Microsoft Ltd.
Tel.: +44 (118) 909 4923
mailto:rjarr...@microsoft.com

This email may contain confidential information. If you are not named on the 
addressee list, please take no action in relation to this email, do not open 
any attachment, and please contact the sender (details above) immediately.
Information in this email is provided in good faith. If you are a customer of 
Microsoft, please refer to the terms and conditions which cover the provision 
of support and consulting services to you/your organization. If you are not 
corresponding in the course of, or in connection with a Microsoft contract or 
programme with its own terms and conditions, please note that no liability is 
accepted by Microsoft for the contents of this mail.
Microsoft Limited (company number 01624297) is a company registered in England 
and Wales whose registered office is at Microsoft Campus, Thames Valley Park, 
Reading. RG6 1WG

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
</pre>
<BR style="font-size:4px;">
<a href = "http://www.sdl.com";><img src="http://www.sdl.com/images/email 
logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a>
<BR>
<font face="arial"  size="2" "><a href = "http://www.sdl.com"; 
style="color:005740; font-weight: bold">www.sdl.com</a>
<BR>
<BR>
<font face="arial"  size="1" color="#736F6E">
<b>SDL PLC confidential, all rights reserved.</b>
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.<BR>
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.<BR>
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
</font>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to