XamlWebControls and IIS7

by Daniel 29. May 2009 07:02

For all of you that want to run WebSites that utilize XamlWebControls in IIS7 (Integrated pipeline mode), you have to perform the following steps:

1.) Insert the following  handler into your web.config file:

...
<system.webServer>
  ...
  <handlers>
     ...
    <add name="XamlImage" path="XamlImage.axd" verb="GET" type="Albamond.XamlWebControls.XamlImageHandler" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode" />

 2.) Give full permissions to the AppPool account that the website is running under to the following folders (location may be different, depending on your configuration):

~/Xaml/Jobs
~/Xaml/Rendered

Please note that the current XamlWebControls examples are build for IIS6. Therefore you have to make changes above in your web.config to let them run with IIS7.

Tags:

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Daniel
MCSD, MCTS
Microsoft Certified Trainer
CTO, Albamond GmbH
E-mail me Send mail