<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>Serge&#039;s Technology View &#187; windows installer and iis 7</title>
	<atom:link href="http://blog.dragonsoft.us/tag/windows-installer-and-iis-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dragonsoft.us</link>
	<description>Talk about Technologies, Software Architecture and Management</description>
	<lastBuildDate>Tue, 31 Jan 2012 01:43:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Visual Studio 2008 and IIS 7</title>
		<link>http://blog.dragonsoft.us/2009/01/02/visual-studio-2008-and-iis-7/</link>
		<comments>http://blog.dragonsoft.us/2009/01/02/visual-studio-2008-and-iis-7/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 17:41:36 +0000</pubDate>
		<dc:creator>Serguei Dosyukov</dc:creator>
				<category><![CDATA[Web-design]]></category>
		<category><![CDATA[enable 32 bit support in iis 7]]></category>
		<category><![CDATA[iis 6 compatability in iis 7]]></category>
		<category><![CDATA[iis 7 32 bit mode]]></category>
		<category><![CDATA[windows installer and iis 7]]></category>
		<guid isPermaLink="false">http://blog.dragonsoft.us/?p=745</guid>
		<description><![CDATA[Deploying ASP.Net applications is always fun when it comes to packages which are more complex then usual and require additional actions taken and this one is not an exception. I think this topic run into the ground, but it seems &#8230; <a href="http://blog.dragonsoft.us/2009/01/02/visual-studio-2008-and-iis-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Deploying ASP.Net applications is always fun when it comes to packages which are more complex then usual and require additional actions taken and this one is not an exception.</p>
<p>I think this topic run into the ground, but it seems to come back again and again. I guess the reason for that is &#8220;default&#8221; state set for the environment&#8230;</p>
<p>After upgrade of operating system to Vista IIS 7 would be installed. This brings some &#8220;inconveniences&#8221; into usual development process. Aside from worrying about disabling UAC, few other things usually breaks.</p>
<p>One of them is that setup package for ASP.Net application created in Visual Studio starts to fail with the error that installer session closed improperly and process has to be restarted (or similar).</p>
<p>If we look into installer log (check <a href="http://blogs.msdn.com/windows_installer_team/archive/2005/09/21/471793.aspx" target="_blank">here </a>on how to enable debug mode) the following error could be found:</p>
<blockquote><p>Action 11:18:53: WEBCA_SetTARGETSITE.<br />
Action start 11:18:53: WEBCA_SetTARGETSITE.<br />
MSI (c) (B4:A4) [11:18:53:657]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = &#8216;WEBCA_SetTARGETSITE&#8217;<br />
MSI (c) (B4:A4) [11:18:53:661]: Creating MSIHANDLE (1) of type 790542 for thread 4260<br />
MSI (c) (B4:4C) [11:18:53:662]: Invoking remote custom action. DLL: C:\Users\SDOSYU~1\AppData\Local\Temp\MSI2978.tmp, Entrypoint: SetTARGETSITE<br />
MSI (c) (B4:F0) [11:18:53:666]: Cloaking enabled.<br />
MSI (c) (B4:F0) [11:18:53:666]: Attempting to enable all disabled privileges before calling Install on Server<br />
MSI (c) (B4!14) [11:18:53:726]: Creating MSIHANDLE (2) of type 790531 for thread 4116<br />
INFO   : [01/02/2009 11:18:53:726] [SetTARGETSITE ]: Custom Action is starting&#8230;<br />
INFO   : [01/02/2009 11:18:53:727] [SetTARGETSITE ]: CoInitializeEx &#8211; COM initialization Apartment Threaded&#8230;<br />
ERROR  : [01/02/2009 11:18:53:729] [SetTARGETSITE ]: FAILED: -2147221164<br />
ERROR  : [01/02/2009 11:18:53:730] [SetTARGETSITE ]: Custom Action failed with code: &#8217;340&#8242;<br />
INFO   : [01/02/2009 11:18:53:731] [SetTARGETSITE  ]: Custom Action completed with return code: &#8217;340&#8242;</p></blockquote>
<p>Very informational&#8230; Who would guess that it simply comes to support for IIS 6 API. In IIS 7 it called &#8220;IIS 6 Management compatability&#8221;.</p>
<p>Usually this module is not installed by default and we have to actually enable it.<br />
Very simple and very quick solution is to go &#8220;Control Panel\Programs and Features\Turn Windows features on or off&#8221; and then click the check box.</p>
<p><a href="http://blog.dragonsoft.us/wp-content/uploads/2009/01/iis7support.png" target="_blank"><img class="size-medium wp-image-746" style="margin: 5px;" title="iis7support" src="http://blog.dragonsoft.us/wp-content/uploads/2009/01/iis7support-300x262.png" alt="iis7support" width="240" height="210" /></a></p>
<p>There is one more problem which may be encountered on 64 bit machine &#8211; support for 32 bit assemblies is disabled by default. To reenable, change Application Pool Defaults for your IIS 7 installation:<br />
<a href="http://blog.dragonsoft.us/wp-content/uploads/2009/01/32bitaspon64bitos.png" target="_blank"><img class="size-medium wp-image-759" style="margin: 5px;" title="32bitaspon64bitos" src="http://blog.dragonsoft.us/wp-content/uploads/2009/01/32bitaspon64bitos-300x192.png" alt="32bitaspon64bitos" width="300" height="192" /></a></p>
<hr/><span style="font-size: 7pt">Copyright &copy; 2012 <strong><a href="http://blog.dragonsoft.us">Serge&#039;s Technology View</a></strong>. This Feed is for personal non-commercial use only.</span>]]></content:encoded>
			<wfw:commentRss>http://blog.dragonsoft.us/2009/01/02/visual-studio-2008-and-iis-7/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

