web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Server Error in '/ReportServer' Application

(0) ShareShare
ReportReport
Posted on by 1,032

Hi All

I have create new Microsoft Dynamics AX 2012 Configuration through Utility and then Refresh WCF Services. Now when I checked Reporting Server URL its says Configuration Error

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Microsoft.Dynamics.Framework.ReportsExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (E:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\web.config line 38)

Source Error:

Line 36:       <add name="Profile" type="System.Web.Profile.ProfileModule" />

Line 37:       <add name="ErrorHandlerModule" type="System.Web.Mobile.ErrorHandlerModule, System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

Line 38:       <add name="AxReportsHttpModule" type="Microsoft.Dynamics.Framework.Reports.AxReportsHttpModule,Microsoft.Dynamics.Framework.ReportsExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

Line 39:     </httpModules>

Line 40:     <globalization requestEncoding="utf-8" responseEncoding="utf-8" />

Source File: E:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\web.config    Line: 38

Have I missed some thing or what .......

Regards,

Akhwand Usman

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Tommy Skaue Profile Picture
    Moderator on at
    RE: Server Error in '/ReportServer' Application

    Is this AX2012 R2?

    The reference to the dll above seems to be pointing at the RTM version (6.0.0.0), and if you are running R2, the correct reference would be (6.2.0.0).

    Easy fix is to change the web.config with the correct version and restart the SSRS instance.

  • Akhwand Usman Profile Picture
    1,032 on at
    RE: Server Error in '/ReportServer' Application

    Thank Tommy

    I reinstalled reporting extension and re-deployed all reports. The only issue I am having now is that I have to change each report for Windows integrated option. Any suggestion for that to do it in one go.

    Regards,

    Akhwand Usman

  • Tommy Skaue Profile Picture
    Moderator on at
    RE: Server Error in '/ReportServer' Application

    The only feasible way I've found is to delete the reports and redeploy them.

    What version of SSRS are you running?

  • Akhwand Usman Profile Picture
    1,032 on at
    RE: Server Error in '/ReportServer' Application

    Hmmm...........

    Version is

    Microsoft SQL Server Reporting Services Version 10.50.4000.0

  • Tommy Skaue Profile Picture
    Moderator on at
    RE: Server Error in '/ReportServer' Application

    Here is a script to delete the reports. After they are deleted, you can redeploy the reports. There might be a better way, but I would have to study some more.

    Run this PowerShell on the server running SSRS in Administrator mode.

    [string]   $serviceName = "ReportService2010"; #This works for SQL 2008 R2
    [string]   $uri = "myserver:88/.../"; 
    
     
    Clear-Host; 
    # Create proxy to connect the SSRS web service. 
    $rs = New-WebServiceProxy -Uri "$uri$serviceName`.asmx?WSDL" -UseDefaultCredential -namespace $serviceName -class Reporting; 
     
    Write-Host ((Get-Date -format yyyy-MM-dd_HH:mm:ss) + ": Starting ..."); 
    # Print the main server information 
    Write-Host "SSRS Version: " $rs.ServerInfoHeaderValue.ReportServerVersionNumber; 
    Write-Host "SSRS Edition: " $rs.ServerInfoHeaderValue.ReportServerEdition; 
    Write-Host; 
     
    [int]  $count = 0; 
    
    # Get all children in and below the choosen root folder. 
    $reports = $rs.ListChildren("/", $true); 
    foreach ($report in $reports | Where-Object { $_.Path -match "/DynamicsAX/" }) 
    { 
        Write-Host "Report: " $report.Path;
        $rs.DeleteItem($report.Path);
        $count +=1;      
    } 
     
    $rs.Dispose(); 
    Write-Host; 
    Write-Host ((Get-Date -format yyyy-MM-dd_HH:mm:ss) + ": Finished"); 
    Write-Host "Total reports deleted: " $count; 
    
  • Akhwand Usman Profile Picture
    1,032 on at
    RE: Server Error in '/ReportServer' Application

    Shouldn't deleting "DynamicsAX" folder from reporting server will have effect instead of run this PS Script?

  • Tommy Skaue Profile Picture
    Moderator on at
    RE: Server Error in '/ReportServer' Application

    Try delete the folder, and you'll see why I wrote this script. ;-)

  • Akhwand Usman Profile Picture
    1,032 on at
    RE: Server Error in '/ReportServer' Application

    I tried and it was deleted :) Now re-deploying.  I thought I would get an error It wont be delete but .............

    Will tell you if some thing is changed after re-deploying.

  • Tommy Skaue Profile Picture
    Moderator on at
    RE: Server Error in '/ReportServer' Application

    Yea, you're right. It actually works to delete the folder and have the reports be deleted cascade.

    The reason I wrote that script was due to a timeout error I received when I had to do the same. The timeout aborted the entire operation, so no reports were deleted when I tried. So I ended up with making this powershell script to delete all the reports one-by-one.

    So if it works to delete the entire folder in one operation, *thumbs up*.

    If not, use my script ;-)

  • Akhwand Usman Profile Picture
    1,032 on at
    RE: Server Error in '/ReportServer' Application

    And at last re-deployment worked as Swiss Clock.

    Thanks Tommy for an active support.

    Regards,

    Akhwand Usman

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#1
Community Member Profile Picture

Community Member 4

#3
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans