Skip to main content

Hi, I have an issue with a Custom Security Provider not loading since a upgrade to 4.6.11 of K2.

 

I suspect it might have to do with the assemblyregistration process that might have changed?

 

I have double chcked the following:

 

  1. Checked k2 security permissions on dll
  2. Checked that the dll is no locked.
  3. Checked that the dll is signed
  4. Insert edin AssemblyRegistration with correct public key token
  5. Changed K2HostServer.exe.config to useassemblyregistration=”true”

To no avail, as you can see from this excerpt the log files - K2 is still paying no attention to it, and only loading the default dll's:

 

"2915366","2016-07-12 11:55:08","Debug","System","1008","LoadHostableTypes","SourceCode.Hosting.Server.Runtime.HostTypeLoader.LoadHostableTypes","1008 Loading 9 DLL File(s)","system","192.168.1.94","dlx:C:Program Files (x86)K2 blackpearlHost ServerBin","2915366","023ff82b3a0f4f4cb5b10c7dfb0ee3a6",""
"2915367","2016-07-12 11:55:08","Info","System","1010","EnrollHostableType","SourceCode.Hosting.Server.Runtime.HostServerEngine.EnrollHostableType","1010 Enrolling Type : SourceCode.Hosting.SecurityProviders.SSPI","system","192.168.1.94","dlx:C:Program Files (x86)K2 blackpearlHost ServerBin","2915367","09a8add180f6446ebbe42f3c998e91d2",""
"2915368","2016-07-12 11:55:09","Info","System","1010","EnrollHostableType","SourceCode.Hosting.Server.Runtime.HostServerEngine.EnrollHostableType","1010 Enrolling Type : SourceCode.Security.Providers.AzureActiveDirectory.SecurityProvider","system","192.168.1.94","dlx:C:Program Files (x86)K2 blackpearlHost ServerBin","2915368","b1c1d7af957645d9a4fba8e793cf95b2",""
"2915369","2016-07-12 11:55:09","Info","System","1010","EnrollHostableType","SourceCode.Hosting.Server.Runtime.HostServerEngine.EnrollHostableType","1010 Enrolling Type : SourceCode.Security.Providers.CRM5Online.CRM5OnlineProvider","system","192.168.1.94","dlx:C:Program Files (x86)K2 blackpearlHost ServerBin","2915369","a33ce7a38e8c42c99b8f73a77ded19b0",""
"2915370","2016-07-12 11:55:09","Info","System","1010","EnrollHostableType","SourceCode.Hosting.Server.Runtime.HostServerEngine.EnrollHostableType","1010 Enrolling Type : SourceCode.Security.Providers.K2UMProvider.K2UMProvider","system","192.168.1.94","dlx:C:Program Files (x86)K2 blackpearlHost ServerBin","2915370","3e40f53f3d4741fc92787f7c9e6379ff",""
"2915371","2016-07-12 11:55:09","Info","System","1010","EnrollHostableType","SourceCode.Hosting.Server.Runtime.HostServerEngine.EnrollHostableType","1010 Enrolling Type : SourceCode.Security.Providers.LdapProvider.Forms.Ldap","system","192.168.1.94","dlx:C:Program Files (x86)K2 blackpearlHost ServerBin","2915371","f6a6011ba60042d981b4cae71cc9612f",""
"2915372","2016-07-12 11:55:09","Info","System","1010","EnrollHostableType","SourceCode.Hosting.Server.Runtime.HostServerEngine.EnrollHostableType","1010 Enrolling Type : SourceCode.Security.Providers.LdapProvider.Trusted.Ldap","system","192.168.1.94","dlx:C:Program Files (x86)K2 blackpearlHost ServerBin","2915372","aaf9e7a953ae4c5cb98dd009d0281f45",""
"2915373","2016-07-12 11:55:09","Info","System","1010","EnrollHostableType","SourceCode.Hosting.Server.Runtime.HostServerEngine.EnrollHostableType","1010 Enrolling Type : SourceCode.Security.Providers.SalesforceProvider.SalesforceProvider","system","192.168.1.94","dlx:C:Program Files (x86)K2 blackpearlHost ServerBin","2915373","ef64bc56342f4bda919ba15beff512d0",""
"2915374","2016-07-12 11:55:09","Info","System","1010","EnrollHostableType","SourceCode.Hosting.Server.Runtime.HostServerEngine.EnrollHostableType","1010 Enrolling Type : SourceCode.Security.Providers.SharePoint.OnlineProvider","system","192.168.1.94","dlx:C:Program Files (x86)K2 blackpearlHost ServerBin","2915374","cc8d36ccd60244d9adc7081f74fbf7c6",""
"2915375","2016-07-12 11:55:09","Info","System","1010","EnrollHostableType","SourceCode.Hosting.Server.Runtime.HostServerEngine.EnrollHostableType","1010 Enrolling Type : SourceCode.Security.Providers.SharePoint.RoleProvider","system","192.168.1.94","dlx:C:Program Files (x86)K2 blackpearlHost ServerBin","2915375","b5fd46e2324e4c528343e1faf8376d8d",""
"2915376","2016-07-12 11:55:09","Debug","System","1013","CreateHostableTypeInstance","SourceCode.Hosting.Server.Runtime.HostTypeLoader.CreateHostableTypeInstance","1013 Creating Instance: SourceCode.Security.Providers.SharePoint.OnlineProvider","system","192.168.1.94","dlx:C:Program Files (x86)K2 blackpearlHost ServerBin","2915376","e211d63bb77d41488ccd285051e352f8",""
"

 

Any help would be greatly appreciated

Be the first to reply!

Reply