<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'howto'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=howto&amp;orTags=0</link><description>Search results matching tag 'howto'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Howto switch from ISAPI to FastCGI PHP on IIS6</title><link>http://forums.iis.net/p/1163084/1926641.aspx#1926641</link><pubDate>Tue, 01 Dec 2009 06:54:20 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1926641</guid><dc:creator>NipponBill</dc:creator><cs:applicationKey>php_community-49</cs:applicationKey><description>I have a Windows 2003 server (SP2) running PHP 4.4.1 as ISAPI. I wanted to try using the Microsoft Web Platform Installer to update PHP, but I heard that it has problems updating setups that run ISAPI. I am assuming that I&amp;#39;ll need to convert to FastCGI first. Are there any guides that might point me in the right direction?</description></item><item><title>Real Life Scenario, would WebDeploy Help?</title><link>http://forums.iis.net/p/1162673/1924913.aspx#1924913</link><pubDate>Mon, 16 Nov 2009 14:41:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1924913</guid><dc:creator>argon0</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>We have a live web site which has to be live 24x7....

We are currently going through a large rebuild program, and are trying to decide on the best ongoing deployment solution.

We regularly have changes which require the site to &amp;quot;recompile&amp;quot; - leading to up to 10 minutes downtime during an update - this is unacceptable.

So we need a deployment solution which will lead to a maximum of 1 minutes downtime.

So far we think the best way to do this is:
1) set up a 2nd site on the Live IIS
2) Upload all new code to the 2nd site
3) Allow DFS to synchronise all web servers
4) Run recompile on all web servers
5) Test new code/site
6) Manually change IIS to point to the new code rather than the old one.


And repeat for each deployment.

I can see that webdeploy could help in points 2 &amp;amp; 3 (sync rather than dfs), and possibly 6 to switch over. Are there any other ways that WebDeploy could help, and/or any better/other tools.

BTW all running on IIS 6.0


Thanks

Argon0</description></item><item><title>Re: steps to setup iis 7.5 smtp and ftp ~~ win 2008 server R2 web edition</title><link>http://forums.iis.net/p/1161582/1920295.aspx#1920295</link><pubDate>Sat, 10 Oct 2009 19:32:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1920295</guid><dc:creator>gerryLowry</dc:creator><cs:applicationKey>iis7_-_setup__migration-41</cs:applicationKey><description>&lt;p&gt;follow up:&lt;/p&gt;
&lt;p&gt;found this useful link:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://learn.iis.net/page.aspx/310/what-is-new-for-microsoft-and-ftp-75/"&gt;http://learn.iis.net/page.aspx/310/what-is-new-for-microsoft-and-ftp-75/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;quote (edited):&lt;/p&gt;
&lt;p&gt;...&amp;nbsp;&lt;strong&gt;&lt;em&gt;brand-new&lt;/em&gt;&lt;/strong&gt; FTP service that is &lt;strong&gt;&lt;em&gt;available as a separate download&lt;/em&gt;&lt;/strong&gt; for Windows Server® 2008&amp;nbsp;...&amp;nbsp;&lt;strong&gt;&lt;em&gt;robust, secure solution&lt;/em&gt;&lt;/strong&gt; for FTP in a Windows environment.&amp;nbsp;... written specifically for Windows Server 2008&amp;nbsp;... enables Web authors to publish content more easily and securely than before, and offers both Web administrators and hosters better integration, management, authentication and logging features.&lt;br /&gt;&lt;br /&gt;... there are &lt;font style="BACKGROUND-COLOR:#ffff00;" size="4"&gt;&lt;strong&gt;&lt;em&gt;two&lt;/em&gt;&lt;/strong&gt;&lt;/font&gt; FTP services available for IIS 7.0:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The new Microsoft FTP service for IIS 7.0 is provided as a download from the Web for Windows Server 2008. 
&lt;li&gt;The other FTP service ships on the Windows Vista™ and Windows Server 2008 DVD. ( ..&amp;nbsp;essentially the same FTP service from IIS 6.0.)&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;There are &lt;strong&gt;&lt;em&gt;&lt;font style="BACKGROUND-COLOR:#ffff00;"&gt;two separate downloadable&lt;/font&gt;&lt;/em&gt;&lt;/strong&gt; packages for the new FTP server; you will need to download the appropriate package for your version of Windows Server 2008:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;32-bit Installation Package&lt;/b&gt;: 
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=143196" target="_blank"&gt;&lt;font color="#034af3"&gt;FTP 7.5 for IIS 7.0 (x86)&lt;/font&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;&lt;b&gt;64-bit Installation Package&lt;/b&gt;: 
&lt;ul&gt;
&lt;li&gt;
&lt;p align="left"&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=143197"&gt;&lt;font color="#034af3"&gt;FTP 7.5 for IIS 7.0 (x64)&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p align="left"&gt;See also:&lt;br /&gt;&lt;a href="http://learn.iis.net/page.aspx/263/installing-and-troubleshooting-ftp75/"&gt;http://learn.iis.net/page.aspx/263/installing-and-troubleshooting-ftp75/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>MSDeploy: Deploy to server and create virtual directory</title><link>http://forums.iis.net/p/1156524/1899055.aspx#1899055</link><pubDate>Wed, 01 Apr 2009 22:56:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1899055</guid><dc:creator>michael.it</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;Is there a way to deploy the contents of a local folder to a remote server and at the same time create a new virtual directory for the content on the remote server using MSDeploy?&lt;/p&gt;

&lt;p&gt;
For example, I&amp;#39;d like to use MSDeploy to deploy the contents of &amp;quot;C:\MyWebFolder&amp;quot; to &amp;quot;http://myserver/MyWebApp&amp;quot; (with a local path for the virtual directory of &amp;quot;C:\ServerWebFolder&amp;quot;). The source machine does not run IIS and the source folder is not part of a website; it is just a windows directory with content for deployment.&lt;/p&gt;

&lt;p&gt;
Currently, I can sync the content of the source and destination folders using MSDeploy, and I can change the local path of an existing virtual directory (thanks, ninatang).&lt;/p&gt;

&lt;p&gt;
The problem is that I don&amp;#39;t know how use MSDeploy to create a new virtual directory on the remote server that will map to the destination content path. Is there a way to do this using MSDeploy? Or maybe someone sees a better way to use MSDeploy to do what I&amp;#39;m proposing?&lt;/p&gt;</description></item><item><title>Anonymous user</title><link>http://forums.iis.net/p/1153858/1887867.aspx#1887867</link><pubDate>Wed, 17 Dec 2008 19:08:20 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1887867</guid><dc:creator>CedricBoivin</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>How with msdeploy i can specify the new AnonymousUser and password when i migrate my website from IIS 6.0 to IIS 7.0.&lt;br /&gt;My servers are not in a domain so it&amp;#39;s not the same anonymous user.&lt;br /&gt;Thanks a lots.
</description></item><item><title>How to run msdeploy with elevated privileges (as administrator)</title><link>http://forums.iis.net/p/1153511/1886530.aspx#1886530</link><pubDate>Tue, 02 Dec 2008 19:36:16 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1886530</guid><dc:creator>DeanMajor</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am currently working on a deployment web app, which wraps msdeploy. I have run successfully from my local machine. However, when deployed to our dev server, the deployment app doesn&amp;#39;t work. Files are not copied and I get the following event log entry:&lt;/p&gt;
&lt;p&gt;Event Type: Error&lt;br /&gt;Event Source: Application Error&lt;br /&gt;Event Category: (100)&lt;br /&gt;Event ID: 1000&lt;br /&gt;Date:&amp;nbsp; 12/1/2008&lt;br /&gt;Time:&amp;nbsp; 4:48:23 PM&lt;br /&gt;User:&amp;nbsp; N/A&lt;br /&gt;Computer: DWEBAPP01.xxxx.Com&lt;br /&gt;Description:&lt;br /&gt;Faulting application msdeploy.exe, version 7.1.300.0, faulting module 490650db, version KERNEL32.dll, fault address 0x6.0.6001.18000.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using IIS7 on&amp;nbsp;our&amp;nbsp;dev server (running Windows Server 2008), and my web development is using VS2008. In my deployment web app, I create a process and start it, using the following code:&lt;/p&gt;
&lt;p&gt;mDeployProcess = new Process&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;StartInfo = new ProcessStartInfo&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FileName = cDeployCommandPath,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Arguments = DeployParameters(),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UseShellExecute = false,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CreateNoWindow = true,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UserName = cBuilder,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Password = GetSecurePassword(cBuilderPassword)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/p&gt;
&lt;p&gt;};&lt;br /&gt;mDeployProcess.Start();&lt;/p&gt;
&lt;p&gt;The FileName parameter points to msdeploy.exe, and the Arguments parameter ends up as follows:&lt;/p&gt;
&lt;p&gt;-verb:sync -source:contentPath=\\builderpc\TeamCityBuildArtifacts\xxx.EnterpriseServices\xxx.EnterpriseServices_Release\405\ -dest:contentPath=\\dwebapp01\c$\inetpub\wwwroot\xxx.EnterpriseServices,computerName=DWEBAPP01,username=builder,password=builder&lt;/p&gt;
&lt;p&gt;I can run msdeploy from a command prompt on the dev server using these parameters successfully, if I select &amp;quot;Run as administrator&amp;quot; when opening the command prompt. How do I make my web app run msdeploy as an administrator? I&amp;#39;ve read some posts about the need to use elevated privileges, but I don&amp;#39;t know how to do this, or even if that is the correct solution. Any help much appreciated.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Dean&lt;/p&gt;</description></item><item><title>Re: Fatal: Object reference not set to an instance of an object</title><link>http://forums.iis.net/p/1152263/1881738.aspx#1881738</link><pubDate>Fri, 10 Oct 2008 14:50:26 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881738</guid><dc:creator>Sader</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;I fixed this error by disable the &amp;#39;script source acces&amp;#39; on the home directory tab.&lt;/p&gt;
&lt;p&gt;But the following error appears at the next stap:&lt;/p&gt;
&lt;p&gt;Action: Adding child metaProperty (/lm/w3svc/1017621628/root/AccessFlags)&lt;br /&gt;Fatal: Object reference not set to an instance of an object.&lt;br /&gt;Debug: System.NullReferenceException: Object reference not set to an instance of&lt;br /&gt;&amp;nbsp;an object.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.MigrateAnonymousUserRuleHandler.Update(Deployment&lt;br /&gt;SyncContext syncContext, DeploymentObject destObject, DeploymentObject&amp;amp; sourceOb&lt;br /&gt;ject, Boolean&amp;amp; proceed)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.MigrateAnonymousUserRuleHandler.AddChild(Deployme&lt;br /&gt;ntSyncContext syncContext, DeploymentObject destParentObject, DeploymentObject&amp;amp;&lt;br /&gt;sourceObject, Boolean&amp;amp; proceed)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentSyncContext.HandleAddChild(DeploymentOb&lt;br /&gt;ject destParent, DeploymentObject sourceObject, Int32 position)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(Deploym&lt;br /&gt;entObject dest, DeploymentObject source)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildren(DeploymentObje&lt;br /&gt;ct dest, DeploymentObject source)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentSyncContext.HandleAddChild(DeploymentOb&lt;br /&gt;ject destParent, DeploymentObject sourceObject, Int32 position)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(Deploym&lt;br /&gt;entObject dest, DeploymentObject source)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildren(DeploymentObje&lt;br /&gt;ct dest, DeploymentObject source)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentSyncContext.ProcessSync(DeploymentObjec&lt;br /&gt;t destinationObject, DeploymentObject sourceObject)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentObject.Sync(DeploymentObject sourceObje&lt;br /&gt;ct, DeploymentSyncConfig syncConfig)&lt;br /&gt;Change count: 22&lt;br /&gt;Fatal count: 1&lt;/p&gt;</description></item><item><title>IIS 6.0 to IIS 7.0 migration issues</title><link>http://forums.iis.net/p/1151648/1879014.aspx#1879014</link><pubDate>Wed, 10 Sep 2008 19:56:33 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1879014</guid><dc:creator>nvr8981</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m having issues migrating websites and AppPools from IIS 6.0 to IIS 7.0.&amp;nbsp; Right now I&amp;#39;m using the following script:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;msdeploy -verb:migrate -source:metakey=lm/w3svc/1,computerName=10.2.1.120 -dest:metakey=lm/w3svc/1 -whatif &amp;gt; msdeploymigrate.log&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This gets the Default AppPool to the destination server, however we have another folder on the webserver that is not in the Inetpub folder.&amp;nbsp; What script can I use to get the rest of the websites transfered over to the new server?&lt;/p&gt;</description></item><item><title>Sync the metabase and site content</title><link>http://forums.iis.net/p/1148773/1866928.aspx#1866928</link><pubDate>Tue, 08 Apr 2008 15:28:36 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1866928</guid><dc:creator>jedatu</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;I must be missing something.&amp;nbsp; When I run the following code from the &amp;quot;Archiving and Restoring&amp;quot; walkthrough the only thing that is synced is the metabase.&lt;/p&gt;&lt;p&gt;msdeploy.exe -verb:sync -source:metakey=LM/W3SVC/1031013737/ -dest:archivedir=F:\IISArchive\MySIte &amp;gt; F:\IISArchive\MySite.log&amp;nbsp;&lt;/p&gt;&lt;p&gt;Shouldn&amp;#39;t it be archiving the content as well or do you have to run it multiple times like so:&lt;/p&gt;&lt;p&gt;&amp;nbsp;msdeploy.exe -verb:sync -source:metakey=LM/W3SVC/1031013737/
-dest:archivedir=F:\IISArchive\MySIteMetabase &amp;gt; F:\IISArchive\MySite.log &lt;/p&gt;&lt;p&gt;&amp;nbsp;msdeploy.exe -verb:sync -source:dirPath=&amp;quot;F:\Clients\Web\MySite&amp;quot;
-dest:archivedir=F:\IISArchive\MySIteContent &amp;gt; F:\IISArchive\MySite.log &lt;/p&gt;&lt;p&gt;etc.&lt;/p&gt;&lt;p&gt;Intuitively, this doesn&amp;#39;t seem right to me, which is why I think I must be missing something.&lt;/p&gt;&lt;p&gt;Any direction would would be much appreciated.&lt;/p&gt;&lt;p&gt;Thanks!&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>