<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.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/"><channel><title>Web Hosting with IIS and ASP.NET</title><link>http://forums.asp.net/160.aspx</link><description>Discuss the operation of Windows Server 2003 and IIS 6.0 in a services provider hosted environment.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Add ASP.NET website on Windows Server 2008</title><link>http://forums.asp.net/thread/3537083.aspx</link><pubDate>Sat, 28 Nov 2009 11:29:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3537083</guid><dc:creator>hj7</dc:creator><author>hj7</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3537083.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3537083</wfw:commentRss><description>&lt;p&gt;Hi, I&amp;#39;m new to windows server and I&amp;#39;m facing a problem in running ASP.net application.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I added the application folder in IIS:&lt;br /&gt;Site Binding:&lt;br /&gt;Type: http&lt;br /&gt;IP: All Unassigned (*)&lt;br /&gt;Port: 80&lt;br /&gt;Host name: &lt;a href="http://www.mydomain.com"&gt;www.mydomain.com&lt;/a&gt;&lt;br /&gt;(DNS are pointing to the server).&lt;/p&gt;
&lt;p&gt;Additional info: it&amp;#39;s an asp.net 3.5 on windows server 2008.&lt;/p&gt;
&lt;p&gt;I always fail to browse the website, but when I switch the host name to &amp;quot;localhost&amp;quot;, everything work good.&lt;/p&gt;
&lt;p&gt;As I&amp;#39;m new to windows server, any simple information would help.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thank in advance.&lt;/p&gt;</description></item><item><title>WebApplication lifetime problem</title><link>http://forums.asp.net/thread/3537478.aspx</link><pubDate>Sat, 28 Nov 2009 18:59:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3537478</guid><dc:creator>yunuzzz</dc:creator><author>yunuzzz</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3537478.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3537478</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have an web application, the criteria are:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;The first time of page request takes a long time &lt;img src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-frown.gif" alt="Frown" title="Frown" border="0" /&gt;, because it loads configuration from database, setup initial states, etc.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The next page request served quickly &lt;img src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-cool.gif" alt="Cool" title="Cool" border="0" /&gt;.&lt;/li&gt;&lt;li&gt;If &lt;u&gt;there are no request within about 5 minutes&lt;/u&gt;, the next page request will takes a long time (repeats to no 1) . I checked that the web application shut down by hosting service (i am using iis7 shared hosting) &lt;img src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-cry.gif" alt="Cry" title="Cry" border="0" /&gt; (it still alive when i run the webapp using VS&amp;#39; development server/local)&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;question:&lt;/p&gt;&lt;p&gt;How do configure the web app (maybe in web.config file) so&lt;u&gt; the web application lifetime is longer&lt;/u&gt; or &lt;u&gt;never die&lt;/u&gt; (except the server is restarted by admin)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>problem with asp</title><link>http://forums.asp.net/thread/3537061.aspx</link><pubDate>Sat, 28 Nov 2009 11:02:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3537061</guid><dc:creator>sherone</dc:creator><author>sherone</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3537061.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3537061</wfw:commentRss><description>&lt;p&gt;with Hello, I&amp;#39;ve make one simple ASP file and when i run it it&amp;#39;ll asking me for dowwnloading a page?. Can any one tell me why it is happen? I&amp;#39;ve installed IIS also.. but form wwwroot i&amp;#39;ll run default file , it&amp;#39;ll ask me for usrname and password ? Can any onr tell me why it is happen? Pl. help me.&lt;/p&gt;</description></item><item><title>How can manage Hosting account in ASP.Net using c#</title><link>http://forums.asp.net/thread/3274623.aspx</link><pubDate>Sat, 04 Jul 2009 12:18:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274623</guid><dc:creator>syedmalish</dc:creator><author>syedmalish</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/3274623.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3274623</wfw:commentRss><description>&lt;p&gt;My Problem is to manage Hosting account programmatically using c# in ASP.Net:&lt;/p&gt;&lt;p&gt;1.&amp;nbsp; Creating sub-domains &lt;/p&gt;&lt;p&gt;2.&amp;nbsp; Managing FTP users&lt;/p&gt;&lt;p&gt;3.&amp;nbsp; Managing email accounts&lt;/p&gt;&lt;p&gt;4.&amp;nbsp; E-mail forwording&lt;/p&gt;&lt;p&gt;5.&amp;nbsp; E-mail listing&lt;/p&gt;&lt;p&gt;6.&amp;nbsp; Creating Databases like MySql, SQL, Postgre, MS Access, etc.&lt;/p&gt;&lt;p&gt;7.&amp;nbsp; Managing Ad-On domains &lt;/p&gt;&lt;p&gt;and more that can be posible&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Can anyone help me and give me the exact concept or any API free of cost which allow all these things&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How to make an "DNS name" for "Common Name" in IIS v5.1 ?</title><link>http://forums.asp.net/thread/3536105.aspx</link><pubDate>Fri, 27 Nov 2009 13:36:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3536105</guid><dc:creator>tanhongsin</dc:creator><author>tanhongsin</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3536105.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3536105</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;&lt;div style="margin-top:0px;margin-right:0px;margin-bottom:20px;margin-left:0px;list-style-type:none;font-size:14px;text-align:left;padding:8px;"&gt;Hello, i want to implementing openSSL on my aspx page and im using IIS 5.1. When im generating CSR (certificate request) they ask me to input &amp;quot;common name&amp;quot;, in microsoft help, i found that this &amp;quot;common name&amp;quot; is something like www.google.com or like that. The problem is, i dont have that name, so im using ip address and port number and virtual directory of my website -&amp;gt; &amp;quot;125.167.44.55:1220/igotvote&amp;quot;. is that okay? because so long im just getting the error msg on my browser that my page using ssl is not available. So, now i want to try using like www.google.com, and how can i do that? i mean, i dont want to hosting my website on other server. I want to use my PC as an server. So, how to do that?&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description></item><item><title>failed to execute url.</title><link>http://forums.asp.net/thread/3534479.aspx</link><pubDate>Thu, 26 Nov 2009 13:04:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3534479</guid><dc:creator>ksureshh_pk</dc:creator><author>ksureshh_pk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3534479.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3534479</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have installed 64 bit windows 7 in my system. when i was using
iis 6 ,the URL rewriting is working fine. but now its not working. its
showing &amp;quot;failed to execute url&amp;quot; error. &lt;/p&gt;
&lt;p&gt;I have done the following in the handler mappings,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;changed
the staticfile handler to *.* and added the new script map wildcard&amp;nbsp; *
(%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll)&amp;nbsp; in
handler mappings, also move the newly added script to the below static
file handler. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Even though i have done the above, this is not working for me.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please anyone help me regarding this ?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;
Suresh.k&lt;/p&gt;</description></item><item><title>asp.net mode on sbs 2008</title><link>http://forums.asp.net/thread/3532924.aspx</link><pubDate>Wed, 25 Nov 2009 17:39:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3532924</guid><dc:creator>HowardP</dc:creator><author>HowardP</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3532924.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3532924</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;We are trying to get asp.net to run in 32 bit mode on a windows sbs 2008 64 bit&lt;/p&gt;
&lt;p&gt;server.&amp;nbsp; We have changed iis to 32 bit, which is fine, but we cannot get asp.net to run in 32 bit which we need to run a certain application.&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Random images are not appearing</title><link>http://forums.asp.net/thread/3532898.aspx</link><pubDate>Wed, 25 Nov 2009 17:27:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3532898</guid><dc:creator>DavidLozzi</dc:creator><author>DavidLozzi</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3532898.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3532898</wfw:commentRss><description>&lt;p&gt;Howdy,&lt;/p&gt;
&lt;p&gt;We have a .net ecommerce site template we built from scratch years ago. One of our customers has 9 sites running on this template, all hosted on the same server. As of late, when browsing the sites&amp;nbsp;in FireFox the header images and other random site images will not appear. A refresh will fix it but then it disappears again. A couple of the sites are&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.keepsakequilting.com"&gt;www.keepsakequilting.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.shopscrapandpapercorner.com"&gt;www.shopscrapandpapercorner.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I used fiddler in FireFox and IE to compare and according to fiddler I downloaded the image fine, but FireFox wouldn&amp;#39;t show it.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s running on a Win2k3 server with IIS 6. How can I get this working properly? &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>What to choose between Plesk 9 and DotNetPanel ?</title><link>http://forums.asp.net/thread/3283544.aspx</link><pubDate>Thu, 09 Jul 2009 12:07:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3283544</guid><dc:creator>webpresence</dc:creator><author>webpresence</author><slash:comments>9</slash:comments><comments>http://forums.asp.net/thread/3283544.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3283544</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi all,&lt;br /&gt;&lt;br /&gt;Can you help me please to choose between Plesk 9 and DotNetPanel ? I want to start a web hosting business based on Windows Server 2008 but I haven&amp;#39;t decided yet about the control panel.&lt;br /&gt;&lt;br /&gt;I already tested both control panels, and my main conclusion is that Plesk 9 is MORE complicated than DotNetPanel.&lt;br /&gt;&lt;br /&gt;What control panel is more secure and more stable, Plesk or DotNetPanel ?&lt;br /&gt;&lt;br /&gt;Thank you for your help.&lt;/p&gt;</description></item><item><title>where to start (installing and administering dedicated  windows server 2008 for hosting )</title><link>http://forums.asp.net/thread/3511690.aspx</link><pubDate>Fri, 13 Nov 2009 18:51:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3511690</guid><dc:creator>asp2004sh</dc:creator><author>asp2004sh</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3511690.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3511690</wfw:commentRss><description>&lt;p&gt;Ihave my own server with an excellent internet connection and would like to start a dedicated server hosting . i don&amp;#39;t know where can i &lt;/p&gt;&lt;p&gt;find all the training material i need , tutorials , video , ebook,... etc ., &lt;/p&gt;&lt;p&gt;I have all the needed softwares except the mail server, i have windows 2008 , dotnetpanel ...&lt;/p&gt;&lt;p&gt;i need your help .... thanks&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Windows Server 2008 IIS7 - Web site sub site windows authentication causing post back issues.</title><link>http://forums.asp.net/thread/3506484.aspx</link><pubDate>Wed, 11 Nov 2009 11:57:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3506484</guid><dc:creator>mdhill</dc:creator><author>mdhill</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3506484.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3506484</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have been pointed in this direction by the Microsoft Gold Partner team who think my problem is asp.net related, can you help?&lt;/p&gt;
&lt;p&gt;One of our clients&amp;nbsp;hosts&amp;nbsp;their own external website configured to allow anonymous access. Within this site is &lt;a href="http://www.northamptoncollege.ac.uk/intranet"&gt;xxxx/intranet&lt;/a&gt; that is set to use windows authentication and basic authentication. Within in the root website are a number of areas that are not working such as search facility and text resize, if the &lt;a href="http://www.northamptoncollege.ac.uk/intranet"&gt;xxxx/intranet&lt;/a&gt; site is accessed. This has been tested both internally and externally, if /intranet is not accessed at all the searches etc. work all OK.&lt;br /&gt;These use a post back method. apparently, there is a known issue with IIS where windows or basic authentication are used within a root site, causing the authentication token to raise the issue when going back to the root domain. Only example we can find is &lt;a href="http://www.eggheadcafe.com/software/aspnet/32246978/empty-post-request"&gt;http://www.eggheadcafe.com/software/aspnet/32246978/empty-post-request&lt;/a&gt; .aspx . we have tried the solutions suggested on this site, and this has made no change.&lt;br /&gt;They&amp;nbsp;are using Windows server 2008 32 bit, service packed and all patches applied, IIS7.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Attempted to read or write protected memory. This is often an indication that other memory has been corrupted</title><link>http://forums.asp.net/thread/3484951.aspx</link><pubDate>Fri, 30 Oct 2009 06:08:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3484951</guid><dc:creator>mantistech</dc:creator><author>mantistech</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3484951.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3484951</wfw:commentRss><description>&lt;p&gt;I have just moved over from a Windows 2003 hosting environment to Windows 2008.&lt;/p&gt;
&lt;p&gt;All my sites (300 +) are in asp.net 2.0 and since moving to the new environment (2 x win 2008 servers), I am randomly getting the following error message appear:&lt;/p&gt;
&lt;p&gt;Attempted to read or write protected memory. This is often an indication that other memory has been corrupted&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The only way to rectify the error is to recycle the application pool / kill the worker process so it starts again/&lt;/p&gt;
&lt;p&gt;It is happening on the two servers and appears to happen to sites when they experience heavy load. I have tried both having the sites in a shared application pool and dedicated application pool. I have also changed session state from in process to using a state server.&lt;/p&gt;
&lt;p&gt;Has anyone else experienced this issue running asp.net 2.0 sites that have been working fine for years in II6 6.0 and then experiencing this issue in iis 7?&lt;/p&gt;
&lt;p&gt;Any help at all will be appreciated.. I am at my wits end and have hundreds of clients on my back asking why their sites keep going down.&lt;/p&gt;</description></item><item><title>Backup solution</title><link>http://forums.asp.net/thread/3463497.aspx</link><pubDate>Sat, 17 Oct 2009 23:19:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3463497</guid><dc:creator>Nezdet</dc:creator><author>Nezdet</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3463497.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3463497</wfw:commentRss><description>&lt;p&gt;Im thinking of buying a&amp;nbsp;backup for my webbservers and databaseservers. But Iam not sure which soultions is new and better, easy to user.&lt;/p&gt;
&lt;p&gt;Here are some solutions:&lt;br /&gt;- Nearline&lt;br /&gt;&amp;nbsp;&amp;nbsp; - Autoloader/Bandloade&lt;br /&gt;&amp;nbsp;&amp;nbsp; - Disc - to - Disc backupsystem&lt;br /&gt;- Online &lt;br /&gt;&amp;nbsp;&amp;nbsp;-DAS&lt;br /&gt;&amp;nbsp;&amp;nbsp;-NAS&lt;br /&gt;&amp;nbsp;&amp;nbsp;-SAN &lt;/p&gt;
&lt;p&gt;Provide me whith information and all the&amp;nbsp; best solutions! &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Windows Server 2008 R2 and IIS 7.....401 - Unauthorized: Access is denied due to invalid credentials.</title><link>http://forums.asp.net/thread/3443298.aspx</link><pubDate>Tue, 06 Oct 2009 13:49:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3443298</guid><dc:creator>cluce</dc:creator><author>cluce</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3443298.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3443298</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;we have just upgraded our server to a 64 bit version and I transfered all my websites over and every web site I access I get the following error message:&lt;/p&gt;
&lt;p&gt;&amp;#39;&lt;/p&gt;
&lt;h2&gt;401 - Unauthorized: Access is denied due to invalid credentials.&lt;/h2&gt;
&lt;h3&gt;You do not have permission to view this directory or page using the credentials that you supplied.&amp;nbsp; &lt;/h3&gt;
&lt;h3&gt;&amp;nbsp;&lt;/h3&gt;
&lt;h3&gt;any ideas?&amp;nbsp; Thanks&lt;/h3&gt;</description></item><item><title>Custom Extension Validate if File Exists</title><link>http://forums.asp.net/thread/3404706.aspx</link><pubDate>Mon, 14 Sep 2009 22:02:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3404706</guid><dc:creator>simerjots</dc:creator><author>simerjots</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3404706.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3404706</wfw:commentRss><description>&lt;p&gt;Hey Guys,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I am dynamically creating custom&amp;nbsp; pages on our websites with custom extension. In iis 6.0 i can uncheck the box &amp;quot;Verify that the file Exists&amp;quot; and all is good, but in IIS &amp;amp; I can not find that option. Can anyone help me with this?&lt;/p&gt;&lt;p&gt;I am using IIS 7 on a cloud platform&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Securing ASP.NET in hosting environment</title><link>http://forums.asp.net/thread/3308782.aspx</link><pubDate>Thu, 23 Jul 2009 01:41:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3308782</guid><dc:creator>ThomasMack</dc:creator><author>ThomasMack</author><slash:comments>8</slash:comments><comments>http://forums.asp.net/thread/3308782.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=3308782</wfw:commentRss><description>&lt;p&gt;I plan on offering free and cheap ASP.NET web hosting. I am creating my own back end panel in C#/ASPNET. When a new account is created, I am programmatically creating the website and app pool in IIS using Microsoft.Web.Administration. &lt;br /&gt;&lt;br /&gt;How can I go about blocking any kind of security threats related to ASP.NET for the websites I created programmatically? I mean in general, how would I go about securing IIS/ASP.NET? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Get a list of Virtual directories</title><link>http://forums.asp.net/thread/2988899.aspx</link><pubDate>Sat, 07 Mar 2009 02:38:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2988899</guid><dc:creator>eesmm</dc:creator><author>eesmm</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/2988899.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=2988899</wfw:commentRss><description>&lt;p&gt;Not strictly a deployment issue, more of an IIS question.&amp;nbsp; I hope I chose the correct forum.&lt;/p&gt;&lt;p&gt;I&amp;#39;m working on a web-access inteface for a windows app I once wrote.&amp;nbsp; The users&amp;#39; data is in directories and the web-access pege will draw on that data by the local admin simply assigning them as virtual directories within the web site root.&lt;/p&gt;&lt;p&gt;Upon page_load, I need to search for all virtual directories that fit the pattern, say &amp;quot;*.archive&amp;quot; but I can&amp;#39;t find a class that gives me access to virtual directories the way that IO.Directory.GetDirectories(Server.MapPath(&amp;quot;~&amp;quot;)) does for real directories.&lt;/p&gt;&lt;p&gt;Any help appreciated&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Working with IIS 6.0 Application Pools – The Performance Tab</title><link>http://forums.asp.net/thread/623323.aspx</link><pubDate>Fri, 02 Jul 2004 19:50:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:623323</guid><dc:creator>Matthew Boettcher</dc:creator><author>Matthew Boettcher</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/623323.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=623323</wfw:commentRss><description>This message posting is to present information for review and discussion by hosting services providers administrators. It is provided “as is” with no warranties or guarantees, for use at the sole discretion of the reader.
&lt;br /&gt;
----------
&lt;br /&gt;

&lt;br /&gt;
The Performance tab of IIS 6.0 application pool configuration properties contains settings that monitor the performance of the application pool and the worker processes running in it. These are the Performance configuration properties:
&lt;br /&gt;

&lt;br /&gt;
• Shutdown worker processes after being idle for (time in minutes)
&lt;br /&gt;
&amp;gt;This setting limits the number of minutes that a worker process can remain idle before it will be shut down by the system.
&lt;br /&gt;

&lt;br /&gt;
• Limit the kernel request queue (number of requests)
&lt;br /&gt;
&amp;gt;This setting limits the number of requests that can be queued for this application pool before 503 HTTP error messages are returned to users.
&lt;br /&gt;

&lt;br /&gt;
• Enable CPU monitoring
&lt;br /&gt;
&amp;gt;This setting activates CPU monitoring and enables the next three settings to be used.
&lt;br /&gt;

&lt;br /&gt;
• Maximum CPU use (percentage)
&lt;br /&gt;
&amp;gt;This setting specified the maximum CPU usage allowed before an action is taken.
&lt;br /&gt;

&lt;br /&gt;
• Refresh CPU usage number (in minutes)
&lt;br /&gt;
&amp;gt;This setting specifies the intervals at which the CPU usage should be checked.
&lt;br /&gt;

&lt;br /&gt;
• Action performed when CPU usage exceeds maximum CPU use
&lt;br /&gt;
&amp;gt;This setting specifies the action performed when the CPU usage is found to have exceeded the maximum CPU use. Two options are available:
&lt;br /&gt;

&lt;br /&gt;
1. Take No Action – IIS logs the CPU maximum usage event in the System event log but takes no corrective action.
&lt;br /&gt;

&lt;br /&gt;
2. Shutdown – IIS logs the event and requests that the application pool’s worker processes be recycled, based on the Shutdown Time Limit set on the Health tab.
&lt;br /&gt;

&lt;br /&gt;
• Maximum number of worker processes
&lt;br /&gt;
&amp;gt;This setting specifies the maximum number of worker processes that will be created to handle this application pool.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
&amp;lt;Notes on Shutting Down Idle Worker Processes&amp;gt;
&lt;br /&gt;
Although worker processes start on demand based on incoming requests and thus resources are allocated only when necessary, worker processes don’t free up the resources they use until they are shut down. In the default configuration, worker processes are shut down after they have been idle for 20 minutes. This ensures that any physical or virtual memory used by the worker process is made available to other processes running on the server, which is especially important if the server is busy.
&lt;br /&gt;

&lt;br /&gt;
Shutting down idle worker processes is a good idea in most instances, and if system resources are at a premium you might even want idle processes shut down sooner than 20 minutes. For example, on a moderately busy server with many configured sites and applications where there are intermittent resource issues, reducing the idle time-out could resolve the problems of resource availability.
&lt;br /&gt;

&lt;br /&gt;
Keep in mind though that shutting down idle worker processes can have unintended consequences. For example, on a dedicated server with ample memory and resources, shutting down idle worker processes clears cached components out of memory. These components must be reloaded into memory when the worker process starts and requires them, which might make the application seem unresponsive or sluggish.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
&amp;lt;Notes on Limiting Request Queues&amp;gt;
&lt;br /&gt;
When hundreds or thousands of new requests pour into an application pool’s request queue, the IIS server can become overloaded and overwhelmed. To prevent this from occurring, you can limit the length of the application pool request queue. Once a queue limit is set, IIS checks the queue size each time before adding a new request to the queue. If the queue limit has been reached, IIS rejects the request and sends the client an HTTP Error 503: Service Unavailable message.
&lt;br /&gt;

&lt;br /&gt;
Requests that are already queued remain queued even if you change the queue limit to a value that is less than the current queue length. The only consequence here would be that new requests wouldn’t be added to the queue until the current queue length is less than the queue limit.
&lt;br /&gt;

&lt;br /&gt;
The default limit for an application pool is 4000 requests. On a moderately sized server with a few application pools configured, this might be a good value. However, on a server with multiple CPUs and lots of RAM, this value might be too low. On a server with limited resources or many application pools configured, this value might be too high. Here you might want to use a formula of Memory Size in Megabytes x Number of CPUs x 10 divided by Number of Configured Application Pools to determine what the size of the average request queue should be. This is meant to be a guideline to give you a starting point for consideration and not an absolute rule. For example, on a server with two CPUs, 1024 MB of RAM, and twenty configured application pools, the size of the average request queue limit would be around 1,000 requests. You might have some application pools configured with request queue limits of 750 and others with request queue limits of 1,250. However, if the same server had only one configured application pool, you probably wouldn’t configure a request queue limit of 10,000.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
&amp;lt;Notes on CPU Monitoring&amp;gt;
&lt;br /&gt;
Typically, you’ll want to set a value to at least 90 percent. However, to ensure that worker processes are recycled only when they’re blocking other processes, you should set the value to 100 percent.
&lt;br /&gt;

&lt;br /&gt;
In most cases you won’t want to check the CPU usage more frequently than every five minutes. If you monitor CPU usage more frequently, you might waste resources that could be better used by other processes.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
&amp;lt;Notes on Configuring Multiple Worker Processes for Application Pools&amp;gt;
&lt;br /&gt;
Multiple worker processes running in their own context can share responsibility for handling requests for an application pool. This configuration setting is referred to as a Web Garden. When you define a Web Garden, each new request is assigned to a worker process according to the round-robin load balancing technique.
&lt;br /&gt;

&lt;br /&gt;
If a single application is placed in an application pool serviced by multiple worker processes, any and all worker processes available will handle requests queued for the application. This is a multiple-worker-process-to-single-application configuration, and it is best used when you want to improve the application’s request handling performance and reduce any possible contention for resources with other applications. In this care the application might have heavy usage during peak periods and moderate-to-heavy usage during other times, or individuals using the application might have specific performance expectations that must be met.
&lt;br /&gt;

&lt;br /&gt;
If multiple applications are placed in an application pool serviced by multiple worker processes, any and all worker processes available handle the requests queued for any applicable application. This is a multiple-worker-process-to-multiple-application configuration, and it is best used when you want to improve request handling performance and reduce resource contention for multiple applications but don’t want to dedicate resources to any single application. In this case the various applications in the application pool might have different peak usage periods or might have varying resource needs.
&lt;br /&gt;

&lt;br /&gt;
It’s important to note that worker processes aren’t started automatically and don’t use resources until they are needed. Rather, they are started as necessary to meet the demand based on incoming requests. For example, if you configure a maximum of five worker processes for an application pool, there may be at any given time from zero to five worker processes running in support of applications placed in that application pool.
&lt;br /&gt;

&lt;br /&gt;
You also need to keep in mind that when you assign multiple worker processes to a busy application pool that each worker process sues server resources when it’s started and might affect the performance or applications in other application pools. Adding worker processes won’t resolve latency issues due to network communications or bandwidth, and it can reduce the time it takes to process requests only if those requests were queued and waiting and not being actively processed. A poorly engineered application will still respond poorly, and at some point you’d need to look at optimizing the application code for efficiency and timeliness.
&lt;br /&gt;

&lt;br /&gt;
</description></item><item><title>Cannot use a leading .. to exit above the top directory. </title><link>http://forums.asp.net/thread/2335648.aspx</link><pubDate>Sat, 03 May 2008 14:17:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2335648</guid><dc:creator>etbramble</dc:creator><author>etbramble</author><slash:comments>6</slash:comments><comments>http://forums.asp.net/thread/2335648.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=2335648</wfw:commentRss><description>&lt;p&gt;I am getting this error on our production server only:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Cannot use a leading .. to exit above the top directory.&lt;/em&gt; &lt;/p&gt;
&lt;p&gt;I do not know what is causing it.&amp;nbsp; There is no URL rewriting that I am aware of, which the other posts state is the cause of the problem.&amp;nbsp; If anyone can get me started on the right track to resolving this issue I would greatly appreciate it.&lt;/p&gt;
&lt;p&gt;The page error also seems to highligh instances where &amp;lt;%= control.ClientID %&amp;gt; is used.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>w3wp.exe high mem usage, hang</title><link>http://forums.asp.net/thread/1906464.aspx</link><pubDate>Thu, 13 Sep 2007 07:55:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1906464</guid><dc:creator>jalikid</dc:creator><author>jalikid</author><slash:comments>8</slash:comments><comments>http://forums.asp.net/thread/1906464.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=1906464</wfw:commentRss><description>&lt;p&gt;Hi all&lt;/p&gt;&lt;p&gt;I have a asp.net 1.1 application deployed on an windows 2003 server. Sometimes, I got the error &amp;quot;Server unavailable&amp;quot;, at that time I view the task manager and see that the w3wp.exe process takes more than 1G memory, and also the following event capture in event viewer:&lt;/p&gt;&lt;p&gt;Event Type:&amp;nbsp;&amp;nbsp;&amp;nbsp; Warning&lt;br /&gt;Event Source:&amp;nbsp;&amp;nbsp;&amp;nbsp; W3SVC&lt;br /&gt;Event Category:&amp;nbsp;&amp;nbsp;&amp;nbsp; None&lt;br /&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp; 1013&lt;br /&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 9/6/2007&lt;br /&gt;Time:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 1:08:20 AM&lt;br /&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;br /&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp; L16&lt;br /&gt;Description:&lt;br /&gt;A process serving application pool &amp;#39;AppPool .Net1.1&amp;#39; exceeded time limits during shut down. The process id was &amp;#39;2476&amp;#39;. &lt;br /&gt;&lt;br /&gt;For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;The only thing I can do is restarting world wide web publishing servive.&lt;/p&gt;&lt;p&gt;Please help me.&lt;/p&gt;&lt;p&gt;Thanks in advanced.&lt;/p&gt;&lt;p&gt;Jalikid&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Monitoring Memory Usage</title><link>http://forums.asp.net/thread/2436432.aspx</link><pubDate>Fri, 20 Jun 2008 14:07:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2436432</guid><dc:creator>wullie</dc:creator><author>wullie</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/2436432.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=2436432</wfw:commentRss><description>&lt;p&gt;Is it possible to monitor memory usage of websites in IIS on a per site basis.&lt;/p&gt;&lt;p&gt;For example, if i had ten asp.net websites running in IIS on my server, could I see what memory each site is using in respect to session variables etc?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>HTTP Error 403.1 - Forbidden: Execute access is denied.</title><link>http://forums.asp.net/thread/1625032.aspx</link><pubDate>Sat, 17 Mar 2007 23:10:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1625032</guid><dc:creator>Vision619</dc:creator><author>Vision619</author><slash:comments>6</slash:comments><comments>http://forums.asp.net/thread/1625032.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=1625032</wfw:commentRss><description>&lt;p&gt;I cannot get these pages with extension .asp or .aspx to load on my new Windows Server 2003 setup. I get the old ... &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;"The page cannot be displayed You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed. "&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;I just bought it and it's been a while since I've been an administrator hosting websites so I'm a nit rusty. Until my Firebox gets here I am using the Firewall that comes with 2003 :(. I hope that's not the problem. &lt;/p&gt;
&lt;p&gt;Any idea's? Any help is &lt;strong&gt;GREATLY&lt;/strong&gt; appreciated! &lt;/p&gt;
&lt;p&gt;Mike &lt;/p&gt;</description></item><item><title>Maintenance</title><link>http://forums.asp.net/thread/2321274.aspx</link><pubDate>Fri, 25 Apr 2008 13:59:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2321274</guid><dc:creator>NickKA</dc:creator><author>NickKA</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/2321274.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=2321274</wfw:commentRss><description>&lt;p&gt;We have a service oriented arcitecture (SOA) where we have business processes packaged as web services. From time to time there may be a need to bring an IIS server down to perform maintenance. Since this is an Intranet, in-house environment, the network team wants to&amp;nbsp;modify the DNS server so that &lt;a href="http://server1.mycompany.com/"&gt;http://server1.mycompany.com&lt;/a&gt; will point to a different server while maintenance is being performed.&lt;/p&gt;
&lt;p&gt;Is this the best practice for doing maintenance?&lt;/p&gt;</description></item><item><title>Mass Shared Hosting Implementation</title><link>http://forums.asp.net/thread/1636451.aspx</link><pubDate>Mon, 26 Mar 2007 04:05:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1636451</guid><dc:creator>gmcnaughton</dc:creator><author>gmcnaughton</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/1636451.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=1636451</wfw:commentRss><description>&lt;p&gt;Hey all,&lt;/p&gt;&lt;p&gt;I'm looking for info about implementing mass shared hosting of ASP.NET content.&amp;nbsp; While there is good documentation about &lt;a href="http://msdn2.microsoft.com/en-us/library/aa302436.aspx"&gt;configuring IIS6.0 for mass hosting of static content&lt;/a&gt;, I have a lot of unanswered questions about ASP.NET.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;We run a web farm, with load-balanced servers accessing content on a centralized UNC filer.&amp;nbsp; Because the number of sites is so wide, we disable as much caching as we can (the cache hit rate is minimal).&amp;nbsp; This brings up a lot of questions about caching in ASP.NET:&lt;br /&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Can we prevent ASP.NET from caching compiled ASPX assemblies on disk?&amp;nbsp; (Otherwise the temp compilation directory on each server would quickly fill up.)&lt;br /&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Since you can &lt;a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/a5766228-828e-4e31-a92b-51da7d24d569.mspx?mfr=true"&gt;disable caching for ASP pages&lt;/a&gt; -- can the same be done for ASPX?&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;If not, can the temporary compilation directory be set to shared a UNC path?&amp;nbsp; Can multiple servers in a web farm share compiled assemblies?&lt;/li&gt;&lt;li&gt;Can we prevent ASP.NET from caching ASPX assemblies in memory?&amp;nbsp; Or do we just have to rely on the AppDomains constantly recycling after they have loaded hundreds of assemblies?&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Since IIS6 &lt;a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/9c6405ef-b247-4c0c-b490-41a9b6682b1e.mspx?mfr=true"&gt;defaults to last-modified time checking for UNC content&lt;/a&gt;, does that work correctly with ASP.NET?&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Since there are no file-changed notifications, does ASP.NET know when the source needs to be recompiled?&lt;/li&gt;&lt;li&gt;Does it know when web.config files have changed?&lt;/li&gt;&lt;li&gt;Because ASP.NET &lt;a href="http://support.microsoft.com/kb/319947"&gt;listens to a lot of file-based events&lt;/a&gt; (files changing, folders renaming, etc.), I just want to make sure last-modified checking is kosher. :)&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Out of curiosity: is last-modified the default for ALL content in IIS6.0, or only UNC content?&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;There are many more questions, but answers to those would be a great start.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Enable Footer Document in IIS 6.0</title><link>http://forums.asp.net/thread/2493756.aspx</link><pubDate>Wed, 16 Jul 2008 15:31:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2493756</guid><dc:creator>hismightiness</dc:creator><author>hismightiness</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/2493756.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=160&amp;PostID=2493756</wfw:commentRss><description>&lt;p&gt;I used this documentation to add footer information to all web pages on a specific site.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/e27f918e-89a9-45a8-8604-2ad2ded09d64.mspx?mfr=true"&gt;http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/e27f918e-89a9-45a8-8604-2ad2ded09d64.mspx?mfr=true&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, it only applies to HTML files.&amp;nbsp; How can I get the footer to be included on ASPX pages too?&lt;/p&gt;</description></item></channel></rss>