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.
- Uninstall and reinstall the application
- Reboot
- Check if the referenced DLL is missing or not
- Verify correct IIS settings enabled
- Windows updates are up to date
- Reset IIS
- at command line prompt running as administrator: IISReset
- Dependency Walker
- Fuslogvw
- Process Monitor
- Filters:
- Process Name = w3wp.exe
- Path ends with <name of dll>
- Helpful article
- Filters:
- Security Policies for application pool user and machine
- Local Security Policy
- gpresult /s localhost /z
- Memory and processor available
Related articles