ActiveReports Upgrade from v12 to 14.2

Posted by: stacey.manske on 13 January 2021, 4:52 pm EST

    • Post Options:
    • Link

    Posted 13 January 2021, 4:52 pm EST

    We recently upgraded ActiveReports on our ASP.NET intranet site to version 14.2. The WebViewer is used frequently and there are many pages that export reports to pdf.

    Since upgrading, the IIS worker process memory usage grows and grows until it eventually restarts.

    We aren’t getting any errors testing locally or on a test server but on the production server the following error is showing up frequently in the application event log:

    Event code: 3008

    Event message: A configuration error has occurred.

    Event time: 1/13/2021 12:21:40 PM

    Event time (UTC): 1/13/2021 6:21:40 PM

    Event ID: 55f809e1787942e3bcfe4f04320a74a5

    Event sequence: 4307

    Event occurrence: 1

    Event detail code: 0

    Process information:

    Process ID: 6160

    Process name: w3wp.exe

    Account name: IIS APPPOOL\DefaultAppPool

    Exception information:

    Exception type: ConfigurationErrorsException

    Exception message: System.Web.Handlers.ScriptModule does not implement IHttpHandlerFactory or IHttpHandler.

    at System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type)

    at System.Web.Configuration.HandlerFactoryCache…ctor(String type)

    at System.Web.HttpApplication.GetFactory(String type)

    at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

    at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)

    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Request information:

    Request URL: http://intranetsite.com/api/reporting/reports/export/pdf

    Request path: /api/reporting/reports/export/pdf

    User host address:

    User: user\receiving

    Is authenticated: True

    Authentication Type: Negotiate

    Thread account name: intranet

    Thread information:

    Thread ID: 91

    Thread account name: intranet

    Is impersonating: True

    Stack trace: at System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type)

    at System.Web.Configuration.HandlerFactoryCache…ctor(String type)

    at System.Web.HttpApplication.GetFactory(String type)

    at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

    at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)

    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    In another post, I was told that httphandlers were no longer needed so they were removed from the web.config. Do I need to put them back?

  • Posted 14 January 2021, 1:34 am EST

    Hello,

    Could you please make sure that AppPool setting of the Testing server and Production server should be same. Also, could you please share the screenshot of the AppPool setting of the Production Server.

    . Do I need to put them back?

    No, You don’t need to put it back. They are not necessary in AR14.

    Thanks,

    Mohit

  • Posted 14 January 2021, 10:55 am EST - Updated 30 September 2022, 4:42 pm EST

    The AppPool settings are the same on the production and test servers. Here’s the screenshot of the production AppPool settings.

  • Posted 14 January 2021, 6:45 pm EST

  • Posted 18 January 2021, 4:37 am EST

    Hello,

    We have responded the SupportOne case. Please reply to supportone case only to avoid confusion.

    Thanks,

    Mohit

  • Posted 18 May 2021, 8:21 pm EST

    Hi was this ever resolved? We’re getting the same exact error after upgrading from Active Reports 9 to 15.

  • Posted 23 May 2021, 11:14 am EST

    Hello,

    We have responded the CRM case. Please reply to CRM case only to avoid confusion.

    Thanks,

    Mohit

  • Posted 4 September 2024, 4:37 am EST

    What was the resolution to this problem.

    We also intermittently experiencing error System.Web.Handlers.ScriptModule does not implement IHttpHandlerFactory or IHttpHandler.

    Active reports 18.1

    Err URL: http://XXXXXremovedXXXX/api/reporting/reports/export/pdf

    Exception Type: System.Configuration.ConfigurationErrorsException

    Exception: System.Web.Handlers.ScriptModule does not implement IHttpHandlerFactory or IHttpHandler.

    Source: System.Web

    Stack Trace:

    at System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type)

    at System.Web.Configuration.HandlerFactoryCache…ctor(String type)

    at System.Web.HttpApplication.GetFactory(String type)

    at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

    at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)

    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

  • Posted 5 September 2024, 3:05 am EST

    Hi Rudi,

    In ActiveReports 18, you need to add the api/reporting/* HTTP handler to your web.config file and corresponding UseReporting call to the Global.asax:

    • web.config:
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <handlers>
          <add verb="*" path="api/reporting/*" type="System.Web.Handlers.ScriptModule" name="nostaticfile" resourceType="Unspecified" preCondition="integratedMode" />
        </handlers>
    </system.webServer>
    
    • Global.asax:
    public class Global : System.Web.HttpApplication
    {
       protected void Application_Start(object sender, EventArgs e)
       {
                this.UseReporting(settings =>
                {
                    settings.UseFileStore(new DirectoryInfo(Server.MapPath("~")));
                    settings.UseCompression = true;
                });
        }
    }
    

    You may also refer to the attached sample for demonstration. Make sure to clean and build the solution, and then run it. Also, feel free to get back to us if you have any further questions. If the issue still persists at your end, we’ll request that you try providing us with your stripped-down, runnable sample application replicating the issue so that we may investigate it and assist you accordingly.

    Attachment:ARWebViewer.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels