Skip to main content
Skip table of contents

Could not load file or assembly 'Ias.Web' or one of its dependencies

Description

Web interface shows the following message:Could not load file or assembly 'Ias.Web' or one of its dependenciesWRN: Assembly binding logging is turned OFF.​Stack Trace:[BadImageFormatException: Could not load file or assembly 'Ias.web' or one of its dependencies.

image-20250113-163407.png

Cause

If you get this error on 64bit servers, you may have assemblies that are 32bit and your application pool will have the option "Enable 32-Bit Applications" set to False; Set this to true and restart the site to get it working.

Solution

Enable StoneAppPool and StoneAppPoolbib to use 32-bit Applications

image-20250113-163423.png

Open Command Prompt with administrator rights type "iisreset" and hit enter.
If StoneAppPool and StoneAppPoolbib suddenly stop, then check in the Event Viewer | Application the root cause.
If you see this message:
 

The Module DLL C:\Windows\system32\inetsrv\rewrite.dll failed to load. The data is the error.

follow the procedure to fix it:

  1. Uninstall URL Rewrite Module 2 from Control Panel

image-20250113-163443.png
  1. Open Internet Information Services (IIS) Manager

  2. Select Server Name 

  3. Click  "Get Web Platform Components" (Internet connection is needed)

  4. Click "Install this extension" and Install the msi package

  5. Close Internet Information Services (IIS) Manager

  6. Open Command Prompt with administrator right type "iisreset" and hit enter.

  7. Open again Internet Information Services (IIS) Manager

  8. Click "Get Web Platform Components", search "Rewrite" and Install it

  9. Open Command Prompt with administrators rights and type "iisreset" and hit enter.

  10. Try to reach web interface again.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.