![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Re: MIME configure for xbap type Hi Jazz Under Vista, IIS 6 Scripting Tools are disabled by default and to run the script to set the MIME types you need to enable this setting. As you noted, the command script to set the MIME settings is at http://windowssdk.msdn.microsoft.com...b-9ba2-4e75-a0 d5-180ec9639433.aspx. Before executing the script, enable II6 Scripting Tools from your Vista desktop: 1. Click Start and then click Control Panel. 2. In the Control Panel Home (non-Classic View) click System and Maintenance. 3. Under "System and Maintenance" click Programs, and then in the right pane under “Programs and Features” click Turn Windows features on or off. 4. In the "Windows Features" dialog click-expand Internet Information Services; click-expand Web Management Tools; click-expand IIS 6 Management Compatibility; and then click to enable: x Web Management Tools x IIS 6 Management Compatibility x IIS 6 Management Console x IIS 6 Scripting Tools x IIS 6 WMI Compatibility x IIS Metabase and IIS 6 configuration compatibility x IIS Management Console x IIS Management Scripts and Tools x IIS Management Services Click OK to enable the selected features. 5. Once the "IIS 6 Scripting Tools" feature has been enabled, click Start, click All Programs, click Accessories, right-click Command Prompt, and then in the pop-up context menu click Run as Administrator... (click Continue if the "User Account Control" permissions dialog appears). The command prompt window will now open. 6. In the command prompt window, change the directory (cd) to the folder where you stored the SetMime.vbs script. Once in the correct directory, type the name of the script to execute it (e.g. C:> SetMime). That should get the registry settings set for XBAP and other MIME types. Jack -----Original Message----- From: Jazz Posted At: Friday, June 23, 2006 5:39 AM Posted To: microsoft.public.windows.developer.winfx.avalon Conversation: MIME configure for xbap type Subject: MIME configure for xbap type Hello, I'm running WPF on Vista B2. Tried to play with xbap, but failed. As the MIME type for xbap is not in the IIS mapping list. Is there any command(something similar to aspnet_regiis as we used to use) I can run to add the missing settings . I think the problem is due to the fact that when I first installed Vista without enabling the IIS, and then I installed VS2005, WinFX. And later when I found the MIME mapping is empty, I went to the Windows feature tool to turn on the IIS. After that all the regular suffix such as .asp, .aspx, .asmx are added, but the WinFx related suffix such as .xbap are not there. I also tried the .vbs file in SDK(http://windowssdk.msdn.microsoft.com...8c2cb-9ba2-4e7 5-a0d5-180ec9639433.aspx), but it fails with the sytax error(column 1 , line 12). Any idea? Thanks, Jazz |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is the MIME type of Windows Powershell script files (.ps1 fil | zkyboy | PowerShell | 3 | 03-11-2008 07:37 AM |
| MIME Map Error | KParchinski | Vista account administration | 2 | 10-30-2007 12:41 PM |
| Windows does not recognize this MIME type. | SAL | Vista General | 1 | 07-20-2007 10:07 AM |
| S/Mime for OWA | Andee39 | Vista General | 2 | 05-16-2007 06:16 PM |
| Setting up the Coldfusion document type in MIME mapping on IIS 7.0 Beta | iam bennu | Vista installation & setup | 1 | 07-05-2006 02:45 PM |