Vista Beta 2 IIS7 setup<P>I've just upgraded to the new Vista Beta 2 build 5384 and am unable to get any of the WCF samples provided with the SDK to run.&nbsp; I'm pretty sure it's just an IIS7 setup issue.</P> <P>From reading around i've seen a few sites recommending that i add a MIME type mapping for the .svc file... but i cant' work out how to do that.&nbsp; This (<a target="_blank" title="http://www.iis.net/default.aspx?tabid=2&amp;subtabid=25&amp;i=1032) suggestes" href="http://www.iis.net/default.aspx?tabid=2&amp;subtabid=25&amp;i=1032) suggestes">http://www.iis.net/default.aspx?tabid=2&amp;subtabid=25&amp;i=1032) </a><FONT color=#000000>suggests that there should be a MIME Types item in the list of things i can configure for the default web site in inetmgr ... but it's not there??</FONT></P> <P>Here's what i have done so far.</P> <P>Installed...<BR>1. Vista<BR>2. IIS - added the windows feature<BR>3. Windows SDK<BR>4. WCF (en_windows_communication_foundation_beta2_x86)<BR>5. Visual Studio 2005<BR>6. vsextwfx (The Orcas stuff)</P> <P>I found out afterwards that you need to check the box for ASP.NET under development features when adding IIS to windows so that it does basically the same thing as running aspnet_regiis -i&nbsp; would do.&nbsp; So i can run html pages, aspx pages from my localhost now no probs.&nbsp; When i go to the service.svc file however i get this error:</P> <P><SPAN> </P> <H1><EM>Server Error in 'Default Web Site/servicemodelsamples' Application.</EM></H1><EM> <HR width="100%" color=silver SIZE=1> </EM> <H2><EM>HTTP Error 404.3 - Not Found</EM></H2></SPAN><FONT face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <P><EM><B><FONT face=Verdana>Description:</FONT></B> The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and therefore is not allowed. </EM> <P><EM><B><FONT face=Verdana>Error Code:</FONT></B> 0x80070032 </EM> <P><EM><B><FONT face=Verdana>Notification:</FONT></B> ExecuteRequestHandler </EM> <P><EM><B><FONT face=Verdana>Module:</FONT></B> StaticFileModule </EM> <P><EM><B><FONT face=Verdana>Requested URL:</FONT></B> http://localhost:80/servicemodelsamples/service.svc </EM> <P><EM><B><FONT face=Verdana>Physical Path:</FONT></B> C:\inetpub\wwwroot\servicemodelsamples\service.svc </EM> <P><EM><B><FONT face=Verdana>Logon User:</FONT></B> Anonymous </EM> <P><EM><B><FONT face=Verdana>Logon Method:</FONT></B> Anonymous </EM> <P><EM><B><FONT face=Verdana>Handler:</FONT></B> StaticFile </EM> <P><EM><B><FONT face=Verdana>Causes:</FONT></B> </EM> <UL> <LI><EM>The appropriate MIME map is not enabled for the web site or application </EM></LI></UL> <P><EM><B><FONT face=Verdana>Solution:</FONT></B> </EM> <UL> <LI><EM>Verify that the MIME map is enabled or add the MIME map for the site. </EM> <OL> <LI><EM>From the Web Management tool, open a connection to the website. </EM> <LI><EM>Double click the MIME Types Management feature. </EM> <LI><EM>Verify that the MIME type is in the list and is not set to Removed. </EM> <LI><EM>If the MIME type is in the list and set to Removed, highlight the MIME Type in the list, and in the MIME Types Tasks, click Restore. </EM> <LI><EM>If the MIME Type is not in the list, complete the MIME Type information in the Tasks pane under New MIME Type, and then click Add. </EM></LI></OL><EM>NOTE: Make sure that this MIME mapping is needed for your Web server before adding it to the list. </EM> <LI><EM>Set up a new Failed Request Trace rule for this HTTP status code. </EM> <OL> <LI><EM>Use the IIS Web Management tool to open a connection to the Web server where the problem is occurring. </EM> <LI><EM>In the tree view, navigate to the Web site, and then click to select it. </EM> <LI><EM>In the Tasks pane, click Failed Request Tracing. </EM> <LI><EM>Check Enable Logging for this Site, specify a logging folder or use the default log folder, and then click OK </EM> <LI><EM>Open the Failed Request Tracing Rules feature and click New Rule in the Tasks pane. </EM> <LI><EM>Specify the content type to monitor and then click Next. </EM> <LI><EM>Check the Status Codes checkbox, type 404.3 in the Edit box, and then click Next. </EM> <LI><EM>In the Providers area, make sure that the WWW Server is checked and highlighted, and that in Provider Properties, the Verbosity level is set to Verbose. </EM> <LI><EM>Click FinishRequest the page that generated the 404.3 error and then look at the tracing file that was created for the request. This file is located in the logging folder you specified in Step 4. </EM></LI></OL></LI></UL> <P></FONT><EM></EM>&nbsp;</P> <P>Anybody know what's wrong and how to fix it... thanks in advance!!</P> <P><BR></P>© 2009 Microsoft Corporation. All rights reserved.Thu, 09 Oct 2008 22:55:23 Zaf549354-efce-4baa-84f3-a4d53ee24857http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#af549354-efce-4baa-84f3-a4d53ee24857http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#af549354-efce-4baa-84f3-a4d53ee24857freeflyrhttp://social.msdn.microsoft.com/Profile/en-US/?user=freeflyrVista Beta 2 IIS7 setup<P>I've just upgraded to the new Vista Beta 2 build 5384 and am unable to get any of the WCF samples provided with the SDK to run.&nbsp; I'm pretty sure it's just an IIS7 setup issue.</P> <P>From reading around i've seen a few sites recommending that i add a MIME type mapping for the .svc file... but i cant' work out how to do that.&nbsp; This (<a target="_blank" title="http://www.iis.net/default.aspx?tabid=2&amp;subtabid=25&amp;i=1032) suggestes" href="http://www.iis.net/default.aspx?tabid=2&amp;subtabid=25&amp;i=1032) suggestes">http://www.iis.net/default.aspx?tabid=2&amp;subtabid=25&amp;i=1032) </a><FONT color=#000000>suggests that there should be a MIME Types item in the list of things i can configure for the default web site in inetmgr ... but it's not there??</FONT></P> <P>Here's what i have done so far.</P> <P>Installed...<BR>1. Vista<BR>2. IIS - added the windows feature<BR>3. Windows SDK<BR>4. WCF (en_windows_communication_foundation_beta2_x86)<BR>5. Visual Studio 2005<BR>6. vsextwfx (The Orcas stuff)</P> <P>I found out afterwards that you need to check the box for ASP.NET under development features when adding IIS to windows so that it does basically the same thing as running aspnet_regiis -i&nbsp; would do.&nbsp; So i can run html pages, aspx pages from my localhost now no probs.&nbsp; When i go to the service.svc file however i get this error:</P> <P><SPAN> </P> <H1><EM>Server Error in 'Default Web Site/servicemodelsamples' Application.</EM></H1><EM> <HR width="100%" color=silver SIZE=1> </EM> <H2><EM>HTTP Error 404.3 - Not Found</EM></H2></SPAN><FONT face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <P><EM><B><FONT face=Verdana>Description:</FONT></B> The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and therefore is not allowed. </EM> <P><EM><B><FONT face=Verdana>Error Code:</FONT></B> 0x80070032 </EM> <P><EM><B><FONT face=Verdana>Notification:</FONT></B> ExecuteRequestHandler </EM> <P><EM><B><FONT face=Verdana>Module:</FONT></B> StaticFileModule </EM> <P><EM><B><FONT face=Verdana>Requested URL:</FONT></B> http://localhost:80/servicemodelsamples/service.svc </EM> <P><EM><B><FONT face=Verdana>Physical Path:</FONT></B> C:\inetpub\wwwroot\servicemodelsamples\service.svc </EM> <P><EM><B><FONT face=Verdana>Logon User:</FONT></B> Anonymous </EM> <P><EM><B><FONT face=Verdana>Logon Method:</FONT></B> Anonymous </EM> <P><EM><B><FONT face=Verdana>Handler:</FONT></B> StaticFile </EM> <P><EM><B><FONT face=Verdana>Causes:</FONT></B> </EM> <UL> <LI><EM>The appropriate MIME map is not enabled for the web site or application </EM></LI></UL> <P><EM><B><FONT face=Verdana>Solution:</FONT></B> </EM> <UL> <LI><EM>Verify that the MIME map is enabled or add the MIME map for the site. </EM> <OL> <LI><EM>From the Web Management tool, open a connection to the website. </EM> <LI><EM>Double click the MIME Types Management feature. </EM> <LI><EM>Verify that the MIME type is in the list and is not set to Removed. </EM> <LI><EM>If the MIME type is in the list and set to Removed, highlight the MIME Type in the list, and in the MIME Types Tasks, click Restore. </EM> <LI><EM>If the MIME Type is not in the list, complete the MIME Type information in the Tasks pane under New MIME Type, and then click Add. </EM></LI></OL><EM>NOTE: Make sure that this MIME mapping is needed for your Web server before adding it to the list. </EM> <LI><EM>Set up a new Failed Request Trace rule for this HTTP status code. </EM> <OL> <LI><EM>Use the IIS Web Management tool to open a connection to the Web server where the problem is occurring. </EM> <LI><EM>In the tree view, navigate to the Web site, and then click to select it. </EM> <LI><EM>In the Tasks pane, click Failed Request Tracing. </EM> <LI><EM>Check Enable Logging for this Site, specify a logging folder or use the default log folder, and then click OK </EM> <LI><EM>Open the Failed Request Tracing Rules feature and click New Rule in the Tasks pane. </EM> <LI><EM>Specify the content type to monitor and then click Next. </EM> <LI><EM>Check the Status Codes checkbox, type 404.3 in the Edit box, and then click Next. </EM> <LI><EM>In the Providers area, make sure that the WWW Server is checked and highlighted, and that in Provider Properties, the Verbosity level is set to Verbose. </EM> <LI><EM>Click FinishRequest the page that generated the 404.3 error and then look at the tracing file that was created for the request. This file is located in the logging folder you specified in Step 4. </EM></LI></OL></LI></UL> <P></FONT><EM></EM>&nbsp;</P> <P>Anybody know what's wrong and how to fix it... thanks in advance!!</P> <P><BR></P>Wed, 31 May 2006 15:15:35 Z2006-06-07T10:05:32Zhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#f9ba6568-4624-41c2-bb64-b8f2978ac45ehttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#f9ba6568-4624-41c2-bb64-b8f2978ac45efreeflyrhttp://social.msdn.microsoft.com/Profile/en-US/?user=freeflyrVista Beta 2 IIS7 setupAnybody??  I'm still having this issue, is anyone else seeing the same thing.  Or even better does anyone know how to fix it?<br><br>MSFT?Mon, 05 Jun 2006 09:43:58 Z2006-06-05T09:43:58Zhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#2daac054-baa1-40f8-bbce-b094436b4705http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#2daac054-baa1-40f8-bbce-b094436b4705Ed Pinto - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Ed%20Pinto%20-%20MSFTVista Beta 2 IIS7 setupI'd suggest running &quot;c:\windows\WinFx\v3.0\Windows Communication Foundation\ServiceModelReg.exe&quot; -i.  This should configure WAS/IIS appropriately for you.Mon, 05 Jun 2006 16:19:23 Z2006-06-07T10:05:32Zhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#8abb4414-77a0-44db-838d-41e19039a81dhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#8abb4414-77a0-44db-838d-41e19039a81dfreeflyrhttp://social.msdn.microsoft.com/Profile/en-US/?user=freeflyrVista Beta 2 IIS7 setup<p>Hi Ed,</p> <p>Thanks for the response, it seems to be working fine now!! WOO HOOO!!</p> <p>I just wanted to post the following incase anyone else runs into this same problem.  The first time i ran the command the output was as follows (looks like it was already partially installed perhaps?? i really don't know but it failed anyway).  So after getting the following message the service.svc page still have the same error message.  Basically I just had to run servicemodelreg -ua (uninstall all versions) then run servicemodelreg -i again at this time it worked like a charm.</p> <p><font color="#ff6600">C:\Windows\WinFX\v3.0\Windows Communication Foundation&gt;servicemodelreg -i<br>Microsoft(R) Windows Communication Foundation Installation Utility<br>[Microsoft® .NET Framework, Version 3.0.3906.22]<br>Copyright (c) Microsoft Corporation.  All rights reserved.</font></p> <p><br><font color="#ff6600">Installing: Machine.config Section Groups and Handlers</font></p> <p><font color="#ff6600">Installing: Xws System.Web Build Provider</font></p> <p><font color="#ff6600">Installing: Xws System.Web Compilation Assemblies</font></p> <p><font color="#ff6600">Installing: Xws Http Handlers</font></p> <p><font color="#ff6600">Installing: Xws Http Modules</font></p> <p><font color="#ff6600">Installing: Xws ListenerAdapter node for protocol net.tcp</font></p> <p><font color="#ff6600">Installing: Xws Protocol node for protocol net.tcp</font></p> <p><font color="#ff6600">Installing: Xws TransportConfiguration node for protocol net.tcp</font></p> <p><font color="#ff6600">Error: Unable to cast object of type 'System.ServiceModel.Configuration.ServiceH<br>ostingEnvironmentSection' to type 'System.ServiceModel.Configuration.ServiceHost<br>ingEnvironmentSection'.</font></p>Wed, 07 Jun 2006 10:05:25 Z2006-06-07T10:05:25Zhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#8c1c157a-f38d-4eb0-8ac0-85953de01e8ahttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#8c1c157a-f38d-4eb0-8ac0-85953de01e8asambarhttp://social.msdn.microsoft.com/Profile/en-US/?user=sambarVista Beta 2 IIS7 setup<p>Hey!</p> <p>I'm having the exact same problem, and have been performing all above mentioned.</p> <p><font face="Verdana, Geneva, Arial, Sans-serif"><strong>The page you requested has a file name extension that is not recognized, and therefore is not allowed. </strong></font></p> <p>The handler is still StaticFile, for this page, and the PHP-handler seems to be overlooked..</p> <p>Thanks for your time!</p> <p>Regards from Sweden.</p> <p>Erik</p>Tue, 13 Jun 2006 22:07:31 Z2006-06-13T22:07:31Zhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#e72ec1bf-257d-4dc0-9df2-c4ab9f6c10bahttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#e72ec1bf-257d-4dc0-9df2-c4ab9f6c10bakawano1hhttp://social.msdn.microsoft.com/Profile/en-US/?user=kawano1hVista Beta 2 IIS7 setupHi, This is kawano1h again.<br>Actually, I did find the file <span><span id="_ctl0_MainContent__ctl0_PostForm_ReplyBody" class=txt4>c:\windows\WinFx\v3.0\Windows Communication Foundation\ServiceModelReg.exe<br>And I run the file but still I get the same error.<br>The only thing I have't installed from freeflyr's list is </span></span><span id="_ctl0_MainContent_PostFlatView"><span> <br>WCF (en_windows_communication_foundation_beta2_x86)<br>which I do not know where I can download it from.<br>I can run aspx files fine but still having trouble with svc files.<br>Please help. <br>Thanks.<br></span></span>Wed, 14 Jun 2006 01:29:33 Z2006-06-14T01:29:33Zhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#6677c3db-22ae-46f5-8432-691d66376bfahttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#6677c3db-22ae-46f5-8432-691d66376bfaNeurothustrahttp://social.msdn.microsoft.com/Profile/en-US/?user=NeurothustraVista Beta 2 IIS7 setupThe CLI only installs the IIS features that are already accessible by default. What is needed here is very simple: how is MIME configured in IIS7 when it is not visible (or even present) within the IIS7 API? Any tutorial or instructions that do not reference the MIME configuration is not relevant in this thread.Tue, 20 Jun 2006 04:21:18 Z2006-06-20T04:21:18Zhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#e5fa4f55-ccd4-4432-b15c-b0b1b3a729ffhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#e5fa4f55-ccd4-4432-b15c-b0b1b3a729ffGummimanhttp://social.msdn.microsoft.com/Profile/en-US/?user=GummimanVista Beta 2 IIS7 setup<p>Has a solution to this problem been found yet?</p> <p>I too get the &quot;The appropriate MIME map is not enabled for the web site or application&quot; error. I tried the servicemodelreg -i but could not run from the account vista created durring setup. I had to enable and config the policy to allow Administrator account to logon. Logged in as the Administrator I could run the servicemodelreg but that did not resolve the problem.</p> <p>I found the following page on adding a mime type <font size=1>(h</font><a title="http://technet2.microsoft.com/WindowsServer/f/?en/Library/17bda1f4-8a0d-440f-986a-5aaa9d40b74c1033.mspx" href="http://technet2.microsoft.com/WindowsServer/f/?en/Library/17bda1f4-8a0d-440f-986a-5aaa9d40b74c1033.mspx"><font size=1>ttp://technet2.microsoft.com/WindowsServer/f/?en/Library/17bda1f4-8a0d-440f-986a-5aaa9d40b74c1033.mspx</font></a><font size=2><font size=1>)</font> </font>But that appears to be pre-beta2, since common http features is now just http features and there are no options in IIS 7 under vista beta 2 for mime types.</p> <p>I aslo seem to have a prob with visual web dev 2005 express. Opening a website uder local IIS gives an error &quot;you must be a member of the administrators group on the local computer to access the IIS metabase. Therfore, you cannot create or open a local IIS web site. ect&quot; even logged in as the Administrator. Creating a new website with the location set to Http the error is &quot;The data area passed to a system call is too small&quot;.  I'm guessing this too is related to IIS. </p>Wed, 21 Jun 2006 18:44:33 Z2006-06-21T18:44:33Zhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#4a77d578-51d6-48c9-aaa8-1762a90a5891http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#4a77d578-51d6-48c9-aaa8-1762a90a5891O.oTimTimhttp://social.msdn.microsoft.com/Profile/en-US/?user=O.oTimTimVista Beta 2 IIS7 setup<P>Me too!</P> <P>I can only browse PHP frome my IIS<BR>No HTM/HTML</P> <P>It was still&nbsp;OK last week&nbsp;even I've already&nbsp;installed PHP5</P> <P>How to solve this problem?</P>Fri, 30 Jun 2006 15:48:31 Z2006-06-30T15:48:31Zhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#9eeecd94-ab51-440a-85d3-4e1381df125chttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#9eeecd94-ab51-440a-85d3-4e1381df125cLiberato78http://social.msdn.microsoft.com/Profile/en-US/?user=Liberato78Vista Beta 2 IIS7 setup<p>I have tha same problem &quot;error 404.3&quot; trying to open .cfm files (Cold Fusion file), mime estension problem.</p>Sat, 01 Jul 2006 09:59:23 Z2006-07-01T09:59:23Zhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#0418b2e7-cbd2-4fdf-8784-ded481c91310http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#0418b2e7-cbd2-4fdf-8784-ded481c91310DanielHillierhttp://social.msdn.microsoft.com/Profile/en-US/?user=DanielHillierVista Beta 2 IIS7 setup<p><span style="font-size:9.5pt;color:black">Just because you are log in as a administrator does mean everything runs in Admin mode. You need to make sure you run the programme with administrative privileges.</span></p> <p><span style="font-size:9.5pt;color:black">I'm still having difficulties running ASP pages on IIS7? </span></p> <p><span style="font-size:9.5pt;color:black">Daniel</span></p> <p></span></p>Mon, 03 Jul 2006 01:43:57 Z2006-07-03T01:43:57Zhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#e27767d0-9b02-4b45-b43b-f641a3e85d0dhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/af549354-efce-4baa-84f3-a4d53ee24857#e27767d0-9b02-4b45-b43b-f641a3e85d0dLarry Aultmanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Larry%20AultmanVista Beta 2 IIS7 setup<p>I could not get Vista Beta 2 IIS 7 to recognize the .SVC file either. I have been hunting for two days for a solution.  My thanks to Ed who posted the answer:</p> <p><font color="#ff6600">C:\Windows\WinFX\v3.0\Windows Communication Foundation\servicemodelreg.exe -i</font></p> <p><font color="#ff6600"></font><font color="#000000">The problem is missleading in that it really has nothing to do with a MIME type, rather IIS 7 needs to launch the proper handler for the file type (.svc).  I use Visual Studio 2005, and I created a WinFX service using the defaults but it would not work - now it does!</font></p> <p>I hope Microsoft will get this into the final build so that Visual Studio can create web services in WCF without so much hassle.</p> <p> </p> <p>Larry Aultman, Tallahassee FL<br></p>Thu, 03 Aug 2006 20:58:38 Z2006-08-03T20:58:38Z