Skip to main content


 

Symptoms

 


Try to install K2 smartforms version 1.0.7 on a test environment and receive errors below.

Error message- 
The following exception occurred: 
An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information., Could not load file or assembly 'file:///F:K2InstallationK2 Installation Package (20140807)K2 Installation Package (20140807)2 K2 smartforms 1.0.7 (4.12165.1635.0)InstallationLicensingx64SourceCode.HostServerInterfaces.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
StackTrace: at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMarkand stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMarkand stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMarkand stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, ByteB] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMarkand stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at SourceCode.Install.Common.Classes.SC_Licensing.GetLicenseAssembly()
at SourceCode.Install.Common.Classes.SC_Licensing.Load(String sPath)
at SourceCode.SetupManager.Panels.LicensePanel.SetValues()
at SourceCode.SetupManager.Panels.LicensePanel.PanelActivate()
at SourceCode.SetupManager.Main.navigateNext() 
 

 

 

 

Diagnoses

 

n/a
 

 

 

 

Resolution 
Few of the installation DLL's were blocked. To unblock them, we navigated to K2 install media file, opened properties and clicked the "unblock" button. Once that was done the installer was able to complete without any issues.



 
Be the first to reply!

Reply