Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Re: MIME configure for xbap type

 
 
Old 06-28-2006   #1 (permalink)
Jack Davis [MS]


 
 

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 SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
is it possible to determine file mime type? PowerShell
What is the MIME type of Windows Powershell script files (.ps1 fil PowerShell
Windows does not recognize this MIME type. Vista General
S/Mime for OWA Vista General
Setting up the Coldfusion document type in MIME mapping on IIS 7.0 Beta Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46