Welcome to MSDN Blogs Sign in | Join | Help

Richard Godfrey

Software Architecture, Engineering and Stuff
Getting your XBAP to be hosted in IIS in Vista

Just in case you're trying out the new XBAP model with WPF on Vista and are hitting the same issue as I have with registering the XBAP MIME types, this advice from Jack Davis will help... Thanks Jack!

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.  The command script to set the MIME settings is at

http://windowssdk.msdn.microsoft.com/en-us/library/c6e8c2cb-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

 

Posted: Friday, June 30, 2006 3:00 PM by rgodfrey

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker