<?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 'Visual Studio'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=Visual+Studio&amp;orTags=0</link><description>Search results matching tag 'Visual Studio'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: IISMANAGER_CRASH IIS Manager terminated unexpectedly.</title><link>http://forums.iis.net/p/1156311/1898253.aspx#1898253</link><pubDate>Thu, 26 Mar 2009 10:15:16 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1898253</guid><dc:creator>sabarslan</dc:creator><cs:applicationKey>iis_7_-_troubleshooting-41</cs:applicationKey><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;I found the answer by trying a hell lot of things. Hopefully it will be of help to others as well. &lt;/p&gt;
&lt;p&gt;It started off with the error that service unavailable. To resolve that, I replicated the classic asp.net application pool and changed the Application pool of my web application to the new application pool. That got rid of service unavailable error.(but I&amp;#39;m unable to figure out the problem with the default apps pool)&lt;br /&gt;&lt;br /&gt;Then came &amp;quot;HTTP Error 401.2 - Unauthorized&lt;br /&gt;You are not authorized to view this page due to invalid authentication headers.&amp;quot; &lt;br /&gt;For this I Enabled the anonymous authentication in IIS Manager. For details you can visit &lt;a title="http://support.microsoft.com/kb/942043/" href="http://support.microsoft.com/kb/942043/" rel="nofollow external"&gt;http://support.microsoft.com/kb/942043/&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Then another error which was &amp;quot;HTTP Error 403.14 - Forbidden&lt;br /&gt;The Web server is configured to not list the contents of this directory.&amp;quot;&lt;br /&gt;To solve this, I enabled the directory browsing for my web application IIS Manager.&lt;br /&gt;&lt;br /&gt;Finally, the last error was &amp;quot;The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to &amp;#39;C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files&amp;#39;. &amp;quot;&lt;br /&gt;This was resolved by giving full rights to the user NETWORK SERVICE for the folder C:\Windows\Temp.&lt;br /&gt;&lt;br /&gt;So at last I&amp;#39;m able to test my application.&lt;br /&gt;&lt;br /&gt;Best Regards.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>windows service acessing a web service (IIS7 + Vista )</title><link>http://forums.iis.net/p/1155751/1895629.aspx#1895629</link><pubDate>Wed, 04 Mar 2009 13:51:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1895629</guid><dc:creator>LuizFredericoJr</dc:creator><cs:applicationKey>iis_7_-_troubleshooting-41</cs:applicationKey><description>&lt;div class="ForumPostContentText"&gt;
&lt;p&gt;When my&amp;nbsp;Windows Service ( VS 2005 +&amp;nbsp;Net 2.0 + IIS7 + Vista )&amp;nbsp;try call a web service i get the error: &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;System.Net.WebException: Falha na solicitação com status HTTP 401: Unauthorized. em System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) em System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) em WinService_Teste_2005.localService.Service.HelloWorld&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Any tips?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</description></item><item><title>How to Configure Customer Error Handler for IIS7--for both static and dynamic content</title><link>http://forums.iis.net/p/1153365/1885970.aspx#1885970</link><pubDate>Tue, 25 Nov 2008 23:07:17 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1885970</guid><dc:creator>Databoy</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;Can anyone advise me on how to configure and/or code custom error handling on IIS7?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Goals:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Must run on 64 Bit Server 2008&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Must run on IIS7&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Must work in a Microsoft NLB webfarm&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Must redirect all static content (.htm, .jpg, etc.) 404s to an .aspx file &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Must redirect all dynamic content (.aspx) 404s to the &lt;em&gt;same&lt;/em&gt; .aspx file&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Must not double-post dynamic content (&lt;em&gt;&lt;strong&gt;my specific current difficulty&lt;/strong&gt;&lt;/em&gt;)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I have been doing all of the above successfully for years on Server 2003/IIS6 (so I understand the basic issues--just not in Server 2008/IIS7)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;Motive:&lt;/strong&gt; I maintain a webfarm that redirects all 404s (static or dynamic) to an SQL 2008 database that attempts to redirect customers to the most up-to-date file when the hit an obsolete (static or dynamic) url.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Current Status:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;I have succeed at setting up custom errors for static content in IIS7.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;I have succeeded at setting up custom errors for dynamic content in IIS7.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;When I turn on both the dynamic content posts to the error handling page twice&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;I have tried (from global.asax page) variations of&amp;nbsp;.Redirect, .Transfer, .TransferRequest without success&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Existing Setup:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;From my site web.config file:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;customErrors mode=&amp;quot;On&amp;quot; defaultRedirect=&amp;quot;~/Error-Handler.aspx&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;error statusCode=&amp;quot;404&amp;quot; redirect=&amp;quot;~/Page-Redirector.aspx&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/customErrors&amp;gt; &lt;/p&gt;
&lt;p&gt;From my C:\Windows\System32\inetsrv\config\applicationHost.config file:&lt;/p&gt;
&lt;p&gt;...&lt;br /&gt;&amp;lt;section name=&amp;quot;httpErrors&amp;quot; overrideModeDefault=&amp;quot;Allow&amp;quot; /&amp;gt;&lt;br /&gt;...&lt;br /&gt;&amp;lt;system.webServer&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; ...&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;httpErrors errorMode=&amp;quot;Custom&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;remove statusCode=&amp;quot;404&amp;quot; subStatusCode=&amp;quot;-1&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;error statusCode=&amp;quot;404&amp;quot; prefixLanguageFilePath=&amp;quot;&amp;quot; path=&amp;quot;/Page-Redirector.aspx&amp;quot; responseMode=&amp;quot;ExecuteURL&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/httpErrors&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; ...&lt;br /&gt;&amp;lt;/system.webServer&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; That Page-Redirector.aspx (shown above) gets posted to twice for every dynamic error if I have custom error handling for static content turned on...&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;</description></item><item><title>IIS7 did not play sounds</title><link>http://forums.iis.net/p/1151252/1877341.aspx#1877341</link><pubDate>Thu, 21 Aug 2008 10:38:56 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1877341</guid><dc:creator>wuyow</dc:creator><cs:applicationKey>iis_7_-_troubleshooting-41</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am developing a web based attendance taking system in VS2005, VB, .NET v2.0, IIS7, IE7 and Vista Ent. The system suppose to beep at each check-in.&lt;/p&gt;
&lt;p&gt;When I debug the program from VS2005, the beep sound works. However, when I run the program from IIS7 (localhost), there is no sound and no exception.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried the following methods that made sound from VS2005 but not through IIS7:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;beep() - system.Console&lt;/li&gt;
&lt;li&gt;beep() - system.VisualBasic.Interaction&lt;/li&gt;
&lt;li&gt;beep(frequency, duration) - Private Declare Function Beep Lib &amp;quot;kernel32&amp;quot; Alias &amp;quot;Beep&amp;quot; _&lt;br /&gt;&amp;nbsp;(ByVal dwFreq As Long, ByVal dwDuration As Long) As Long&lt;/li&gt;
&lt;li&gt;PlaySound(Path, Int, Int) - Private Declare Auto Function PlaySound Lib &amp;quot;winmm.dll&amp;quot; (ByVal lpszSoundName As String, ByVal hModule As Integer, ByVal dwFlags As Integer) As Integer&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Anyone could help to figure out the problem and the solution? Is there any configuration need to be set for IIS7?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Upload and Download files</title><link>http://forums.iis.net/p/1149474/1870028.aspx#1870028</link><pubDate>Thu, 22 May 2008 08:46:01 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1870028</guid><dc:creator>nielskrikken</dc:creator><cs:applicationKey>iis_7_-_troubleshooting-41</cs:applicationKey><description>&lt;p&gt;Hey everyone,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve set up a IIS website on my network, with this website i want to up- and dowload files.&lt;br /&gt;i&amp;#39;m using an asp.net(c#) site, how should I do this, so that the whole network can upload and download&lt;/p&gt;
&lt;p&gt;&amp;nbsp;thanks Already&lt;/p&gt;</description></item><item><title>Re: IIS6 Metabase error Windows Vista SP1</title><link>http://forums.iis.net/p/1148928/1867620.aspx#1867620</link><pubDate>Fri, 18 Apr 2008 23:35:54 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1867620</guid><dc:creator>davcox</dc:creator><cs:applicationKey>iis_7_-_troubleshooting-41</cs:applicationKey><description>&lt;p&gt;Can you give us some more information about what error you&amp;#39;re seeing?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;In case you didn&amp;#39;t see them already, Mike has some great articles he&amp;#39;s written recently on using Visual Studio and IIS7 together.&amp;nbsp; If that article doesn&amp;#39;t solve your problem, you should submit a comment about how this article could be improved.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Here is Mike&amp;#39;s Blog about using Visual Studio and IIS7&lt;/p&gt;
&lt;p&gt;&lt;a href="http://mvolo.com/blogs/serverside/archive/2008/04/04/Using-Visual-Studio-2005-with-IIS-7.0.aspx"&gt;http://mvolo.com/blogs/serverside/archive/2008/04/04/Using-Visual-Studio-2005-with-IIS-7.0.aspx&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is the specific article about using VS 2005:&amp;nbsp; &lt;br /&gt;&lt;a href="http://learn.iis.net/page.aspx/431/using-visual-studio-2005-with-iis-70/"&gt;http://learn.iis.net/page.aspx/431/using-visual-studio-2005-with-iis-70/&lt;/a&gt;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Web application unavailable in Visual Studio when run on Vista</title><link>http://forums.iis.net/p/1148241/1864610.aspx#1864610</link><pubDate>Tue, 04 Mar 2008 17:39:31 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1864610</guid><dc:creator>johnkaplar</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;I have a web application that I&amp;#39;ve been working on for the past year in Visual Studio 2005 and more recently in Visual Studio 2008 Team edition. &amp;nbsp;I recently bought a new laptop which runs Windows Vista Business Edition. &amp;nbsp;I installed Visual Studio 2008 Team Edition on the machine without a problem. &amp;nbsp;When I tried to open the solution from Source Control, an error message is displayed that states: System.Runtime.InteropServices.COMException. &amp;nbsp; The web portion of the soultion does not load, it states that it is unavailable and the project file cannot be loaded. &amp;nbsp;When I access the web page through IE, it runs fine. The problem is only in Visual Studio. These are the steps that I have taken to try and fix this error. &amp;nbsp;Keep in mind that this ran fine on XP. &lt;br /&gt;&lt;br /&gt;1. I created the virtual directory in IIS 7.0 and converted the virtual directory to a web application. &amp;nbsp;It is set to run asp.net 2.0&lt;br /&gt;2. I registered ASP.NET 2.0 by executing aspnet_regiis -i&lt;br /&gt;3. I turned off windows firewall&lt;br /&gt;4. Even though my account on this computer is an Administrator, I ran Visual Studio 2008 as the Administrator. &lt;br /&gt;5. I checked to make sure the url in the web vbproj file matches the url that i created on the localhost. &lt;br /&gt;6. I created a new Application Pool, in the classic style. &amp;nbsp;The application is set to use this new application pool. &lt;br /&gt;&lt;br /&gt;It seems to me that this issue has something to do with either the security in Vista or something to do with IIS 7. &amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks in advance for your help. &lt;/p&gt;</description></item><item><title>Monitoring IIS</title><link>http://forums.iis.net/p/1147194/1860192.aspx#1860192</link><pubDate>Thu, 06 Dec 2007 07:21:50 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1860192</guid><dc:creator>anil.soman</dc:creator><cs:applicationKey>general--1</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am looking for some code in .Net version 2.0 and C# which can be used to monitor the things like&lt;/p&gt;
&lt;p&gt;1. Getting the list of all websites on a remote WebServer.&lt;/p&gt;
&lt;p&gt;2. Getting the memory usage or utilisation from each of the above websites.&lt;/p&gt;
&lt;p&gt;3. Directory structure from each of the above websites.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried to use System.Diagnostics namespace to get the above information but couldn&amp;#39;t find anything useful in that. Can you please suggest me some directions to achieve the above result?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Anil&lt;/p&gt;</description></item><item><title>FTP on IIS7</title><link>http://forums.iis.net/p/1143447/1845329.aspx#1845329</link><pubDate>Tue, 07 Aug 2007 14:39:03 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1845329</guid><dc:creator>easytec</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;How do I get FTP to work on IIS7, it wasn&amp;#39;t listed and the Windows Vista Home Premium package said it was included, I can&amp;#39;t install as it isn&amp;#39;t in the checkable list box (add and remove&amp;nbsp;Windows&amp;#39; features).&lt;/p&gt;
&lt;p&gt;How do I get it? Where do I download it? IIS7 said it includes FTP, what is FTP7, apparently it&amp;#39;s just an upgrade from the Windows Server 2008 Beta (Codename &amp;#39;Longhorn&amp;#39;), which isn&amp;#39;t included in Windows Vista Home Premium.&lt;/p&gt;
&lt;p&gt;I want the FTP server, or should I assign the port with third party software (I need access passwords and usernames).&lt;/p&gt;</description></item><item><title>IIS7 localhost returnging a blank pabe</title><link>http://forums.iis.net/p/1105110/1688731.aspx#1688731</link><pubDate>Mon, 30 Apr 2007 20:51:45 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1688731</guid><dc:creator>crussell</dc:creator><cs:applicationKey>general--1</cs:applicationKey><description>&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;I am attempting to install Visual Studio 2005, SQL Server 2005, and PHP on a new machine.&amp;nbsp; This means that IIS must be enabled.&amp;nbsp; I have tried turning off the IIS feature in Vista, and removing Inetpub.&amp;nbsp; I have tried minimal (just checking the IIS selection) and selecting all modules.&amp;nbsp; I have tried adding Visual Studio before then getting the update.&amp;nbsp; I have made many other attempts as well.&amp;nbsp;&amp;nbsp; IIS is shown as running and iisstart is shown as the startup page but local host returns only a blank browser with no errors. When I try to set up a virtual directory I get the same results.&amp;nbsp; I am totally stumped I am not a network manager I am a developer so my knowledge about network administration is limited.&amp;nbsp; Did I miss something?&lt;/SPAN&gt;&lt;/P&gt;</description></item></channel></rss>