<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>iis &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/iis/</link>
	<description>Feed of posts on WordPress.com tagged "iis"</description>
	<pubDate>Wed, 15 Oct 2008 19:38:47 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[PHP versus .Net?]]></title>
<link>http://schaduw.wordpress.com/?p=156</link>
<pubDate>Wed, 15 Oct 2008 08:51:43 +0000</pubDate>
<dc:creator>Erik</dc:creator>
<guid>http://schaduw.id.wordpress.com/2008/10/15/php-versus-net/</guid>
<description><![CDATA[Als non-techie vraag ik mij wel eens af, welk systeem is het beste, wat is beter? Wellicht een vag]]></description>
<content:encoded><![CDATA[<p>Als non-techie vraag ik mij wel eens af, welk systeem is het beste, wat is beter? Wellicht een vage vraag, maar laat me deze verduidelijken aan de hand van een concreet voorbeeld.</p>
<p>Tijdens de door stichting Laluz georganiseerde "<em>Boost a World 2008 ~ Aan Tafel</em>" evenement werkte mee ik in een team dat zich bezig hield met voorraadbeheer. Met een teamgenoot had ik een discussie over het inrichten van een nieuwe applicatie voor de voedselbanken in Nederland. Het zou een ASP moeten zijn waarop de verschillende Voedselbanken hun voorraden kunnen beheren en uitwisselen. Op deze wijze zouden ze samen een eenvoudig doch effectief onderling distributie systeem op moeten kunnen zetten. Een aanzet daartoe hadden we ook al ontworpen. (Bij deze een oproep aan de komende stichting Voedselbanken Nederland, neem contact met ons op als u deze gratis dienst wenst te laten implementeren, doen we allemaal voor u).</p>
<p style="color:#000000;">De discussie spitste zich toe op de te gebruiken systemen. We dachten beiden aan een MySQL database alleen meteen daarna liep het anders. Ik dacht dat een LAMP systeem het beste zou zijn (LAMP = Linux, Apachache, MySQL, PHP), het zijn immers allemaal vrije open source software (v/oss) tools, dus gratis verkrijgbaar en aanpasbaar. Het voorgestelde alternatief zou .Net, MySQL en Windows Server 2008 zijn. In dat geval zou men voor zowel .Net als voor de Windows Server jaarlijks een licentie moeten betalen. Mijn collega teamgenoot kwam echter met het argument dat .Net veiliger is dan PHP en daar liep mijn kennis spaak. Is het inderdaad zo dat PHP meer veiligheidslekken kent dan .Net? En hoe verhoud zich dit in het geheel? Geld bij een software systeem ook dat de ketting zo zwak is als de zwakste schakel? Want van Linux servers is weer wel bekend dat ze veiliger zijn dan Windows servers. Eveneens is Apache over het algemeen de meest gebruikte en als meest veilig erkende webserver. Veiliger dan Microsoft Internet Information Services (IIS), tenminste voor zo ver ik gehoord heb.</p>
<p>Is de veiligheid van PHP dan de norm? Of spelen er andere reden vraag ik me nu af? Is er bijvoorbeeld de onbekendheid met PHP een oorzaak van? Deze discussie is uiteraard nog niet ten einde, ik heb nog vele vragen en zal eens zoeken naar de beveiliging van de verschillende systemen.</p>
<p>Voor de Voedselbanken is geregeld dat een sponsor de .Net ontwikkeling voor zijn rekening zou nemen en een windows server zou doneren. Dat scheelt weer in de kosten. Maar hoe lang doet die sponsor dat? En als het eindigt, is een vrij systeem niet te preferen boven een gesloten systeem met de bijbehorende licenties?</p>
<p>Graag zie ik hier reacties op!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Connection String In Production Environment]]></title>
<link>http://xneuron.wordpress.com/?p=59</link>
<pubDate>Tue, 14 Oct 2008 03:20:27 +0000</pubDate>
<dc:creator>bnma</dc:creator>
<guid>http://xneuron.id.wordpress.com/2008/10/14/connection-string-in-production-environment/</guid>
<description><![CDATA[Things to do to setup a the right conection string in production:

The connection string shouldn]]></description>
<content:encoded><![CDATA[<p>Things to do to setup a the right conection string in production:</p>
<ol>
<li>The connection string shouldn't have user in it, but the following: "Data Source=SERVER_NAME;Initial Catalog=DATABASE_NAME;Integrated Security=true;"</li>
<li>Create a user, say: User1 under "Local Users and Groups". Set the password.</li>
<li>Change the application pool's "Identity" to the user User1 just created.</li>
<li>Add in SQL Server the user using "Windows Authentication". It's better to search the user (Find Now).</li>
<li>Give the right of this user to access the database used in the connection string. "db_datareader", "db_datawriter" &#38; "db_owner"</li>
</ol>
<p>That should be very straight forward and simple.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Integrated Windows Authentication in OBIEE]]></title>
<link>http://bidetails.wordpress.com/?p=24</link>
<pubDate>Tue, 14 Oct 2008 02:28:17 +0000</pubDate>
<dc:creator>bidetails</dc:creator>
<guid>http://bidetails.id.wordpress.com/2008/10/14/integrated-windows-authentication-in-obiee/</guid>
<description><![CDATA[Most of the time, I install OBIEE with OC4J but today I chose IIS as my web server while installing ]]></description>
<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Most of the time, I install OBIEE with OC4J but today I chose IIS as my web server while installing OBIEE. I thought of quickly testing SSO in my analytics and I remembered that IIS provides Integrated Windows Authentication and have decided to go with this authentication mechanism provided by IIS in order to test SSO in OBIEE. This requires configuration both on IIS and OBIEE.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Let us first see the configuration required in OBIEE (for detailed explanation, refer deployment guide on Metalink3):</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></p>
<p class="MsoNormal" style="text-indent:-.25in;margin:0 0 0 .5in;"><span style="font-family:Times New Roman;"><span style="font-size:small;">1)</span><span style="font:7pt &#34;">      </span><span style="font-size:small;">Create an impersonator user and associate this new user with Administrators group.</span></span></p>
<p class="MsoNormal" style="text-indent:-.25in;margin:0 0 0 .5in;"><span style="font-family:Times New Roman;"><span style="font-size:small;">2)</span><span style="font:7pt &#34;">      </span><span style="font-size:small;">Run cryptotools specifying alias as impersonation (should be spelled exactly the same) and provide the user id<span>  </span>/ password of the impersonator user created in step (1).</span></span></p>
<p class="MsoNormal" style="text-indent:-.25in;margin:0 0 0 .5in;"><span style="font-family:Times New Roman;"><span style="font-size:small;">3)</span><span style="font:7pt &#34;">      </span><span style="font-size:small;">Modify the instanceconfig.xml to include the credentialstorage info and also enable SSO. In my environment, the instanceconfig.xml looks as below:</span></span></p>
<p class="MsoNormal" style="margin:0 0 0 .25in;"><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">&#60;CredentialStore&#62;</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">&#60;CredentialStorage type="file" path = "C:\OracleBIData\web\config\credentialstore.xml" /&#62;</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">&#60;/CredentialStore&#62;</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">&#60;Auth&#62;</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">&#60;SSO enabled="true"&#62;</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">&#60;ParamList&#62;</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">&#60;!--IMPERSONATE param is used to get the authenticated user's username and is required --&#62;</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">&#60;Param name="IMPERSONATE"</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">source="serverVariable"</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">nameInSource="REMOTE_USER"</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">stripWindowsDomain="true"/&#62;</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">&#60;/ParamList&#62;</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">&#60;/SSO&#62;</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">&#60;/Auth&#62;</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times New Roman;"><strong><span style="text-decoration:underline;"><span>Note:</span></span></strong><span> If you have encrypted the password while running step (2), make sure to include passphrase in the CredentialStorage tag.</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">This concludes configuration in OBIEE side.</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></span></p>
<p class="MsoNormal" style="margin:0;"><strong><span style="text-decoration:underline;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">Now coming to IIS configuration:</span></span></span></span></strong></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></span></p>
<p class="MsoNormal" style="text-indent:-.25in;margin:0 0 0 .5in;"><span style="font-family:Times New Roman;"><span><span style="font-size:small;">1)</span><span style="font:7pt &#34;">      </span></span><span><span style="font-size:small;">Open the Internet Services Manager</span></span></span></p>
<p class="MsoNormal" style="text-indent:-.25in;margin:0 0 0 .5in;"><span style="font-family:Times New Roman;"><span><span style="font-size:small;">2)</span><span style="font:7pt &#34;">      </span></span><span><span style="font-size:small;">Right click on the machine name &#62; Properties &#62; Edit on the Master properties &#62; Directory Security &#62; Edit on the Anonymous Access and Authentication Control &#62; Check “Integrated Windows Authentication” and Uncheck “Anonymous Access”.</span></span></span></p>
<p class="MsoNormal" style="text-indent:-.25in;margin:0 0 0 .5in;"><span style="font-family:Times New Roman;"><span><span style="font-size:small;">3)</span><span style="font:7pt &#34;">      </span></span><span><span style="font-size:small;">Now right click on the Analytics virtual directory Properties &#62; Directory Security &#62; Edit on the Anonymous Access and Authentication Control &#62; Check “Integrated Windows Authentication” and Uncheck “Anonymous Access”.</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">Restart IIS and presentation services.</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></span></p>
<p class="MsoNormal" style="margin:0;"><strong><span style="text-decoration:underline;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">How to test this:</span></span></span></span></strong></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;">Assume, you have installed OBIEE on a machine that is on domain “D1”. Now you have user with credentials with test1/test1 in that domain. So, create an RPD user with the same credentials. When you access the analytics from with in the machine where you have installed OBIEE (assuming you have logged in to that machine as test1), you will see the Dashboard screen indicating that the user is already authenticated. If you access the analytics outside of the machine where you have installed OBIEE, you will be prompted to log in to the machine (small window) where you need to provide your domain credentials (in our example, test1) and once these credentials are authenticated, you would see the dashboard screen.</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times New Roman;"><strong><span style="text-decoration:underline;"><span>Note:</span></span></strong><span> For more information on how Integrated Windows Authentication works, refer Microsoft website.</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[PHP no Windows? (Webcast ao Vivo TechNet)]]></title>
<link>http://giovannibarros.wordpress.com/?p=129</link>
<pubDate>Mon, 13 Oct 2008 14:55:22 +0000</pubDate>
<dc:creator>giovannibarros</dc:creator>
<guid>http://giovannibarros.id.wordpress.com/2008/10/13/php-no-windows-webcast-ao-vivo-technet/</guid>
<description><![CDATA[O Windows Server® 2008 com o Internet Information Services 7.0 é uma poderosa plataforma web de ap]]></description>
<content:encoded><![CDATA[<p><span><span style="font-size:small;">O Windows Server® 2008 com o Internet Information Services 7.0 é uma poderosa plataforma web de aplicativo e serviços que produz uma rica experiência baseada na web. Acrescentando o suporte FastCGI, agora é possível executar aplicativos PHP de forma rápida e estável no IIS. Neste seção, aprenda a configurar o FastCGI e execute aplicativos PHP no IIs 7. Além disso, veja demonstrações durante este webcast que enfatizam como um aplicativo PHP pode tirar vantagem de outros serviços disponíveis no IIS 7.</span></span></p>
<p><a href="http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032384002&#38;EventCategory=4&#38;culture=pt-BR&#38;CountryCode=BR" target="_blank">Inscrição no site</a>.</p>
<table border="0" cellspacing="0" cellpadding="0" width="90%">
<tbody>
<tr>
<td class="EventInfo" style="width:18%;" valign="top"><span><strong>Idioma(s):</strong></span></td>
<td class="EventInfo"><span>Português.</span></td>
</tr>
<tr>
<td class="EventInfo" valign="top"><span><strong>Produto(s):</strong></span></td>
<td class="EventInfo"><span> Windows Server 2008.</span></td>
</tr>
<tr>
<td class="EventInfo" valign="top"><span><strong>Público(s): </strong></span></td>
<td class="EventInfo"><span> Profissional de TI.</span></td>
</tr>
<tr>
<td class="EventInfo" valign="top"></td>
<td class="EventInfo">
<table border="0" cellspacing="0" cellpadding="0" width="90%">
<tbody>
<tr>
<td class="EventInfo" valign="top"></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td class="EventInfo" valign="top"><span><strong>Duração:</strong></span></td>
<td class="EventInfo"><span>60 Minutos</span></td>
</tr>
<tr>
<td class="EventInfo" valign="top"><span> <strong>Data de Início:</strong> </span></td>
<td class="EventInfo">
<div id="eventInfo_StartDatePanel"><span>segunda-feira, 3 de novembro de 2008 12:00 Brasília</span></div>
</td>
</tr>
</tbody>
</table>
]]></content:encoded>
</item>
<item>
<title><![CDATA[ASP.NET Best practices - Publish website IIS6.0]]></title>
<link>http://thirul.wordpress.com/?p=21</link>
<pubDate>Mon, 13 Oct 2008 14:33:44 +0000</pubDate>
<dc:creator>thirul</dc:creator>
<guid>http://thirul.id.wordpress.com/2008/10/13/aspnet-best-practices-publish-website-iis60/</guid>
<description><![CDATA[Best practices for creating websites in IIS 6.0
by: omar
Every time I create an IIS website, I do so]]></description>
<content:encoded><![CDATA[<h2>Best practices for creating websites in IIS 6.0</h2>
<p>by: omar</p>
<p>Every time I create an IIS website, I do some steps, which I consider as best practice for creating any IIS website for better performance, maintainability, and scalability. Here' re the things I do:</p>
<p><strong>Create a separate application pool for each web application</strong></p>
<p>I always create separate app pool for each web app because I can select different schedule for app pool recycle. Some heavy traffic websites have long recycle schedule where low traffic websites have short recycle schedule to save memory. Moreover, I can choose different number of processes served by the app pool. Applications that are made for web garden mode can benefit from multiple process where applications that use in-process session, in memory cache needs to have single process serving the app pool. Hosting all my application under the <span style="text-decoration:underline;">DefaultAppPool</span> does not give me the flexibility to control these per site.</p>
<p>The more app pool you create, the more ASP.NET threads you make available to your application. Each <span style="text-decoration:underline;">w3wp.exe</span> has it's own thread pool. So, if some application is congesting particular <span style="text-decoration:underline;">w3wp.exe</span> process, other applications can run happily on their separate <span style="text-decoration:underline;">w3wp.exe</span> instance, running under separate app pool. Each app pool hosts its own <span style="text-decoration:underline;">w3wp.exe</span> instance.</p>
<p>So, my rule of thumb: Always create new app pool for new web applications and name the app pool based on the site's domain name or some internal name that makes sense. For example, if you are creating a new website alzabir.com, name the app pool alzabir.com to easily identify it.</p>
<p>Another best practice: Disable the <span style="text-decoration:underline;">DefaultAppPool</span> so that you don't mistakenly keep adding sites to <span style="text-decoration:underline;">DefaultAppPool</span>.</p>
<p><a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_4.png"><img style="border-width:0;" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_thumb_5F00_1.png" border="0" alt="image" width="664" height="340" /></a></p>
<p>First you create a new application pool. Then you create a new Website or Virtual Directory, go to Properties -&#62; Home Directory tab -&#62; Select the new app pool.</p>
<p><a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_6.png"><img style="border-width:0;" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_thumb_5F00_2.png" border="0" alt="image" width="620" height="501" /></a></p>
<p><strong>Customize Website properties for performance, scalability and maintainability</strong></p>
<p>First you map the right host headers to your website. In order to do this, go to WebSite tab and click on "Advanced" button. Add mapping for both domain.com and <a href="http://www.domain.com/">www.domain.com</a>. Most of the time, people forget to map the domain.com. Thus many visitors skip typing the www prefix and get no page served.</p>
<p><a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_10.png"><img style="border-width:0;" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_thumb_5F00_4.png" border="0" alt="image" width="648" height="493" /></a></p>
<p>Next turn on some log entries:</p>
<p><a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_12.png"><img style="border-width:0;" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_thumb_5F00_5.png" border="0" alt="image" width="605" height="458" /></a></p>
<p>These are very handy for analysis. If you want to measure your bandwidth consumption for specific sites, you need the Bytes Sent. If you want to measure the execution time of different pages and find out the slow running pages, you need Time Taken. If you want to measure unique and returning visitors, you need the Cookie. If you need to know who is sending you most traffic - search engines or some websites, you need the Referer. Once these entries are turned on, you can use variety of Log Analysis tools to do the analysis. For example, <a title="s" href="http://awstats.sourceforge.net/">open source AWStats</a>.</p>
<p>But if you are using Google Analytics or something else, you should have these turned off, especially the Cookie and Referer because they take quite some space on the log. If you are using ASP.NET Forms Authentication, the gigantic cookie coming with every request will produce gigabytes of logs per week if you have a medium traffic website.</p>
<p><a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_14.png"><img style="border-width:0;" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_thumb_5F00_6.png" border="0" alt="image" width="473" height="269" /></a></p>
<p>This is kinda no brainer. I add Default.aspx as the default content page so that, when visitors hit the site without any .aspx page name, e.g. alzabir.com, they get the default.aspx served.</p>
<p><a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_16.png"><img style="border-width:0;" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_thumb_5F00_7.png" border="0" alt="image" width="475" height="461" /></a> </p>
<p>Things I do here:</p>
<ul>
<li>Turn on Content Expiration. This makes static files remain in browser cache for 30 days and browser serves the files from its own cache instead of hitting the server. As a result, when your users revisit, they don't download all the static files like images, javascripts, css files again and again. This one setting significantly improves your site's performance.</li>
<li>Remove the <span style="text-decoration:underline;">X-Powered-By: ASP.NET</span> header. You really don't need it unless you want to attach Visual Studio Remote Debugger to your IIS. Otherwise, it's just sending 21 bytes on every response.</li>
<li>Add "From" header and set the server name. I do this on each webserver and specify different names on each box. It's handy to see from which servers requests are being served. When you are trying to troubleshoot load balancing issues, it comes handy to see if a particular server is sending requests.</li>
</ul>
<p><a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_18.png"><img style="border-width:0;" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_thumb_5F00_8.png" border="0" alt="image" width="538" height="465" /></a></p>
<p>I set the 404 handler to some ASPX so that I can show some custom error message. There's a 404.aspx which shows some nice friendly message and suggests some other pages that user can visit. However, another reason to use this custom mapping is to serve extensionless URL from IIS. <a href="http://msmvps.com/blogs/omar/archive/2007/04/29/serve-extensionless-url-from-asp-net-without-using-isapi-module-or-iis-6-wildcard-mapping.aspx">Read this blog post for details</a>.</p>
<p><a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_20.png"><img style="border-width:0;" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/omar.BestpracticesforcreatingwebsitesinIIS6.0_5F00_CC6A/image_5F00_thumb_5F00_9.png" border="0" alt="image" width="471" height="459" /></a></p>
<p>Make sure to set ASP.NET 2.0 for your ASP.NET 2.0, 3.0 and 3.5 websites.</p>
<p>Finally, you must, I repeat you "MUST" <a href="http://msmvps.com/blogs/omar/archive/2006/08/10/iis-6-compression-quickest-and-effective-way-to-do-it-for-asp-net-compression.aspx">turn on IIS 6.0 gzip compression</a>. This turns on the Volkswagen V8 engine that is built into IIS to make your site</p>
<p> </p>
<p>original  link from:</p>
<p><a href="http://msmvps.com/blogs/omar/archive/2008/10/04/best-practices-for-creating-websites-in-iis-6-0.aspx">http://msmvps.com/blogs/omar/archive/2008/10/04/best-practices-for-creating-websites-in-iis-6-0.aspx</a>?</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Missing ASP.Net tab in IIS]]></title>
<link>http://mabdelghani.wordpress.com/?p=17</link>
<pubDate>Mon, 13 Oct 2008 11:06:14 +0000</pubDate>
<dc:creator>Mohamed Abdelghani</dc:creator>
<guid>http://mabdelghani.id.wordpress.com/2008/10/13/missing-aspnet-tab-in-iis/</guid>
<description><![CDATA[I realized that the ASP.Net tab no longer exists in IIS after installing VMWare Server. My machine h]]></description>
<content:encoded><![CDATA[<p>I realized that the ASP.Net tab no longer exists in IIS after installing VMWare Server. My machine has Windows Server 2003 SP2 and I work mainly with Visual Studio.Net 2003 and 2005.<br />
After googling on the web I found this <a href="http://monishnagisetty.wordpress.com/2007/06/19/vmware-server-missing-aspnet-tab-in-iis/">solution</a>:</p>
<p>1- Stop IIS Admin service.<br />
2- Search for Enable32BitAppOnWin64="TRUE" in MetaBase.xml and delete that line.<br />
You can find the MetaBase.xml in the following path:<br />
&#60;Your windows folder path&#62;\system32\inetsrv\MetaBase.xml.<br />
3- Restart IIS .</p>
<p>But the issue didn’t get fixed until I run  <strong>aspnet_regiis -i</strong> for both ASP.Net  1.1 and 2  .</p>
<p>And now the ASP.Net tab is back again in IIS.</p>
<p><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fmabdelghani.wordpress.com%2f2008%2f10%2f13%2fmissing-aspnet-tab-in-iis%2f"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fmabdelghani.wordpress.com%2f2008%2f10%2f13%2fmissing-aspnet-tab-in-iis%2f" border="0" alt="kick it on DotNetKicks.com" /></a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[IIS does not want to start after change of IP]]></title>
<link>http://narawen.wordpress.com/?p=21</link>
<pubDate>Mon, 13 Oct 2008 09:03:54 +0000</pubDate>
<dc:creator>Narawen Software</dc:creator>
<guid>http://narawen.id.wordpress.com/2008/10/13/iis-does-not-want-to-start-after-change-of-ip/</guid>
<description><![CDATA[The IIS 6.0 installed at Windows 2003 Small Business Server refused to start. All web sites reported]]></description>
<content:encoded><![CDATA[<p>The IIS 6.0 installed at Windows 2003 Small Business Server refused to start. All web sites reported following error:</p>
<blockquote><p>The format of the specified network name is invalid</p></blockquote>
<p>Additionally in System event log following errors were logged:</p>
<blockquote><p>EventID 1004 from W3SVC: Cannot register the URL prefix .... for site .... The site has been deactivated.</p></blockquote>
<p>and</p>
<blockquote><p>Event ID 1005 from HTTP: Unable to bind to the underlying transport for .... The IP Listen-Only list may contain a reference to an interface which may not exist on this machine.</p></blockquote>
<p>I checked if IIS websites were configured to listen on old IP address only... but no... they were set to "All unassigned".</p>
<p>Also I checked if nothing blocks ports 80 and 443 when IIS is stopped....</p>
<p>After some research I found this Microsoft TechNet page: <a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/ddf72ae0-aa1e-48c9-88d1-10bae1e87e4f.mspx?mfr=true">Configuring the IP Inclusion List (IIS 6.0)</a> which mentiones both events and refers to "<a href="http://technet.microsoft.com/en-us/library/cc787508.aspx">httpcfg</a>" utility which is used for configuration of HTTP protocol bindings.</p>
<p>Unfortunatelly I was working at remote desktop without access to installation CD to install Windows Support Tools containing "httpcfg". But the solution was quite simple...</p>
<p>What I did to fix:</p>
<ol>
<li>Opened the Registry Editor</li>
<li>Navigated to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters"</li>
<li>At "ListenOnlyList" registry value there was a reference to old IP address.</li>
<li>Changed the old IP address to new one in "ListenOnlyList" value.</li>
<li>Restarted HTTP service ("net stop http / net start http")</li>
<li>Restarted IIS service ("net stop w3svc / net start w3svc")</li>
</ol>
<p>And it works now...</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Enlaces del 10 de Octubre: ASP.NET, ASP.NET AJAX, jQuery, IIS]]></title>
<link>http://thinkingindotnet.wordpress.com/?p=218</link>
<pubDate>Sun, 12 Oct 2008 08:58:32 +0000</pubDate>
<dc:creator>Vio</dc:creator>
<guid>http://thinkingindotnet.id.wordpress.com/2008/10/12/enlaces-del-10-de-octubre-aspnet-aspnet-ajax-jquery-iis/</guid>
<description><![CDATA[Aquí tenéis la última lista de links. Mirad la página de trucos y turoriales de ASP.NET y la de ]]></description>
<content:encoded><![CDATA[<p>Aquí tenéis la última lista de links. Mirad la página de <a href="http://weblogs.asp.net/scottgu/pages/ASP.NET-2.0-Tips_2C00_-Tricks_2C00_-Recipes-and-Gotchas.aspx">trucos y turoriales de ASP.N</a>ET y la de <a href="http://weblogs.asp.net/scottgu/pages/silverlight-posts.aspx">tutoriales de Silverlight</a> con un montón de enlaces a más recursos.<!--more--></p>
<p><strong>ASP.NET</strong></p>
<ul>
<li><a href="http://msmvps.com/blogs/omar/archive/2008/10/04/best-practices-for-creating-websites-in-iis-6-0.aspx">Buenas prácticas para crear sitios ASP.NET con IIS 6.0:</a> Omar Al Zabir, autor del libro <a href="http://www.amazon.com/gp/product/0596510500?ie=UTF8&#38;tag=scoblo04-20&#38;linkCode=xm2&#38;camp=1789&#38;creativeASIN=0596510500">Creando un portal web 2.0 con ASP.NET 3.5</a>, tiene un artículo que detalla las buenas prácticas que hay que seguir cuando configuramos un sitio con IIS 6.0. Es una lectura y compra obligada.</li>
<li><a href="http://www.myvbprof.com/2007_Version/Dynamic_Data_Tutorial.aspx">Videos de ASP.NET Dynamic Data con VB:</a> Bill burrows ha unido en una serie de vídeos un tutorial que nos enseña a usar el nuevo soporte de ASP.NET Dynamic Data de .NET 3.5 SP1. Podéis encontrar más enlaces a tutoriales de ASP.NET Dynamic Data en el anterior post sobre links <a href="http://thinkingindotnet.wordpress.com/2008/10/05/enlaces-de-octubre-aspnet-aspnet-mvc-aspnet-dynamic-data/">aquí</a>.</li>
<li><a href="http://www.codeproject.com/KB/aspnet/ExploringCaching.aspx">Explorando la cache en ASP.NET:</a> Abhijit Jana nos muestra las opciones de cacheado con ASP.NET. Si estáis interesados en otra gran técnica (pero no muy conocida), querréis leer un post que escribí <a href="http://weblogs.asp.net/scottgu/archive/2006/11/28/tip-trick-implement-donut-caching-with-the-asp-net-2-0-output-cache-substitution-feature.aspx">aquí</a>.</li>
<li><a href="http://morewally.com/cs/blogs/wallym/archive/2008/10/08/asp-net-podcast-show-125-routing-with-webforms.aspx">Routing con WebForms</a>: Wally McClure tiene un podcast donde nos muestra cómo usar la nueva infraestructura de rutado de ASP.NET en .NET 3.5 SP1 con páginas basadas en formularios. Un montón de gente piensa incorrectamente que esta característica sólo funciona en aplicaciones ASP.NET MVC - cuando en realidad también funciona con formularios web (en realidad todos los sitios con APS.NET Dynamic Data lo usan.</li>
<li><a href="http://msmvps.com/blogs/omar/archive/2008/10/06/asp-net-website-continuous-integration-deployment-using-cruisecontrol-net-subversion-msbuild-and-robocopy.aspx">Integración continua con ASP.NET y despliegue usando CruiseControl.NET, Subversion, MSBuild y Robocopy</a>: Omar Al Zabir tiene otro artículo - esta vez implementando la integración continua con ASP.NET.</li>
</ul>
<p><strong>ASP.NET AJAX y jQuery</strong></p>
<ul>
<li><a href="http://www.west-wind.com/presentations/jQuery/default.aspx">Introducción a jQuery (Parte 1)</a>: Rick Strahl ha posteado un artículo de introducción a jQuery, y habla sobre cómo aprovechar sus características en páginas ASP.NET.</li>
<li><a href="http://msdn.microsoft.com/en-us/magazine/cc972638.aspx">Nuevo soporte AJAX para aplicaciones guiadas por datos:</a> Bertrand Le Roy ha escrito un artículo para MSDN que muestra las nuevas características disponibles en ASP.NET AJAX en la preview de hoy. Leed también sus post <a href="http://weblogs.asp.net/bleroy/archive/2008/07/30/using-client-templates-part-1.aspx">aquí</a> y <a href="http://weblogs.asp.net/bleroy/archive/2008/09/02/using-client-templates-part-2-live-bindings.aspx">aquí</a> para aprender más sobre el soporte de templates de lado del cliente.</li>
<li><a href="http://encosia.com/2008/10/04/using-jquery-to-enhance-aspnet-ajax-progress-indication/">Usando jQuery para mejorar el indicador de progreso de ASP.NET AJAX:</a> Dave Ward tiene un artículo que describe cómo integrar la funcionalidad de jQuery con el control UpdatePanel de ASP.NET AJAX para mejorar el estado de progreso.</li>
<li><a href="http://aspnet.4guysfromrolla.com/articles/100808-1.aspx">ASP.NET AJAX: Habilitar marcadores en el botón de volver del navegador:</a> Scott Mitchell continúa con su serie sobre ASP.NET AJAX y muestra cómo añadir puntos en el historial en paginas con AJAX para que los visitantes puedan marcarlas, así como habilitar la navegación atras/siguiente en el navegador. Esta es una nueva característica que se ha añadido a ASP.NET  en .NET 3.5 SP1.</li>
<li><a href="http://www.asp.net/learn/ajax-control-toolkit/">46 tutoriales para el ASP.NET AJAX Control Toolkit:</a> Christian Wenz ha publicado 46 tutoriales tanto en VB como en C# en el que nos muestra escenarios típicos con el ASP.NET AJAX Control Toolkit.</li>
</ul>
<p><strong>Microsoft Web Platform</strong></p>
<ul>
<li><a href="http://www.hanselman.com/blog/WebPlatformInstallerTryingToMakeItEasierToSetupForWebDevelopment.aspx">Instalación de plataformas web:</a> Hacer un instalador para despliegue web: Scott Hanselman tiene un post donde nos muestra el nuevo "<a href="http://www.microsoft.com/web/channel/products/WebPlatformInstaller.aspx">Microsoft Web Platform Installer</a>" que estamos creanto para permitir una forma rápida de instalar cada componente web de Microsoft - y tener rápidamente una máquina lista para el desarrollo web.</li>
</ul>
<p>Espero que sirva.</p>
<p>Scott.</p>
<p>Traducido por: Juan María Laó Ramos.</p>
<p><a href="http://weblogs.asp.net/scottgu/archive/2008/10/10/october-10th-links-asp-net-asp-net-ajax-jquery-iis.aspx">Artículo original.</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[ ASP.NET, ASP.NET AJAX, jQuery, IIS Tutorial]]></title>
<link>http://littletalk.wordpress.com/?p=352</link>
<pubDate>Sat, 11 Oct 2008 09:26:56 +0000</pubDate>
<dc:creator>ken zheng</dc:creator>
<guid>http://littletalk.id.wordpress.com/2008/10/11/aspnet-aspnet-ajax-jquery-iis-tutorial/</guid>
<description><![CDATA[Scoot Gu has blogged a list of links to these technoloies. Check it now and refresh your knowledge
h]]></description>
<content:encoded><![CDATA[<p>Scoot Gu has blogged a list of links to these technoloies. Check it now and refresh your knowledge<br />
<a href="http://weblogs.asp.net/scottgu/archive/2008/10/10/october-10th-links-asp-net-asp-net-ajax-jquery-iis.aspx">http://weblogs.asp.net/scottgu/archive/2008/10/10/october-10th-links-asp-net-asp-net-ajax-jquery-iis.aspx</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Virtual Center and IIS conflicts]]></title>
<link>http://phyler.wordpress.com/?p=23</link>
<pubDate>Fri, 10 Oct 2008 14:06:44 +0000</pubDate>
<dc:creator>phyler</dc:creator>
<guid>http://phyler.id.wordpress.com/2008/10/10/virtual-center-and-iis-conflicts/</guid>
<description><![CDATA[I have seen this several times and have had the idea of how to fix it but I was missing some steps. ]]></description>
<content:encoded><![CDATA[<p>I have seen this several times and have had the idea of how to fix it but I was missing some steps.  The guys over at <a href="http://www.xtravirt.com">Xtravirt </a>have it solved.  If you haven't heard of them, take some time on their site as it has a bunch of useful knowledge.  Here's the link to how to solve it:</p>
<p><a href="http://knowledge.xtravirt.com/hot-tips/virtualcenter-2x/12-virtualcenter-2x/32-virtualcenter-and-iis-conflicts.html">http://knowledge.xtravirt.com/hot-tips/virtualcenter-2x/12-virtualcenter-2x/32-virtualcenter-and-iis-conflicts.html</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Microsoft Web Platform Installer Beta]]></title>
<link>http://richfrombechtle.wordpress.com/?p=456</link>
<pubDate>Thu, 09 Oct 2008 21:47:48 +0000</pubDate>
<dc:creator>richfrombechtle</dc:creator>
<guid>http://richfrombechtle.id.wordpress.com/2008/10/09/microsoft-web-platform-installer-beta/</guid>
<description><![CDATA[Deploying Microsoft IIS wesbites isn&#8217;t always the easiest thing in the world, due to all the v]]></description>
<content:encoded><![CDATA[<p>Deploying Microsoft IIS wesbites isn't always the easiest thing in the world, due to all the various pre requisites you need such as .Net Framework, certain drivers etc..it's certainly caught me out a few times over the years! If this happens to you, don't worry because now help is at hand with:</p>
<p>Microsoft Web Platform Installer Beta <a href="http://go.microsoft.com/?linkid=9588072" target="_blank">(download here)</a> or more info <a href="http://www.microsoft.com/web/channel/products/WebPlatformInstaller.aspx" target="_blank">here</a></p>
<p><strong>What does it do?</strong></p>
<p>It’s a single tool that helps you get started installing the Microsoft Web Platform including:</p>
<p>· ASP.NET components</p>
<p>· SQL Server 2008 Express Edition (and all required pre-requisite software)</p>
<p>· IIS Extensions such as Secure FTP, Web Playlists, URL Rewriter, and much more!</p>
<p>· Visual Web Developer</p>
<p>· .NET Framework 3.5 SP1</p>
<p>· SQL Server Driver for PHP</p>
<p>and Supported Operating Systems are: Windows Vista RTM, Windows Vista SP1, Windows Server 2008</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[FTP 7 en IIS 7]]></title>
<link>http://nsblog2.wordpress.com/?p=779</link>
<pubDate>Thu, 09 Oct 2008 18:09:32 +0000</pubDate>
<dc:creator>Ramón</dc:creator>
<guid>http://nsblog2.id.wordpress.com/2008/10/09/ftp-7-en-iis-7/</guid>
<description><![CDATA[Ya está disponible la versión 7 del servicio de publicación FTP para Windows Server 2008. Incorpo]]></description>
<content:encoded><![CDATA[<p>Ya está disponible la versión 7 del servicio de publicación <acronym title="File Transfer Protocol">FTP</acronym> para <a title="Windows Server 2008 Home" href="http://www.microsoft.com/windowsserver2008/" target="_blank">Windows Server 2008</a>. Incorpora, por fin, integración con el nuevo panel de administración de <acronym title="Internet Information Services">IIS</acronym> y la administración desde aplicaciones mediante el nuevo <acronym title="Application Programming Interface">API</acronym> de administración Web (para <a title="Microsoft .NET Framework" href="http://www.microsoft.com/net" target="_blank">.NET</a>, se puede usar el espacio de nombres <code>Microsoft.Web.Administration</code>), que se puede usar para crear y administrar sitios sin recurrir al antiguo método de los servicios de directorio y la <em>metabase</em> de <acronym title="Internet Information Services">IIS</acronym> 6.</p>
[caption id="attachment_783" align="aligncenter" width="171" caption="Internet Information Services 7"]<a href="http://nsblog2.files.wordpress.com/2008/10/iis7.jpg"><img class="size-full wp-image-783" title="IIS7" src="http://nsblog2.wordpress.com/files/2008/10/iis7.jpg" alt="Internet Information Services 7" width="171" height="142" /></a>[/caption]
<p>Además, simplifica los métodos de configuración del aislamiento de usuarios (útil para configurar servicios de <em>hosting</em>) y la configuración de <acronym title="File Transfer Protocol">FTP</acronym> sobre <acronym title="Secure Sockets Layer">SSL</acronym>. La <a title="Microsoft FTP Publishing Service for IIS 7.0" href="http://www.iis.net/go/1527" target="_blank">descarga</a> está, de momento, sólo en inglés.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Ulrich Rudolph - Reflections on al-Farabi's Mabadi' ara' ahl al-madina al- fadila]]></title>
<link>http://philomtl.wordpress.com/?p=377</link>
<pubDate>Thu, 09 Oct 2008 17:43:19 +0000</pubDate>
<dc:creator>j.</dc:creator>
<guid>http://philomtl.id.wordpress.com/2008/10/09/ulrich-rudolph-reflections-on-al-farabis-mabadi-ara-ahl-al-madina-al-fadila/</guid>
<description><![CDATA[The Institute of Islamic Studies at McGill University cordially invites you to a lecture by
Professo]]></description>
<content:encoded><![CDATA[<p><tt>The Institute of Islamic Studies at McGill University cordially invites you to a lecture by</p>
<p>Professor Ulrich Rudolph<br />
Professor of Islamic Studies,<br />
University of Zurich</p>
<p>"Reflections on al-Farabi's Mabadi' ara' ahl al-madina al- fadila"</p>
<p>Tuesday, 14 October 2008<br />
3:00 p.m.<br />
Morrice Hall, Room 328<br />
(3rd floor)<br />
3485 McTavish Street</tt></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Ang Seminar ni Sir Andy ----- Bow]]></title>
<link>http://iampatet.wordpress.com/?p=139</link>
<pubDate>Thu, 09 Oct 2008 09:45:56 +0000</pubDate>
<dc:creator>patet</dc:creator>
<guid>http://iampatet.id.wordpress.com/2008/10/09/ang-seminar-ni-sir-andy-bow/</guid>
<description><![CDATA[Last Thursday afternoon, me and my classmates have joined this seminar conducted by Sir Andy of IT d]]></description>
<content:encoded><![CDATA[<p>Last Thursday afternoon, me and my classmates have joined this seminar conducted by Sir Andy of IT department. The seminar  talked about the IIS web server  and the Visual Studio C3 programming language on how this works on a mobile phone. The meeting started at 1 in the afternoon and ends at  6, my classmate Jean (...Jean what happened) mahirap talaga pag di makasabay sa lecture ni Sir no!!!!! hehehehehe. Buti na lang at gwapo si Sir kung hindi . Next week, we will have a seminar again....again...yes. I wanna think my adviser for this....nakakatulong talaga. Sana next time about PHP naman.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[ASP.NET + Microsoft enterprise libraries + WebDAV.net]]></title>
<link>http://mattonrails.wordpress.com/?p=7</link>
<pubDate>Wed, 08 Oct 2008 15:07:39 +0000</pubDate>
<dc:creator>spraints</dc:creator>
<guid>http://mattonrails.id.wordpress.com/2008/10/08/aspnet-microsoft-enterprise-libraries-webdavnet/</guid>
<description><![CDATA[On my current project, I was tasked with adding a WebDAV folder to an ASP.NET application. I found a]]></description>
<content:encoded><![CDATA[<p>On my current project, I was tasked with adding a WebDAV folder to an ASP.NET application. I found a <a href="http://sourceforge.net/projects/webdav/">WebDAV component on sourceforge</a>, and thought I'd give it a try, prior to investigating the less-free options. It took an hour or so to get the sample web application working. It looked like it had the hooks necessary in order to tie into the existing authentication and authorization in the application, so I started integrating it into the application.</p>
<p>My first pass at integrating it was to do everything at once: tie in WebDAV.net, add authentication and authorization, and change the WebDAV/file mapping from root = root to root/a/b/c = root. Needless to say, this was too big of a chunk to bite off.</p>
<p>So step 1 turned into getting it so that I could open the application with a WebDAV client. This involved tweaking another HttpModule that was throwing a NullReferenceException because app.User wasn't defined. Things seemed to work, so I checked it in.</p>
<p>Step 2 was to tie in auth. I got the WebDAV component to set the response status to 401, but it and the Forms authentication disagreed about what that meant: WebDAV wanted to send a HTTP Basic Auth request, and ASP.NET wanted the user to be redirected to the login page. After fighting with this for a day or so, it became clear that the WebDAV part of the site would need to be a separate ASP.NET application. Also, another dev pointed out that the WebDAV module was messing up other parts of the site.</p>
<p>So I created a new project and plopped the WebDAV module in it. It took some time to get it back to the point where it was running (the HttpModule wasn't being loaded at one point, and it wasn't giving me either warnings or errors). Next was to create a connection to the database...</p>
<p>I tried copying over configuration from the main application to the new application in order to get all of the dependency injection stuff to work on the WebDAV application. This way I could do <code>ServiceLocator&#60;ILoginDataProvider&#62;.Get()</code>, just like the main application did when the user logged in. I was creeping towards this, when I realized that most of the high-level auth code in the main application assumed that it was running in a forms-based authentication environment (e.g. the data provider pulled information from the session, if it was constructed with the CompositeWeb services container), and I needed to do a protocol-based authentication.</p>
<p>I had an epiphany at this point -- why complicate things by using CompositeWeb when all I needed was to make two calls to the LoginDataProvider? Two concrete constructor calls later, I had auth implemented for the WebDAV web application.</p>
<p>Along the way, I discovered that the best way to test was to set up a virtual directory in IIS. Visual Studio was helpful enough to create the virtual directory of my choosing. In order to get WebDAV to work correctly, I needed to add the ASP.NET ISAPI dll as a wildcard handler, and I needed to tell IIS that there would never be any authentication (i.e. disable digest, basic, and integrated authentication). Disabling integrated authentication makes VS tell you that you can't debug the application, but this is a lie... Build the application, then Debug, Attach to Process, and pick aspnet_wp.exe. You just can't use the F5 shortcut that normally does all of that for you.</p>
<p>So, here's what I'd say about integrating WebDAV into an existing ASP.NET application:</p>
<ul>
<li>WebDAV.net works fine (though the framework has a couple of very obvious bugs when you don't set up debug logging).</li>
<li>Make it a separate application. If you want it to look like it's a subfolder of your application, deploy it to a subdirectory of the application.</li>
<li>Don't try to use CompositeWeb and WebDAV.net at the same time.</li>
</ul>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Apache 2.2.3 en RHES 5U2 e IIS]]></title>
<link>http://insanecrew.wordpress.com/?p=274</link>
<pubDate>Mon, 06 Oct 2008 17:51:59 +0000</pubDate>
<dc:creator>bersuitvera</dc:creator>
<guid>http://insanecrew.id.wordpress.com/2008/10/06/apache-223-en-rhes-52-e-iis/</guid>
<description><![CDATA[Ya tocaba, que ganas tenía de poner en producción un apache 2.2, en entornos corporativos es difí]]></description>
<content:encoded><![CDATA[<p style="text-align:justify;">Ya tocaba, que ganas tenía de poner en producción un apache 2.2, en entornos corporativos es difícil estar a la última, por lo que he tenido que aguantar apache 2.0 en RHES 3 y 4, pero ahora que ya tenemos disponible la update 2 de Red Hat 5,  nos tocaba.</p>
<p style="text-align:justify;">Y claro después de actualizar, el primer problema, los apaches hacen de frontales a unos cuantos IIS ( como para dejarlos en DMZ) pues nada más cambiar de versión  empezaron los problemas, el proxy reverso escupía  <a href="http://www.checkupdown.com/status/E502.html">errores 502 </a>como un loco cuando le tocaba servir el contenido de los IIS,  y la situación se hacía insostenible.</p>
<pre class="bz_comment_text">[Thu Aug 23 19:22:38 2007] [error] [client 192.168.x.1]  \
proxy: error reading status line from  remote server 192.168.0.xxx</pre>
<p><!--more-->Googleando un poco encuentro un <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=37770">bug</a> en apache que se parece sospechosamente a mi problema, y la solución que pasa por incluir estas lineas en el host virtual donde hacemos proxy reverso al infame IIS :</p>
<pre class="bz_comment_text">        ProxyRequests Off
        ProxyBadHeader Ignore
        SetEnv force-proxy-request-1.0 1
        SetEnv proxy-nokeepalive 1</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Instalacja IIS w Windows Vista.]]></title>
<link>http://ostr.wordpress.com/?p=8</link>
<pubDate>Sat, 04 Oct 2008 17:00:56 +0000</pubDate>
<dc:creator>Robert</dc:creator>
<guid>http://ostr.id.wordpress.com/2008/10/04/instalacja-iis-w-windows-vista/</guid>
<description><![CDATA[Niektóre wersje Vista nie są dostarczane z pełną obsługą IIS (np. HomeBasic, więcej:  techne]]></description>
<content:encoded><![CDATA[<p>Niektóre wersje Vista nie są dostarczane z pełną obsługą IIS (np. HomeBasic, więcej:  <a title="IIS 7 Features" href="http://technet.microsoft.com/en-us/library/cc753198.aspx" target="_blank">technet</a>).</p>
<p>Przejdź do <strong>Panel sterowania &#62; Programy i funkcje</strong>. Wybierz '<em>Włącz lub wyłącz funkcje systemu Windows</em>'.</p>
[caption id="attachment_10" align="alignnone" width="448" caption="Panel sterowania &#62; Programy i funkcje"]<img class="size-full wp-image-10" title="Panel sterowania &#62; Programy i funkcje" src="http://ostr.wordpress.com/files/2008/10/obraz1.gif" alt="Panel sterowania &#62; Programy i funkcje" width="448" height="87" />[/caption]
<p>Zaznacz odpowiednie checkboxy w '<em>Internetowe usługi informacyjne</em>'. Wciśnij 'OK' i zaczekaj.</p>
[caption id="attachment_11" align="alignnone" width="435" caption="Zaznacz checkboxy"]<img class="size-full wp-image-11" title="Zaznacz checkboxy" src="http://ostr.wordpress.com/files/2008/10/obraz2.gif" alt="Zaznacz checkboxy" width="435" height="380" />[/caption]
[caption id="attachment_12" align="alignnone" width="370" caption="Czekaj..."]<img class="size-full wp-image-12" title="Czekaj..." src="http://ostr.wordpress.com/files/2008/10/obraz3.gif" alt="Czekaj..." width="370" height="188" />[/caption]
<p>Po wpisaniu w przeglądarkę adresu http://localhost/ powinieneś zobaczyć obrazek powitalny.</p>
[caption id="attachment_13" align="alignnone" width="286" caption="Obraz powitalny IIS"]<img class="size-full wp-image-13" title="Obraz powitalny IIS" src="http://ostr.wordpress.com/files/2008/10/obraz4.gif" alt="Obraz powitalny IIS" width="286" height="206" />[/caption]
]]></content:encoded>
</item>
<item>
<title><![CDATA[IIS 7 503 Service Unavailable error -rtfmNsolution]]></title>
<link>http://rtfmandcode.wordpress.com/?p=3</link>
<pubDate>Thu, 02 Oct 2008 01:01:29 +0000</pubDate>
<dc:creator>raluxgaza</dc:creator>
<guid>http://rtfmandcode.id.wordpress.com/2008/10/02/iis-7-503-service-unavailable-error-rtfmnsolution/</guid>
<description><![CDATA[For some werid reason my iis 7 kept giving me the 503 error after installing windows vista sp1. Sear]]></description>
<content:encoded><![CDATA[<p>For some werid reason my iis 7 kept giving me the 503 error after installing windows vista sp1. Searching blogs and articles for information did not solve my problem, until someone (sorry can't remember the site name) recommended the <a href="http://technet.microsoft.com/en-us/library/cc732050.aspx">IIS 7.0 Error codes</a> site which help explain the eventvwr error codes.</p>
<p>The error I was getting was a 2294, because it wasn't loading the correct .net 2.0 framework number. By default iis loads v2.0.50215 and the newer version is v2.0.50727 on my box so I changed the AppPool to use/load the newer version and bamm! iis is back online.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[WCF Certificate Security with XBAP / IIS Issues]]></title>
<link>http://nirajrules.wordpress.com/?p=145</link>
<pubDate>Wed, 01 Oct 2008 12:39:19 +0000</pubDate>
<dc:creator>nirajrules</dc:creator>
<guid>http://nirajrules.id.wordpress.com/2008/10/01/wcf-certificate-security-with-xbap-iis-issues/</guid>
<description><![CDATA[wsHttpBinding uses Message Security by default. But the default clientCredentialType is Windows. Now]]></description>
<content:encoded><![CDATA[<p>wsHttpBinding uses Message Security by default. But the default clientCredentialType is Windows. Now considering that your clients are going to access your application over internet, it makes sense to use Certificate security. In my case I was using an XBAP in full trust, so I thought of making use of the same certificates to provide secure transfer of data. Steps for doing the same are provided below:</p>
<p>1) Change clientCredentialType to Certificate (this would require you to customize wsHttpBinding) &#38; specify the serviceCertificate in serviceCredentials of the web.config file. (N.B. The service can pick the certificate only from Local Machine).</p>
<p><a href="http://nirajrules.wordpress.com/files/2008/10/webconfig.jpg"><img class="alignnone size-medium wp-image-148" title="webconfig" src="http://nirajrules.wordpress.com/files/2008/10/webconfig.jpg?w=300" alt="" width="300" height="202" /></a></p>
<p>2) Next using Add Service Reference, generate proxy for the client. After generation you need to specify the location of the client certificate (normally this would Current User certificate store). This can be done by specifying new endpoint behavior on the client side.</p>
<p><a href="http://nirajrules.wordpress.com/files/2008/10/appconfig.jpg"><img class="alignnone size-medium wp-image-146" title="appconfig" src="http://nirajrules.wordpress.com/files/2008/10/appconfig.jpg?w=300" alt="" width="300" height="189" /></a></p>
<p><a href="http://nirajrules.wordpress.com/files/2008/10/app2config.jpg"><img class="alignnone size-medium wp-image-147" title="app2config" src="http://nirajrules.wordpress.com/files/2008/10/app2config.jpg?w=300" alt="" width="300" height="189" /></a></p>
<p>3) As a final step in the client’s app.config file you need to change value:</p>
<p>&#60;identity&#62;<br />
      &#60;dns value="YourCertNameHere" /&#62;<br />
&#60;/identity&#62;</p>
<p>(N.B. If you hosting your service on IIS &#38; running under ASPNET/NETWORKSERVICE account, you would have to grant rights to that certificate so that IIS can access it when required. This would require you to download FindPrivateKey (I found it <a href="http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=2611a6ff-fd2d-4f5b-a672-c002f1c09ccd&#38;displaylang=en">here</a>) and execute below commands:<br />
1) findprivatekey My LocalMachine -n CN=localhost –a<br />
2) Output - (C:\Documents and Settings\All Users\ApplicationData\Microsoft\Crypto\RSA\MachineKeys\<br />
7b90a71bfc56f2582e916a51aed)<br />
3) cacls "C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys\7b90a71bfc56f2582e916a51aed" /E /G ASPNET:R<br />
(Change ASPNET in step 3 to NETWORKSERVICE – For Windows Vista IIS7))</p>
<p><a href="http://bdotnet.in/files/folders/sourcecodedownloads/entry2325.aspx">Download Files</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Run Internet Information Services (IIS) in 32 bit emulation mode]]></title>
<link>http://prequest01.wordpress.com/?p=64</link>
<pubDate>Tue, 30 Sep 2008 17:37:38 +0000</pubDate>
<dc:creator>Abhishek Bhowmick</dc:creator>
<guid>http://prequest01.id.wordpress.com/2008/09/30/run-internet-information-services-iis-in-32-bit-emulation-mode/</guid>
<description><![CDATA[If you are running Windows Server 2003 x64 based operating system and you are installing x86 based a]]></description>
<content:encoded><![CDATA[<p>If you are running Windows Server 2003 x64 based operating system and you are installing x86 based application which would need to run on Internet Information Services (IIS) then you must run IIS in 32 bit emulation mode.  To do this follow the steps below:</p>
<p>• Click Start, and then click Run.<br />
• In the Open box, type cmd, and then click OK.<br />
• In the command prompt window, navigate to the <strong>%drive%:\Inetpub\Adminscripts</strong> folder, where <strong>%drive%</strong><em> </em>is the drive in which Windows Server 2003 is installed.<br />
• In the <strong>Adminscripts </strong>folder, type the following command:<br />
<strong>cscript adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1</strong></p>
<p><span style="text-decoration:underline;">Note:</span> The value "1" for Enable32bitAppOnWin64 specifies 32-bit mode, whereas the value "0" specifies 64-bit mode.</p>
<p>• Press ENTER.<br />
• Type <strong>iisreset </strong>and then press ENTER.<br />
• Close the command prompt window.</p>
<p>IIS would now run in 32 bit emulation mode and you can now install x86 based applications on the server.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[WSUS, Default Web Site and custom ports in IIS]]></title>
<link>http://slashhome.wordpress.com/?p=50</link>
<pubDate>Mon, 29 Sep 2008 16:04:29 +0000</pubDate>
<dc:creator>Romain Pelissier</dc:creator>
<guid>http://slashhome.id.wordpress.com/2008/09/29/wsus-default-web-site-and-custom-ports-in-iis/</guid>
<description><![CDATA[Those days, I have moved my wsus server into a existing server that have already McAfee ePolicy Orch]]></description>
<content:encoded><![CDATA[<p class="snap_preview">Those days, I have moved my wsus server into a existing server that have already McAfee ePolicy Orchestrator 4 installed.  I have also take the time to put the 2 applications on SQLServer 2005. I will post the entire process of this move later.</p>
<p class="snap_preview">Because EPO use Apache on the port 80, I have tested wsus on a new tcp port in IIS (8530 and 8531 for SSL), I have discovered that wsus seems not very confortable with a least 2 things:</p>
<ul>
<li>If wsus install itself in iis using custom port, it put itself in the ‘WSUS Administration’ web site on port 8530</li>
<li>When running the client diag of wsus on some client, every client complain with some errors (VerifyWUServerURL() failed with hr=0×80072efd). I have finally discovered that it is mainly due to the fact the the ‘SelfUpdate’ service in IIS is not in the Default web site.</li>
<li>I have also discovered that even if all seems working nice, I still have some errors in the event viewer like 'The DSS Authentication Web Service is not working'</li>
</ul>
<p>Here are the steps that I have taken to solve my issues:</p>
<ul>
<li>Move EPO apache to port other that 86
<ul>
<li>See <a href="https://knowledge.mcafee.com/article/579/614037_f.SAL_Public.html">https://knowledge.mcafee.com/article/579/614037_f.SAL_Public.html</a> for more information about this. Just remember that you will have also to reinstall your client on each computer that connect to your EPO server.</li>
<li>At this end of the procedure, remember to delete the file following the procedure found here:
<ul>
<li>Recompile the ePO agent: <br />
In Windows Explorer, navigate to: …\Program Files\Network Associates\ePO\3.x.x\DB\Software\Current\EPOAGENT3000\Install409</li>
<li>Move the FramePkg.exe and Framework.z files out of this folder to the root of the c: drive.<br />
<strong>NOTE:</strong> Once the ePO services are restarted in the next step, the FramePkg.exe and Framework.z files will be recompiled back into this folder.</li>
<li>Click Start, Run, type: services.msc right-click on the following services and click Start:<br />
<strong>NOTE</strong>: This will create a new FramePkg.exe and Framework.z file.<br />
<strong>McAfee ePolicy Orchestrator 3.x.x Server<br />
McAfee ePolicy Orchestrator 3.x.x Event Parser</strong></li>
</ul>
</li>
<li>Generate a new Framework package using EPO console</li>
<li>On each client, update the Framework EPO agent using : <strong>FramePkg.exe /Install=agent /ForceInstall /silent<br />
Note: </strong>On some computers, you will have to uninstall the agent before updating it using <strong>“C:\Program Files\Network Associates\Common Framework\FrmInst.exe” /forceuninstall”</strong></li>
</ul>
</li>
</ul>
<ul>
<li><strong></strong>Ok now the port 80 is free for IIS.
<ul>
<li>Make sure the value for <strong>PortNumber</strong> under the “<strong>HKLM\SOFTWARE\Microsoft\Update Services\Server\Setup</strong>” key is set to the correct port (the one your WSUS site is on).</li>
<li>Make sure that the IIS web site where WSUS is installed is called <strong>‘Default Web Site’</strong></li>
<li>Go to your wsus installation (C:\Program Files\Update Services\Tools) and use:<br />
- <strong>wsusutil configure ssl</strong> : if you use ssl<br />
- <strong>wsusutil usecustomwebsite false</strong> : this will either move your wsus to the ‘Default Web Site’ site in IIS on use port 80 or if you use the ‘true’ option, this will move wsus to the ‘WSUS Administration’ IIS web site on port 8530 port.</li>
</ul>
</li>
<li>Reconfigure your SSL in IIS<br />
- On the root ‘Default Web Site’ site in IIS, go in ‘Directory Security’ tab on tell IIS to reuse a certificate that you have already have created.<br />
- Reconfigure SSL for some folders in IIS, according my previous post.</li>
<li>Of course, you will have to configure your GPO or registry to reflect the changes.</li>
</ul>
<p>And finally no more errors!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[To fetch the User details from Active directory - ASP.NET]]></title>
<link>http://dineshnano.wordpress.com/?p=19</link>
<pubDate>Mon, 29 Sep 2008 13:59:06 +0000</pubDate>
<dc:creator>dineshnano</dc:creator>
<guid>http://dineshnano.id.wordpress.com/2008/09/29/to-fetch-the-user-details-from-active-directory-aspnet/</guid>
<description><![CDATA[To Access AD in an ASP.NET application, it is better to run the app under a domain user
in local adm]]></description>
<content:encoded><![CDATA[<p><span style="font-family:Tms Rmn;">To Access AD in an ASP.NET application, it is better to run the app under a domain user</p>
<p>in local administrator. For example, you can config like following:</p>
<p>1. In machine.config, &#60;ProcessModal&#62; element, set the User to System</p>
<p>2. In Web.config, set &#60;identity Impersonate=true /&#62;</p>
<p>3. In IIS manager, set the app's anonymous access account to domain user in</p>
<p>local administrator</p>
<p></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[IIS Admin Service or a service dependent on IIS Admin is not active.  It most likely failed to start, which may mean that it's disabled. Restart attempt failed.]]></title>
<link>http://tutechno.wordpress.com/?p=17</link>
<pubDate>Sun, 28 Sep 2008 02:07:16 +0000</pubDate>
<dc:creator>Apollo</dc:creator>
<guid>http://tutechno.id.wordpress.com/2008/09/28/iis-admin-service-or-a-service-dependent-on-iis-admin-is-not-active-it-most-likely-failed-to-start-which-may-mean-that-its-disabled-restart-attempt-failed/</guid>
<description><![CDATA[I recently ran into this error while trying to restart IIS.  The first thought was that MOSS ShareP]]></description>
<content:encoded><![CDATA[<p>I recently ran into this error while trying to restart IIS.  The first thought was that MOSS SharePoint somehow caused the problem (it so easy to blame Microsoft).  In any case after looking in the error logs we noticed that we were catching an SMTP error (WHAT!!!!!).  So, we uninstalled the SMTP service on the Server (Windows 2003 SP2) and after a reboot, IIS reset was able to restart.  So if you ever see the error "</p>
<p>IIS Admin Service or a service dependent on IIS Admin is not active. It most likely failed to start, which may mean that it's disabled. Restart attempt failed",</p>
<p>look into the error log an see if you have a bad SMTP install.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Windows Server 2008 and SSL certificates]]></title>
<link>http://dkprojects.wordpress.com/?p=185</link>
<pubDate>Thu, 25 Sep 2008 17:40:39 +0000</pubDate>
<dc:creator>Devon Kerr</dc:creator>
<guid>http://dkprojects.id.wordpress.com/2008/09/25/windows-server-2008-and-ssl-certificates/</guid>
<description><![CDATA[While I work for a Microsoft SPLA partner I don&#8217;t have very many Windows based websites hosted]]></description>
<content:encoded><![CDATA[<p>While I work for a Microsoft SPLA partner I don't have very many Windows based websites hosted on my equipment.  Not because of any prejudice against IIS, but because the majority of my customers come from environments that already ran some manner of Unix, and free is cheaper than our SPLA monthly costs.  So it's less an issue of economics than it is of convenience.  Anyway, after operating this Windows 2008 server for a few months I was finally faced with the prospect of creating my first SSL CSR and I was surprised at how much more streamlined the process has become since Windows 2003.  Windows 2000 wasn't so bad, but 2003 was just...well, let's just say I wasn't impressed.  In about 30 seconds I had my CSR created and I was contacting the Certificate Authority (CA) to get my CSR approved.  Installing the actual Certificate is as easy as selecting a file and giving it a friendly name and adding it to the binding for the site.</p>
<p>It's so easy that it's not much worth a guide - basically you click on your server in IIS 7.0 manager and select the "Server Certificate" icon, you click on "Create Certificate Request" in the right pane and follow the prompts.  Then, after it creates your CSR, you submit that to the CA and install the CRT that comes back.  Then you bind it to the site, itself.  Done.  If you factor in the waiting it's as easy to do in Windows 2008 as it is on any of my *nix boxes.</p>
]]></content:encoded>
</item>

</channel>
</rss>
