C1.Win.C1List.C1List.4 - The invoked member is not supported in a dynamic assem

Posted by: Deepak.Samayamantula on 12 August 2019, 12:25 pm EST

    • Post Options:
    • Link

    Posted 12 August 2019, 12:25 pm EST

    Hi,

    i am getting error while working with C1.Win.C1List.C1List.4.

    I have the following in the license file. C1.Win.C1List.C1Combo, C1.Win.C1List.4, Version=4.1.20103.174, Culture=neutral, PublicKeyToken=6b24f8f981dbd7bc

    System.NotSupportedException: The invoked member is not supported in a dynamic assembly.

    at System.Reflection.Emit.InternalAssemblyBuilder.GetManifestResourceNames()

    at C1.Util.Licensing.SafeLicenseContext.CaseInsensitiveManifestResourceStreamLookup(Assembly satellite, String name)

    at C1.Util.Licensing.SafeLicenseContext.GetSavedLicenseKey(LicenseContext context, Type type, Assembly resAsm)

    at C1.Util.Licensing.ProviderInfo.ValidateRuntime(Type type, LicenseContext context)

    at C1.Util.Licensing.ProviderInfo.Validate(Type type, Object instance, Boolean showNagDialog)

    at C1.Win.C1List.C1List…ctor()

    at Cross.FrontOffice.Forms.frmAdjustmentReason.InitializeComponent()

    at Cross.FrontOffice.Forms.frmAdjustmentReason…ctor()

    at Cross.FrontOffice.Forms.frmFolio.Adjust()

    at Cross.FrontOffice.Forms.frmInformation.Adjust_Click(Object sender, EventArgs e)

    at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)

    at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)

    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

    at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)

    at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

    I am correct license file but still this error is reproducible. is there any fix for this.

  • Posted 13 August 2019, 5:22 am EST

    Hello,

    This problem does not occur generally. Since you are using very old version of the control, I recommend you to upgrade the control to the latest version i.e. 4.0.20192.375 and let us know if the issue still exists at your end.

    You can install the latest builds from the given links :

    https://www.grapecity.com/download/product-componentone

    http://prerelease.componentone.com/dotnet40/c1winforms/2019-t2/C1WinForms.4_4.0.20192.375.zip

    Thanks and Regards,

    Prabhat Sharma.

  • Posted 13 August 2019, 5:31 am EST

    HI,

    Thank you for reply. At the moment, i need to work in production system where i have to procure license before installing new version. is there any alternative that i can use existing C1.Win.C1List.C1List.4.0.20183

  • Posted 13 August 2019, 7:21 am EST

    Hello,

    If you are developing your application in other version and trying to run it in another version so you need to follow the below mentioned points :

    1 : Set the specific version of your controls to false from the references.

    2 : Delete the Version and PublicKeyToken information for every control from the license file.

    If it does not solve your issue, please share a stripped down sample where you are facing the issue. It will help us to narrow down the problem for you.

    Thanks and Regards,

    Prabhat Sharma.

Need extra support?

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

Learn More

Forum Channels