Problembeschreibung:

Eine ASP-Anwendung wurde von einem IIS-6 auf einen IIS-7 Server umgestellt.

Die Komponenten von ComponentArt wurden daraufhin nicht mehr korrekt gerändert.

Lösung in aspx:

Beim Upgrade von IIS-6 nach IIS-7 muss die web.config angepasst werden.

 

Siehe: http://docs.componentart.com/default.aspx?content=ComponentArt.Web.UI.AJAX/WebUI_Configuring_Clientside_Scripts.htm

 

Configuring ComponentArt ScriptHandler

Since client scripts are compiled into the ComponentArt.Web.UI.dll assembly as resources, taking advantage of optimizations described above is as simple as adding a couple of entries to the application's web.config file:
  1. The first entry is a reference to the ComponentArt ScriptHandler. Because of changes with the way that HTTP Handlers are defined with IIS 7, the way the ScriptHandler is added depends on the version of IIS that the application will be running under.

    IIS 5/6

    <system.web>
    <httpHandlers>
    <add type="ComponentArt.Web.UI.ScriptHandler,ComponentArt.Web.UI" path="ComponentArtScript.axd" verb="*" />
    </httpHandlers>
    </system.web>

    For the sake of compatibility, it is often helpful to include both the IIS 5/6 method, as well as the IIS 7 one. This is possible, as long as the validation element is present, as in the following code:

    IIS 7

    <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <handlers>
    <add name="ComponentArtScriptHandler" type="ComponentArt.Web.UI.ScriptHandler,ComponentArt.Web.UI" path="ComponentArtScript.axd" verb="*" />
    </handlers>
    </system.webServer>
  2. Specify which controls are used by your app in the appSettings section:
    <appSettings>
    <add key="ComponentArtScriptControls" value="Grid,TreeView,Menu" />
    </appSettings>
    To output the entire Web.UI client script library you may set value="All" in the appSettings entry. To avoid a large initial download and load control scripts on-demand (one unified script resource per Web.UI control), set the value to "PerControl".