
dennis_reinhardt asked a question.
Hi,
I've trouble installing FNMS 2019 R2 using a SQL Server 2017.
We've copied the .cer file to the SQL server and running the SQL script included in the zip file
- USE master;Create CERTIFICATE Flexera FROM FILE = 'C:\Temp\FlexeraCodeSigning.cer'; GO CREATE LOGIN FlexeraLogin FROM CERTIFICATE Flexera;GOGRANT UNSAFE ASSEMBLY TO FlexeraLogin;GOCREATE USER FlexeraUser FOR LOGIN FlexeraLogin;GO
Running this script without any error.
Next step is the DB migration scripts. Running the Compliance part (mgsDatabaseUpdate.exe -i ComplianceMigration.xml -nsu -dFNMSCompliance - S Server) we've got the following error:
- There was an error while attempting to run 'cm-migr1300-CompliancePreCLRInstall.sql'.An error occurred in the Microsoft .NET Framework while trying to load assembly id 65538. The server may be running out of resources, or the assembly may not be trusted. Run the query again, or check documentation to see how to solve the assembly trust issues. For more information about this error:
- Running cm-migr1300-ComplianceSchema.sql...100% Running cm-migr1300-CompliancePreCLRInstall.sql...50% There was an error while attempting to run 'cm-migr1300-CompliancePreCLRInstall.sql'. An error occurred in the Microsoft .NET Framework while trying to load assembly id 65538. The server may be running out of resources, or the assembly may not be trusted. Run the query again, or check documentation to see how to solve the assembly trust issues. For more information about this error: System.IO.FileLoadException: Could not load file or assembly 'sqlproceduresclr, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An error relating to security occurred. (Exception from HRESULT: 0x8013150A) System.IO.FileLoadException: at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString) File steps for Migration from 12.4 to 13.0 failed.Update failed at 15.01.2020 09:27:32.Check all displayed messages and log file ComplianceMigration.log for errors before proceding with FlexNet Manager Platform installation.
Could anybody please tell me how to check that the .cer stuff was activated right and how to solve this issue.
Question: Do we have to replace the "FlexeraLogin" or "FlexeraUser" with our service account?
Thanks and Best,
Dennis
I could be barking up the wrong tree here entirely, but I wonder if the following line of thinking might explain what you are seeing:
Do you now have a way to try running the database migration scripts with the database hosted on a version of SQL Server that is supported by the FNMS version you are upgrading from? I'm thinking that this may be enough to get the DB migration done, after which you can then move the DB to a SQL Server 2017 instance where it will hopefully operate successfully (since an FNMS 2019 R2 database is supported on a SQL Server 2017 instance).