Intersoft Support Center

Configure Intersoft Products to Run in IIS7 Environment

This topic provides a step-by-step instruction on how to configure Web Site to run in IIS7 environment.

To run Web Site in IIS7 Environment

  1. Open Visual Studio 2010 application.
  2. Create a new Web Site and set Web location to HTTP.
  3. Drag an Intersoft control to the WebForm, e.g: WebGrid.
  4. Right-click on WebGrid control and select Register SmartWebResources™.
  5. Bind WebGrid to AccessDataSource control.
  6. When you run the project, it will show you an error indicating that your Web Site is not runable in IIS7.
  7. Open Web.config and add the following code in <system.webServer>:
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <handlers>
          <add name="ISChart.axd_GET, POST" path="ISChart.axd" verb="GET, POST" type="ISNet.WebUI.WebGrid.Chart.ChartRequestHandler, ISNet.WebUI.WebGrid" preCondition="integratedMode"/>
          <add name="ISRes.axd_GET" path="ISRes.axd" verb="GET" type="ISNet.WebUI.WebResourceHandler, ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" preCondition="integratedMode"/>
        </handlers>
    </system.webServer>
    
    To run WebGrid in IIS7 environment, you only need ISChart.axd and ISRes.axd. However, to run all Intersoft products, you are required to add several addition such as ISCoverFlow.axd, ISScheduler.axd, WebFileUploaderHttpHandler.axd and WebFileUploaderHttpModule.


    The web.config will look like following:

    <system.webServer>
       <validation validateIntegratedModeConfiguration="false"/>
       <handlers>
          <add name="ISCoverFlow.axd_GET" path="ISCoverFlow.axd" verb="GET" type="ISNet.WebUI.Silverlight.WebAqua.WebCoverFlowRequestHandler, ISNet.WebUI.Silverlight.WebAqua" preCondition="integratedMode"/>
          <add name="ISChart.axd_GET, POST" path="ISChart.axd" verb="GET, POST" type="ISNet.WebUI.WebGrid.Chart.ChartRequestHandler, ISNet.WebUI.WebGrid" preCondition="integratedMode"/>
          <add name="ISRes.axd_GET" path="ISRes.axd" verb="GET" type="ISNet.WebUI.WebResourceHandler, ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" preCondition="integratedMode"/>
          <add name="WebFileUploaderHttpHandler.axd_GET" path="WebFileUploaderHttpHandler.axd" verb="GET" type="ISNet.WebUI.WebTextEditor.WebFileUploaderHttpHandler, ISNet.WebUI.WebTextEditor" preCondition="integratedMode"/>
          <add name="ISScheduler.axd_GET" path="ISScheduler.axd" verb="GET" type="ISNet.WebUI.WebScheduler.WebSchedulerRequestHandler, ISNet.WebUI.WebScheduler" preCondition="integratedMode"/>
       </handlers>
       <modules>
          <add name="WebFileUploaderHttpModule_GET" preCondition="managedHandler" type="ISNet.WebUI.WebTextEditor.WebFileUploaderHttpModule, ISNet.WebUI.WebTextEditor" />
       </modules>
    </system.webServer>                                        
    
  8. Save and run the project. Now, you can run Intersoft products in IIS7 environment.

WebUI Studio for ASP.NET

WebUI Studio for Silverlight

Mobile Studio

Previous Next