This error occured as I tried to install a custom installer web project, built with VS2008 in 32-Bit or 64-Bit mode on my 64-Bit target system.
To get more details on that error, I tried the following command in my console window:
msiexec /i /l*vx install.log
The log file pointed out the following error:
MSI (c) (60:54) [17:00:43:240]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (60:54) [17:00:43:240]: Connected to service for CA interface.
INFO : [06/22/2008 17:00:43:346] [SetTARGETSITE]: Custom Action is starting...
INFO : [06/22/2008 17:00:43:347] [SetTARGETSITE]: CoInitializeEx - COM initialization Apartment Threaded...
ERROR : [06/22/2008 17:00:43:349] [SetTARGETSITE]: FAILED: -2147221164
ERROR : [06/22/2008 17:00:43:349] [SetTARGETSITE]: Custom Action failed with code: '340'
INFO : [06/22/2008 17:00:43:350] [SetTARGETSITE]: Custom Action completed with return code: '340'
Action ended 17:00:43: WEBCA_SetTARGETSITE. Return value 3.
MSI (c) (60:E4) [17:00:43:352]: Doing action: AdminFatalErrorForm
After some "googling" I found the following two reasons for this problem and the solution to work around this issue:
1st reason:
In IIS 7 its called "IIS 6 Management compatability".
By default this module is not installed and enable. So we have to got to
"Control Panel\Programs and Features\Turn Windows features on or off" and then click the check box to enable that feature.
2nd reason:
Another issue might be the usage of 32-bit applications with a 64-bit IIS machine.
By default 32-bit applications are disabled. On the picture below you find a way how to enable them.
To get more details on that error, I tried the following command in my console window:
msiexec /i
The log file pointed out the following error:
MSI (c) (60:54) [17:00:43:240]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (60:54) [17:00:43:240]: Connected to service for CA interface.
INFO : [06/22/2008 17:00:43:346] [SetTARGETSITE]: Custom Action is starting...
INFO : [06/22/2008 17:00:43:347] [SetTARGETSITE]: CoInitializeEx - COM initialization Apartment Threaded...
ERROR : [06/22/2008 17:00:43:349] [SetTARGETSITE]: FAILED: -2147221164
ERROR : [06/22/2008 17:00:43:349] [SetTARGETSITE]: Custom Action failed with code: '340'
INFO : [06/22/2008 17:00:43:350] [SetTARGETSITE]: Custom Action completed with return code: '340'
Action ended 17:00:43: WEBCA_SetTARGETSITE. Return value 3.
MSI (c) (60:E4) [17:00:43:352]: Doing action: AdminFatalErrorForm
After some "googling" I found the following two reasons for this problem and the solution to work around this issue:
1st reason:
In IIS 7 its called "IIS 6 Management compatability".
By default this module is not installed and enable. So we have to got to
"Control Panel\Programs and Features\Turn Windows features on or off" and then click the check box to enable that feature.
2nd reason:
Another issue might be the usage of 32-bit applications with a 64-bit IIS machine.
By default 32-bit applications are disabled. On the picture below you find a way how to enable them.
Comments
Post a Comment