<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'asp.net'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=asp.net&amp;orTags=0</link><description>Search results matching tag 'asp.net'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Raid Swap = Email Program Lag ...?</title><link>http://forums.iis.net/p/1163028/1926404.aspx#1926404</link><pubDate>Sat, 28 Nov 2009 08:39:29 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1926404</guid><dc:creator>Ashton Sanders</dc:creator><cs:applicationKey>troubleshooting--1</cs:applicationKey><description>&lt;p&gt;I have this ridiculous problem, and would appreciate your thoughts.&lt;/p&gt;&lt;p&gt;Summary:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;We have a simple (ASP.NET) email program that 1) Queries the MSSQL database for valid names and emails. Then 2) Sends an email to each email. &lt;/li&gt;&lt;li&gt;For the last 2-3 years, this has taken 5-10 minutes to run.&lt;/li&gt;&lt;li&gt;On 11/15 one of the hard drives failed during a windows update (or check?) &lt;br /&gt;&lt;/li&gt;&lt;li&gt;On the 11/19 at 6:09 AM, The hard drive and raid driver was swapped (after some difficulty). The rebuild apparently didn&amp;#39;t work. The drive took 3 tries to rebuild (over the next 4 days).&lt;/li&gt;&lt;li&gt;Since that date, our email program now takes 45-70 minutes to run.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I have had the server guys and ASP.NET guys look over everything, and &amp;quot;nothing&amp;#39;s wrong&amp;quot;&lt;/p&gt;&lt;p&gt;To keep this short, I will just say: &lt;b&gt;I need to fix this, and appreciate any thoughts you may have.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Thank you,&lt;/p&gt;&lt;p&gt;Ashton Sanders &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Response.Redirect Issues</title><link>http://forums.iis.net/p/1162623/1924720.aspx#1924720</link><pubDate>Fri, 13 Nov 2009 22:36:20 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1924720</guid><dc:creator>philsidari</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;We have been successfully using ARR in our dev and test environments for some time and have had great success. There is one key difference in our production environment that is causing some issues.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;We have several instances of the app running in vdirs on the same web servers. In dev and test environments the ARR URL has the same path as the vdir name on the web servers but in prod they are different.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Test Env:&lt;/p&gt;
&lt;p&gt;=======================&lt;/p&gt;
&lt;p&gt;ARR URL:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://proxy/App-Inst1/"&gt;http://proxy/App-Inst1/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://proxy/App-Inst2/"&gt;http://proxy/App-Inst2/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Web URL:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://websvr/App-Inst1/"&gt;http://websvr/App-Inst1/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://websvr/App-Inst2/"&gt;http://websvr/App-Inst2/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Prod Env:&lt;/p&gt;
&lt;p&gt;=======================&lt;/p&gt;
&lt;p&gt;ARR URL:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://proxy.us/App/"&gt;http://proxy.us/App/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://proxy.euro/App/"&gt;http://proxy.euro/App/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Web URL:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://websvr/App-US/"&gt;http://websvr/App-US/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://websvr/App-EURO/"&gt;http://websvr/App-EURO/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So some of the requests pass through ARR correctly with our rules, but when we do a Response.Redirect to a relative path using any of the following techniques it add the VDIR name to the requested path and ARR then maps this request incorrectly:&lt;/p&gt;
&lt;p&gt;Response.Redirect(&amp;quot;../Menu.aspx&amp;quot;)&lt;/p&gt;
&lt;p&gt;Response.Redirect(&amp;quot;~/Menu.aspx&amp;quot;)&lt;/p&gt;
&lt;p&gt;Resonse.Redirect(this.ResolveUrl(&amp;quot;~/Menu.aspx&amp;quot;))&lt;/p&gt;
&lt;p&gt;Resonse.Redirect(this.ResolveUrl(&amp;quot;../Menu.aspx&amp;quot;))&lt;/p&gt;
&lt;p&gt;&amp;nbsp;So, what is the best practice for handling this issue. Note that I need the website code to work when accessed both directly and via ARR.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Phil&lt;/p&gt;</description></item><item><title>404 errors from \bin directory files after 2k3r2 sp2 and various security patches installed</title><link>http://forums.iis.net/p/1162618/1924669.aspx#1924669</link><pubDate>Fri, 13 Nov 2009 18:43:21 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1924669</guid><dc:creator>daniel.gaddis</dc:creator><cs:applicationKey>php_community-49</cs:applicationKey><description>&lt;font face="Courier New"&gt;I am now getting 404 errors from \bin directory files after 2k3r2 sp2 and various security patches were installed.&lt;/font&gt;&lt;font face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Courier New"&gt;I have multiple w2k3 servers running iis6 with FastCGI 1.5 (x86) RC, and php-5.2.9-2-nts-Win32&lt;/font&gt;&lt;font face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Courier New"&gt;Although I do not run asp.net code (the asp.net framework is installed on the server), the servers that were updated now have the following iis isapi filter enabled:&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;ASP.NET_2.0.50727.0&lt;/font&gt;&lt;font face="Courier New"&gt;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll&lt;/font&gt;&lt;font face="Courier New"&gt;low&lt;/font&gt;&lt;font face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Courier New"&gt;I found/copied the following from http://technet.microsoft.com/en-us/library/cc782952(WS.10).aspx&lt;/font&gt;&lt;font face="Courier New"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;blockquote&gt;&lt;font face="Courier New"&gt;Important&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If you install ASP.NET with IIS 6.0, structure the content of your Web site so that requests for Web site content do not need to contain /bin in the request URL. As a security measure, ASP .NET returns a 404 error for all requests containing /bin in the requested URL.&lt;/font&gt;&lt;/blockquote&gt;&lt;font face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;strong&gt;Can anyone tell me if there is any other benefit/effect to having the ASP.NET_2.0.50727.0 isapi filter enabled that applies to non asp.net pages besides the above mentioned /bin restriction?&lt;/strong&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Courier New"&gt;We are trying to decide between just removing the ASP.NET_2.0.50727.0 isapi filter or keeping it and renaming the /bin directory and changing the corresponding code.&lt;/font&gt;&lt;font face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Courier New"&gt;Any references to ASP.NET_2.0.50727.0 isapi filter specifics applicable to non asp.net requests would be appreciated.&lt;/font&gt;&lt;font face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Courier New"&gt;If an iis 5.x &amp;amp; 6.0 General, Extensibility, or ASP.NET Administration forum would be a better place to post this, I do that too. &lt;/font&gt;&lt;font face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Courier New"&gt;Thanks,&lt;/font&gt;&lt;font face="Courier New"&gt;Daniel&lt;/font&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Directory Enumeration possible on Web Server</title><link>http://forums.iis.net/p/1162488/1924017.aspx#1924017</link><pubDate>Tue, 10 Nov 2009 06:22:54 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1924017</guid><dc:creator>sunitha4ever</dc:creator><cs:applicationKey>iis7_-_security--1</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My web application runs on Windows Server 2008 and IIS 7. During penetration testing, we found that it was possible to determine the existence of directories within the web root on the system through messages returned by the access control code. This could enable an attacker to target particluar areas of functionality that they otherwise may not be aware of.&lt;/p&gt;
&lt;p&gt;Eg: 1. Directory : /includes/ - Return Code: 403 ; Conclusion:-&amp;nbsp;Forbidden. This directory exists but access has not been granted.&lt;/p&gt;
&lt;p&gt;2. Directory : /Views/ - Return Code: 403 ; Conclusion:-&amp;nbsp;Forbidden. This directory exists but access has not been granted although access is granted to subdirectoires for example /Views/xyz/abc.aspx&lt;/p&gt;
&lt;p&gt;3. Directory : /mwr/ - Return Code: 404 ; Conclusion:-&amp;nbsp;Not Found. This directory does not exist in the web root&lt;/p&gt;
&lt;p&gt;Could you please help me to prevent this enumeration of directories such that a&amp;nbsp;resource that the current user does not have access to should yield an identical message to the one displayed if that resource does not exist.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>virtual directory name and URL path conflict causes malformed hyperlinks in aspx pages</title><link>http://forums.iis.net/p/1162449/1923847.aspx#1923847</link><pubDate>Mon, 09 Nov 2009 03:53:53 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1923847</guid><dc:creator>Max Ainscough</dc:creator><cs:applicationKey>troubleshooting--1</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I (through supporting a client) have discovered an issue where hyperlinks / script urls are malformed when any string occurs as both part of the base URL as well as a virtual directory name e.g. &amp;quot;http://trythis.microsoft.com/trythis/myapp.aspx&amp;quot;&amp;nbsp; Has anyone else come across this issue, and is there a known resolution?&lt;/p&gt;&lt;p&gt;To replicate the errors, I did the following:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Created a new virtual directory to our (working) web app named &amp;#39;trythis&amp;#39;&lt;/li&gt;&lt;li&gt;Created a new host header name &amp;#39;trythis.microsoft.com&amp;#39; against the website using the same defaults as localhost&lt;/li&gt;&lt;li&gt;modified my hosts file to add reference to &amp;#39;trythis.microsoft.com&amp;#39; IP 127.0.0.1&lt;/li&gt;&lt;li&gt;restarted IIS&lt;/li&gt;&lt;li&gt;pinged &amp;#39;trythis.microsoft.com&amp;#39; successfully&lt;/li&gt;&lt;li&gt;navigated to &amp;#39;http://localhost/&amp;lt;application&amp;gt;.aspx&amp;#39; successfully with all elements working correctly.&lt;/li&gt;&lt;li&gt;replaced &amp;#39;localhost&amp;#39; with &amp;#39;trythis.microsoft.com&amp;#39; - with the page appearing but no images,links,scripts etc. being formed correctly.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;I have been able to replicate this on both 5.1 (xp) and 6.0 (Svr 2003)&lt;/p&gt;&lt;p&gt;Any help on this would be greatly appreciated.&lt;/p&gt;&lt;p&gt;Max &lt;br /&gt;&lt;/p&gt;</description></item><item><title>IIS 7.5 404 error when redirecting from ASP.NET to Classic ASP</title><link>http://forums.iis.net/p/1162408/1923666.aspx#1923666</link><pubDate>Fri, 06 Nov 2009 15:27:16 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1923666</guid><dc:creator>SpaceCowboy74</dc:creator><cs:applicationKey>iis_7_-_troubleshooting-41</cs:applicationKey><description>&lt;p&gt;I have Windows 7 x64 Ultimate installed on my development box.&amp;nbsp; I&amp;#39;ve done everything needed to get Classic ASP as well as .NET running on my system.&amp;nbsp; I&amp;#39;m developing in Visual Studio 2008 SP1.&amp;nbsp; Me web site has a default page that has a frameset on it.&amp;nbsp; In the frameset, after authorization, one frame redirects from an ASP.NET page to a Classic ASP page.&amp;nbsp; This returns a 404 error to the screen.&amp;nbsp; If I copy and paste the URL shown in the error page, I can get to the page just fine.&amp;nbsp; Of course, since it expects to be in a frameset, it doesn&amp;#39;t work quite right.&amp;nbsp; I do have parameters on the URL (in the query string) but i don&amp;#39;t think that&amp;#39;s causing the problem.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Has anyone heard of this or have any suggestions? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>How to remove IIS version name from the http header</title><link>http://forums.iis.net/p/1162397/1923627.aspx#1923627</link><pubDate>Fri, 06 Nov 2009 06:21:49 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1923627</guid><dc:creator>sunitha4ever</dc:creator><cs:applicationKey>iis7_-_security--1</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My web application runs on Windows server 2008 and IIS7.Currently, we are facing a security issue where in we need to reove the IIS version from the http header.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I would be glad if someone can help me out on this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Regards,&lt;/p&gt;
&lt;p&gt;Sunitha&lt;/p&gt;</description></item><item><title>ASP.NET site occasionally never loads at Localhost</title><link>http://forums.iis.net/p/1162227/1922865.aspx#1922865</link><pubDate>Fri, 30 Oct 2009 20:35:50 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1922865</guid><dc:creator>mbopp</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;I have a ASP.NET site that while developing would like to run on my local instance of IIS 7.&amp;nbsp; I am running it in Classic Mode.&amp;nbsp; It works most of the time, but occasionally the site never loads no matter how long I wait.&amp;nbsp; The browser just says &amp;quot;Waiting for localhost...&amp;quot;.&amp;nbsp; It does seem to happen most often after building the web application.&amp;nbsp; I understand that it takes a while to load a web app the first time after a build, but in this case it never loads.&amp;nbsp; I ultimately resolve the problem by stopping the current loading page, and trying again.&amp;nbsp; Sometimes it takes serveral attempts before successfully loading.&amp;nbsp; It is worth noting that after a build it does sometimes load, albeit a little slow as expected.&lt;/p&gt;&lt;p&gt;&amp;nbsp;If it matters I am running this site via Virtual Directory within the Default Website.&lt;/p&gt;&lt;p&gt;I have also set the App Pool to allow 32bit.&amp;nbsp; Can anyone tell me why this is necessary.&amp;nbsp; My machine, and OS are 64 bit. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Protecting static content on IIS7 in Classic Mode</title><link>http://forums.iis.net/p/1162175/1922662.aspx#1922662</link><pubDate>Thu, 29 Oct 2009 15:07:18 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1922662</guid><dc:creator>aures_arrigo</dc:creator><cs:applicationKey>iis7_-_security--1</cs:applicationKey><description>&lt;p&gt;Hi, &lt;/p&gt;&lt;p&gt;I know how to protect my static (HTML) pages in IIS6, and how to do it using the IIS7 Integrated Pipeline, but how can I protect my HTML pages from unauthorised access in IIS7 when running in Classic Mode? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;It&amp;#39;s an ASP.NET site using forms authentication.&lt;/p&gt;&lt;p&gt;Thanks! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Web Platform Installer for non-Free app?</title><link>http://forums.iis.net/p/1161807/1922082.aspx#1922082</link><pubDate>Sun, 25 Oct 2009 10:18:48 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1922082</guid><dc:creator>tusmester</dc:creator><cs:applicationKey>web_platform_installer-52</cs:applicationKey><description>&lt;p&gt;Thanks, that sounds easy, this is what I&amp;#39;ve tried (I tried to make my custom xml based on the official ones but didn&amp;#39;t succeed, itt seems that because of the missing tab info), but now I think it will work, using the samples.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Cheers&lt;/p&gt;&lt;p&gt;Mike, sensenet.hu &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>