000029278 - Archer: Unexpected error in iView under Administration Workspace after Upgrade to 5.5 SP2

Document created by RSA Customer Support Employee on Jun 15, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000029278
Applies ToRSA Product Set: Archer
RSA Product/Service Type: Archer
RSA Version/Condition: 5.5 SP2
Platform: Other
Platform (Other): .
O/S Version: null
Product Name: null
Product Description: null
IssueThis issue occurred after to upgrade the Archer 5.5 SP2 from Archer 5.5 SP1.
Select  Administration Workspaces and then goto Navigation Menu.
Click on Administration Workspaces, it shows up unexpected errors on iViews under the dashboard.
Click on the Manage iView, it came up a dialog of "Exception Occurred"
 
User-added image
Refer to Reference log ID of the unexpected error from iView, the details of the error would be found as following:

<ApplicationData>
        <TraceData>
            <DataItem>
                <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
                    <TraceIdentifier>Archer.Web</TraceIdentifier>
                    <LogReferenceId>121914-162822-0195</LogReferenceId>
                    <Description>c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\rsaarcher\456597e2\71469fbe\App_Web_accesscontrolreportcontroller.ascx.a0ccdfc9.sb6nprcy.0.cs(171): error CS0433: The type 'DevExpress.XtraReports.Web.ReportViewerClientSideEvents' exists in both 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\rsaarcher\456597e2\71469fbe\assembly\dl3\a418044c\127e68f2_46c7cf01\DevExpress.XtraReports.v13.2.Web.DLL' and 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\rsaarcher\456597e2\71469fbe\assembly\dl3\584b7531\f75b2b7a_6a7ecf01\DevExpress.XtraReports.v12.1.Web.DLL'</Description>
                    <AppDomain>/LM/W3SVC/1/ROOT/RSAarcher-1-130634799250117188</AppDomain>
                    <ContextData>
                        <BaseUrl>https://amos-archer.srv.allianz/RSAarcher/Administration/Reports/Report.aspx</BaseUrl>
                        <pageId>SecurityEventReport</pageId>
                        <IsRenderInsideIview>true</IsRenderInsideIview>
                        <allowScrolling>true</allowScrolling>
                        <CacheStatus>invalid</CacheStatus>
                        <fw>1687</fw>
                        <fh>251</fh>
                    </ContextData>
                    <Exception>
                        <ExceptionType>System.Web.HttpCompileException, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</ExceptionType>
                        <Message>c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\rsaarcher\456597e2\71469fbe\App_Web_accesscontrolreportcontroller.ascx.a0ccdfc9.sb6nprcy.0.cs(171): error CS0433: The type 'DevExpress.XtraReports.Web.ReportViewerClientSideEvents' exists in both 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\rsaarcher\456597e2\71469fbe\assembly\dl3\a418044c\127e68f2_46c7cf01\DevExpress.XtraReports.v13.2.Web.DLL' and 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\rsaarcher\456597e2\71469fbe\assembly\dl3\584b7531\f75b2b7a_6a7ecf01\DevExpress.XtraReports.v12.1.Web.DLL'</Message>
                        <Source>System.Web</Source>
                        <StackTrace>   at System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
   at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
   at Security2000.Administration.Reports.Report.GetAccessControlReport()
   at Security2000.Administration.Reports.Report.Page_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at ArcherTech.Web.ArcherTechPage`2.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ArcherTech.Web.ArcherTechPage`2.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)</StackTrace>
                    </Exception>
                </TraceRecord>
            </DataItem>
        </TraceData>
    </ApplicationData>
You would see two different version number of DevExpress, V12.1 and V 13.2.

 
CauseThis issue is caused by the Archer 5.5 SP2 installer could not remove the old DevExpress v12.1 files and then causing Access Control Reports to fail.
It is because usually the DevExpress v12.1 files were being cleaned up in the cleanup.5.5.1.xml file instead of the cleanup.5.5.2.xml files. Fixed this issue and also changed the code so the cleanup xml file is being executed for the current version on every install. Prior to this change the cleanup file was only being run the first time the installer upgraded. The problem was that if the cleanup did not run for some reason on the first install there was no way to run it for subsequence installs of the same version.
ResolutionIn this case, the DevExpress v12.1 files need to be removed by manually.
Please see the step to remove the DevExpress v12.1 files from \bin folder.
1. Open a Windows Explorer
2. Goto c:\inetpub\wwwroot\RSAArcher\bin
3.  Delete all the DevExpress v12.1 files, e.g. DevExpress.Charts.v12.1.Core.dll, DevExpress.Utils.v12.1.dll etc.
4.  Do not remove any DevExpress v13.2 files.
5. Goto Archer UI and then logout and login again.
The iView should be working fine under the Administration Workspace.

Attachments

    Outcomes