Archive for May, 2009
Resolving “Could not load file or assembly ‘FluorineFx’ or one of its dependencies.”
Problem:
Could not load file or assembly ‘FluorineFx’ 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: 0×80131045)
Description:
This issue isn’t a problem inherent to the FluorineFx package, but is caused by any libraries that use signing. If an assembly that uses signing is requested, IIS checks against the GAC to make sure it has record of the assemblies “Public Key Token”. This is used so IIS can serve different versions of the same assembly across different applications.
Solution
(1) Install the .NET Framework 2.0 Software Development Kit if it is not already.
http://www.microsoft.com/downloads/details.aspx?FamilyID=fe6f2099-b7b4-4f47-a244-c96d69c35dec&DisplayLang=en
NOTE: This installation does NOT require a restart.
(2) Install the appropriate version of the FluorineFx package OR whichever library that is causing the issue.
(3) Go to Control Panel > Administrative Tools > .NET Framework 2.0 Configuration > “Manage the Assembly Cache” > “View List of Assemblies in the Assembly Cache”.
(4) Right-click “Assembly Cache” in the left column and select “Add…”.
(5) Browse to the newly installed DLL. If you try to reference the DLL that is in your application you may run into issues.
In the case of FluorineFx, the default path is “C:\Program Files\FluorineFx\Bin\net\3.5\FluorineFx.dll”
With the DLL added to the GAC you should be good to go!
No comments