000017750 - Error occurs when browsing to RSA Archer GRC 5.x or 6.x: Could not load file or assembly 'GemStone.GemFire.Cache.DLL' or one of its dependencies

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Aug 5, 2017
Version 4Show Document
  • View in full screen mode

Article Content

Article Number000017750
Applies ToRSA Product Set: Archer
RSA Version/Condition: 5.X and 6.X
Issue
Server Error in '/' Application.
Could not load file or assembly 'GemStone.GemFire.Cache.DLL' or one of its dependencies. The specified module could not be found.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for
more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'GemStone.GemFire.Cache.DLL' or
one of its dependencies. The specified module could not be found.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin
and location of the exception can be identified using the exception stack trace below.

 
 

Stack Trace:
 
  
[FileNotFoundException: Could not load file or assembly 'GemStone.GemFire.Cache.DLL' or one of its dependencies. The specified module could not be found.]
   System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
   System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +210
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +242
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +17
   System.Reflection.Assembly.Load(String assemblyString) +35
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +122

  
  
    
  
[ConfigurationErrorsException: Could not load file or assembly 'GemStone.GemFire.Cache.DLL' or one of its dependencies. The specified module could not be found.]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +12845354
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +503
   System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +142
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +334
   System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +148
   System.Web.Compilation.BuildManager.ExecutePreAppStart() +172
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1151
 
[HttpException (0x80004005): Could not load file or assembly 'GemStone.GemFire.Cache.DLL' or one of its dependencies. The specified module could not be found.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12966756
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12806561

  
CauseThis error most commonly occurs after installing or upgrading Archer.  Possible causes include an error during installation, or inadequate permissions for the account running the Archer application pool and services.
ResolutionTROUBLESHOOTING
A. TOGGLE THE CUSTOM ERRORS SETTING IN THE WEB CONFIG FILE

  1. Open Archer's web.config file and find the following line:
<customErrors mode="On" defaultRedirect="error.aspx" />

  1. Change it to:
<customErrors mode="Off" defaultRedirect="error.aspx" />

  1. Open a command prompt and execute the command IISRESET
  2. Open the web.config file again and change it back to:
<customErrors mode="On" defaultRedirect="error.aspx" />

  1. IISRESET
B. REBOOT THE SERVER
Errors of type 'FileNotFoundException' that occur after upgrading Archer may be caused by old versions of files cached on the server.  Reboot the server and try loading the Archer site again.
C. CHECK THE WEB.CONFIG FILE AUTHENTICATION AND SECURITY SETTINGS
Confirm that the web.config file settings for authentication (Windows Authentication or anonymous) are correct. 
If you have another web server running the same Archer version that is working correctly, copy the web.config file from there and paste into the server that is generating the error.
If not, refer to the Archer Control Panel Help  > Instance Configuration Settings > Configuring an Instance for Single Sign-On > Modifying the web.config File.  See the appropriate section for configuring the web.config:

  • Windows Integrated SSO only
  • Windows Integrated SSO with SSL
  • SSL Only
D. CHECK PERMISSIONS FOR THE ACCOUNT RUNNING THE ARCHER APPLICATION POOL AND SERVICES
A 'FileNotFoundException' can occur if the application does not have proper access rights. Make sure that the service account has access to

  • SYSTEMDRIVE%\Program Files\RSA Archer
  • SYSTEMDRIVE%\Inetpub\wwwroot\(Archer virtual directory, if used)
  • SYSTEMDRIVE%\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files
E. CLEAR THE ASP.NET TEMPORARY FILES
  •  Here is an example path to the files that need to be deleted C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files
F. ADD THE BELOW LOCATION TO THE PATH ENVIRONMENT VARIABLE
  • Advanced System Settings -> Environment Variables - > add the following location to the Path variable C:\Program Files\RSA Archer\Pivotal_GemFire_NativeClient_64bit_####\bin. Make sure you update the version of the GemFire client to match your environment.
G. IISRESET
Legacy Article IDa66744

Attachments

    Outcomes