Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Problem

The web application is inaccessible and the Windows error log shows this or a similar ASP.NET error.

[FileLoadException: Could not load file or assembly '<dll name>, Version=#.#.#.#, Culture=neutral, PublicKeyToken=' or one of its dependencies. Unverifiable code failed policy check. (Exception from HRESULT: 0x80131402)]

Solution

Tools for identifying the reason for this error.

  1. Uninstall and reinstall the application
  2. Reboot
  3. Check if the referenced DLL is missing or not
  4. Verify correct IIS settings enabled
  5. Windows updates are up to date
  6. Reset IIS
    1. at command line prompt running as administrator: IISReset
  7. Dependency Walker
  8. Fuslogvw
  9. Process Monitor
    1. Filters:
      1. Process Name = w3wp.exe
      2. Path ends with <name of dll>
    2. Helpful article
  10. Security Policies for application pool user and machine
    1. Local Security Policy
    2. gpresult /s localhost /z
  11. check memory and processor availability
  12. Process Explorer - use on a machine that works to see the dependencies for the failing DLL
    1. View > Select columns > Process Image > User Name
    2. View > Select columns > .NET > Assemblies
    3. Select w3wp.exe process > right click > Properties > .NET Assemblies



  • No labels