Niraj Bhatt – Architect's Blog

Ruminations on .NET, Architecture & Design

Published XBAP access failing on IIS 7

XBAP projects normally have config files attached to them which point to WCF services. The problem with IIS 7 is by default it doesn’t allow any requests for .config files to pass through. To enable access for config files in IIS 7 you can go to Features view of your application’s virtual directory and double click on Request Filtering as shown below.

iis71

Over here you will find all file extensions listed. You will see that by default .config are not allowed. You can delete the same and recreate the .config file extension with Allowed set to true as shown below:

iis721

Hope this helps 🙂 .

Advertisements

One response to “Published XBAP access failing on IIS 7

  1. Niraj Rai September 15, 2011 at 11:44 pm

    Great Post

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: