I have a web application developed in ASP NET, I am using DevExpress 19.2 for UI. I'm using Visual Studio 2019.
My problem is the following, when I publish the web application on an iis server at the time I will open I have this ERROR message:
Could not load file or assembly 'DevExpress.Data.v19.2' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
Thank's!
Tahir AnsariPosted Sep 19, 2023, 5:51 AM
1. Check DevExpress Version: Ensure that you are using the correct version of DevExpress (v19.2) in your project and that all DevExpress components are up to date. DevExpress assemblies should be consistent in version across your entire project.
2. Check for Strong Name Signing: Verify that the DevExpress assembly you are using is strong-name signed. DevExpress should provide signed assemblies, but if you have a custom build or obtained the assembly from an unofficial source, it might not be signed correctly.
3. Verify Permissions: Make sure that the IIS application pool identity running your web application has sufficient permissions to access the DevExpress assembly and its dependencies. Set appropriate file system permissions if necessary.
4. Check Assembly References: In your ASP.NET project, check the references to DevExpress assemblies. Ensure that the version and strong name signature match the DevExpress assembly you are using.
5. Rebuild and Republish: Rebuild your ASP.NET project and republish it to the IIS server. Sometimes, issues like this can be resolved by simply cleaning, rebuilding, and republishing the project.
6. Use GAC: You can consider installing the DevExpress assembly into the Global Assembly Cache (GAC) if it's not already there. This can help ensure that the correct version of the assembly is used and avoid version conflicts.
7. Check Assembly Versions: If you have multiple versions of DevExpress assemblies in your project or on your server, ensure that there are no conflicts between different versions. Delete any old or unnecessary assemblies.
8. Check DevExpress Documentation: Check DevExpress documentation or contact DevExpress support for specific guidance on resolving strong name signature issues with their assemblies. They may have recommendations or updates related to this.
9. Digital Signatures: If you are developing your own DevExpress controls or extensions, ensure that they are properly signed with a strong name using a legitimate private key.
10. Debugging: If the issue persists, use debugging tools like Fusion Log Viewer to get detailed information about assembly loading issues. This can help pinpoint the problem.
Cr BhargaviPosted Sep 20, 2023, 9:58 AM
Ensure that the DevExpress assemblies are signed with a strong name key. DevExpress assemblies should be strong-named assemblies. If the assembly is not strong-named, it can cause this error.
Florindo BragancaPosted Sep 20, 2023, 9:02 AM
thank you friend managed to solve my problem.
5-R: I rebuilt the ASP.NET project and republished it to the IIS server and it really worked.
Thank you for all...