Published XBAP access failing on IIS 7
April 7, 2009
Posted by on
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.
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:
Hope this helps 🙂 .