C1.Z1zip

Posted by: jeremy_bergerstock on 26 June 2023, 3:05 am EST

  • Posted 26 June 2023, 3:05 am EST

    I am using C1.C1Zip in visual studio.

    It works great on my Pc.

    when I try to run the program on another PC, I get the error.

    :Could not load the file or assembly 'C1.C1Zip.4.5.2, Version4.5.20231.596 Culter = neutral, PublicKeytoekn = ******* or one of its dependencies.

    What do I need to do, so the program will run on other pC’S.

  • Posted 26 June 2023, 8:37 pm EST - Updated 26 June 2023, 8:43 pm EST

    Hi Jeremy,

    This error generally occurs when the assembly(or its dependencies) located by the .NET Assembly loader does not match the one requested by the application.

    Scenario 1

    We request you check the following on your second PC:

    1. Are ComponentOne DLLs present on the location “C:\Program Files (x86)\ComponentOne\WinForms Edition\bin\v4.5.2” in your second machine?
    2. If present, you can add a reference to the C1.C1Zip.4.5.2 DLL from the above-mentioned location manually by expanding the References node in the Solution Explorer. You can check ‘referC1Zip.gif’ to know how to refer to a DLL.

    1. Close all the Form designers of the project.
    2. Clean and Rebuild the solution.

    Scenario 2

    This issue also occurs when some of the DLLs are marked as untrusted and are blocked by the system. You can try to unblock these DLLs by going to the DLL properties and using the Unblock option. Please refer to the following blog for more information regarding this: *https://www.grapecity.com/blogs/a-step-ahead-troubleshooting-common-errors-part-i

    Scenario 3

    If none of the above approaches work for you, you can consider installing the required version of C1.C1Zip package from the nuget package manager. We have attached the references for your help. You have to search for C1.C1Zip in the browse tab and install the required version(which is 4.5.20231.596 as per the error details provided by you).

    In case you still face any issue, we request you provide us with the .licx file present in your project and the version related details of the dlls referred to by your project.

    Thanks & Regards,

    Aastha

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels