Start a conversation

Resolving "Object not set to an instance of an Object" Error During Evoq Upgrade

Overview

The error "Object not set to an instance of an Object" occurs during the upgrade from Evoq 9.13.9 to 9.13.10 due to a version mismatch of System.Collections.Immutable.dll. This DLL was introduced as a transient dependency for security patches. Updating the web.config binding redirect to match the DLL version (9.0.0.1) resolves the issue.

Solution

Follow these steps to resolve the error:

  1. Verify DLL Versions:
    • In your /bin folder, confirm that:
      • System.Runtime.CompilerServices.Unsafe.dll is version 6.0.21.52210
      • System.Collections.Immutable.dll is version 9.0.124.61010
  2. Update web.config Binding Redirects:
    • Open your web.config file and locate the section: configuration > runtime > assemblyBinding
    • Add or update the following entries:
      <dependentAssembly>
        <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-9.0.0.1" newVersion="9.0.0.1" />
      </dependentAssembly>
  3. Restart and Test:
    • Restart your application in IIS
    • Complete the upgrade through the Upgrade Wizard
    • Test your site functionality

Important Considerations:

  • The version of System.Collections.Immutable.dll does not directly affect the security patch; Evoq's main security upgrades are applied elsewhere.
  • Ensure all DLLs that depend on System.Collections.Immutable.dll are compatible with the deployed version.

If you encounter any issues following these steps or need further assistance, please contact support.

Frequently Asked Questions

1. How do I know if this error applies to my situation?
You'll encounter the error "Object not set to an instance of an Object" during the upgrade from Evoq 9.13.9 to 9.13.10, indicating a version mismatch with System.Collections.Immutable.dll.
2. Is it safe to revert the DLL version?
Yes, reverting the DLL version should not compromise security, but it's recommended to update the web.config binding redirect to match the DLL version for full compatibility.
3. What if the error persists after updating the web.config?
Ensure all related DLLs are compatible with the new version and that the web.config changes are correctly applied. If issues persist, contact support for further assistance.
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments